ahh . thank you guys!
Type: Posts; User: psukphranee
ahh . thank you guys!
I am having trouble understanding how these macros I see in header files work. I looked back into my texts and understand basic macro operations but I do not understand this.
I understand line 8:...
Below is the code to my craps game, Im using enumeration constants for game status to determine whether to continue or not.
The Problem: After Crapping Out, the enumeration gameStatus evaluated...
Ok, I fixed the compilation errors, mine compiled with Borland C++ and MSVC++. Same issue as above, prices that are double precision give jibberish afterwads. but single precision dont.
...
So my inventory program runs fine as far as I can tell. Except when entering "Amounts" with more that 1-precision . ie
Amount Entered : 25.99 // Problem
Amount Entered : 25.9 // No Problem
...
That compiler warning is from the function not giving a return value outside the conditional statement. I used two different compilers and that is what the warnings told me. MS Visuall C++ and...
I am trying to create a program that reads text and right justifies it. I am in the first phase of the program where I take from the input buffer and write to the output buffer and connect broken...
Responding to second >,
I did some scratchwork where i printed the character and integer value of those statements and they come out fine
So I am writing a program that counts the letters of 3 lines of input from the user. I am using a 3 x 80 character array as the "notepad".
Upper and lower case characters are incremented on the same...
Thank You. You are right, it does crash SOMETIMES.
So I am doing a problem from C How To Program 7th Edition by Deitel. The problem is 8.10 for those who might have access to the book.
In a nutshell, I am comparing strings up to n characters. The...