Search:

Type: Posts; User: std10093

Search: Search took 0.02 seconds.

  1. Thread: Validation

    by std10093
    Replies
    5
    Views
    2,062

    Maybe i wasn't clear enough.Sorry for that :/ ...

    Maybe i wasn't clear enough.Sorry for that :/

    First the input matter.
    Assume that i want to read two user's inputs..First input,then print ,then input again and then print again..So i have to...
  2. Thread: Validation

    by std10093
    Replies
    5
    Views
    2,062

    Consider this simple example. int x;...

    Consider this simple example.


    int x;
    scanf("%d",&x);

    I press a number and then i hit enter.So now the buffer of the stdin has the number and the newline character.scanf will read the number...
Results 1 to 2 of 2