User profile: pnoid

User info
User name:pnoid
History
Joined:
Number of posts:80
Latest posts:

wait for a keyboard input without breaking the loop
I am guessing you are trying to do a snake game in the console? I am not sure how to do this without...

Strangest Programming glitches
I was working on this one project where I was working on the front end and another guy was doing the...

Sum of cubes giving wrong answer?
I have no idea. I ran it visual studio and it worked fine.

Sum of cubes giving wrong answer?
Your code worked for me. I used 6, 7, 8, 9, and 10 for N and it was right every time.

printf question
[code]printf("%5.1f", var);[/code] This tells the compiler to reserve 5 spaces for a floating point...