Search:

Type: Posts; User: Click_here

Search: Search took 0.03 seconds.

  1. Replies
    8
    Views
    4,906

    I forgot to mention that the 'c' at the end is...

    I forgot to mention that the 'c' at the end is because we are reading a character - You can do it with any scanf friendly data-type.

    See Format Specification Fields: scanf and wscanf Functions for...
  2. Replies
    8
    Views
    4,906

    Another way of getting rid of the '\n' character...

    Another way of getting rid of the '\n' character is by asking the scanf to read a character and do nothing with it -> this is done by using the '*' after the %.

    i.e.


    puts("Enter Two...
Results 1 to 2 of 2