Search:

Type: Posts; User: Mahesh Herle B

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    5,927

    Thanx for the guidance, to WaltP and Salem. I...

    Thanx for the guidance, to WaltP and Salem.

    I think, at least, my second option is correct. As that will cause all
    the white spaces ( blank space, carriage return, tab, etc ) to be ignored. I...
  2. Replies
    12
    Views
    19,031

    Try this... temp=100; do{ ...

    Try this...


    temp=100;
    do{

    printf("Please enter the temperture:\n");
    int_var = scanf("%d", &temp);

    if (int_var==0)
  3. Replies
    46
    Views
    16,515

    Ghulam [ Ever heard of it? ]

    Ghulam

    [ Ever heard of it? ]
  4. Replies
    12
    Views
    19,031

    The scanf() function returns the number of values...

    The scanf() function returns the number of values assigned to the the given addresses (the ones that comesafter the control string.).For example, if you have
    scanf ("%d %d",&x,&y) where x and y are...
  5. Replies
    8
    Views
    5,927

    if the program prints the message to read in a...

    if the program prints the message to read in a character n then doesn't wait for u to enter character then ,try this.
    1>
    before using scanf() to read 'quit' ,insert this line
    fflush(stdin);...
  6. Replies
    8
    Views
    5,927

    if the program prints the message to read in a...

    if the program prints the message to read in a character n then doesn't wait for u to enter character then ,try this.
    1>
    before using scanf() to read 'quit' ,insert this line
    fflush(stdin);
    ...
Results 1 to 6 of 6