Search:

Type: Posts; User: psukphranee

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,217

    ahh . thank you guys!

    ahh . thank you guys!
  2. Replies
    3
    Views
    1,217

    Header File Macros

    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:...
  3. Craps Game, possibly logical error with enumeration constant

    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...
  4. Ok, I fixed the compilation errors, mine compiled...

    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.


    ...
  5. Inventory Program: Issue when entering amounts

    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
    ...
  6. That compiler warning is from the function not...

    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...
  7. If structure evaluates twice (ODD BEHAVIOR)

    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...
  8. Responding to second >, I did some scratchwork...

    Responding to second >,

    I did some scratchwork where i printed the character and integer value of those statements and they come out fine
  9. Character Counting Program. Crashes at the End.

    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...
  10. Replies
    2
    Views
    794

    Thank You. You are right, it does crash SOMETIMES.

    Thank You. You are right, it does crash SOMETIMES.
  11. Replies
    2
    Views
    794

    Mysterious Crash

    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...
Results 1 to 11 of 11