Search:

Type: Posts; User: Epy

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,933

    Yeah, when using certain characters within a...

    Yeah, when using certain characters within a string in C, you need to "escape" them, i.e.



    printf("\nThe sum is \"%d\"", sum);
  2. Replies
    4
    Views
    2,933

    You're missing semicolons at the end of certain...

    You're missing semicolons at the end of certain lines, and main() needs a type, namely int. As such, main() needs to return an int, 0 if successful.
Results 1 to 2 of 2