[2 / 1 / ?]
Quoted By:
Hi /g/, I'm very new to code and if you guys could help explain why a bug is happening I'd be really grateful.
http://pastebin.com/ubdvQMc9
http://pastebin.com/6WRHi0m8
The first part is my code and the second is the input file. So when I first made the code I got the array bits right and I checked it by using cout. I finished everything else and now it only outputs the number 71. I had no clue why and then I messed with it. I deleted ABSOLUTELY EVERYTHING within int main(){} and it still output 71. Is there a way to fix my C++ program?
http://pastebin.com/ubdvQMc9
http://pastebin.com/6WRHi0m8
The first part is my code and the second is the input file. So when I first made the code I got the array bits right and I checked it by using cout. I finished everything else and now it only outputs the number 71. I had no clue why and then I messed with it. I deleted ABSOLUTELY EVERYTHING within int main(){} and it still output 71. Is there a way to fix my C++ program?
