Actually, what makes you think somebody here will make your assignments? A better way would be to give it a try yourself first and tell us the...
Okay.
Sucker...
Thanks for taking the time to make the C++ example. About the abstractions and the optimizations of the compiler, I was lately looking into the...
Well heres my idea and how I've implemented it now: I first read the highscores file (using fread()), then decrypt it (using a custom...
C++ But please tell me in which way your solution (i.e. if you're going to give one) in C++ differs from C.
I was calculating the checksum manually. I'm writing a Tetris clone and I was adding highscores, the highscores file needed some encryption to...
The checksum is stored in 4 bytes at the end of a file. The "p_" stands for "parameter" to indicate it's a parameter from a function's sight. It...
Oh I'm sorry I was looking at the wrong line (been coding too long of course!). Actually the warning was about another line so that's why...
Say I have these two lines: /* verify that the checksum matches */ if (l_iChecksum == p_lpszFileData[l_iDataSize])...
I tried the following to cast the division result: /* increase gravity */ if((int)(1000/60) /* 60 Hz */ >...
Yes I understand it. However, I have already tried to cast the result of the division as 'int' and it didn't work. Could you show me the correct...
For example I have this code: /* increase gravity */ if((1000/60) /* 60 Hz */ > m_iGravity) {...
Separate names with a comma.