Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void next() {
- int i = 0;
- int c = 1;
- while (c != 0) {
- if (a[i] == 1) {
- a[i] = 0;
- } else {
- a[i] = 1;
- c = 0;
- }
- i++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement