Search:

Type: Posts; User: meltingdude

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    852

    newbie question

    I have an exam on C coming up and one of the past papers has the following question:

    we have this loop :




    for( i = 0; i < 127 && (c=getchar()) != '\n'; i++)
    s[i] = c ;
  2. Replies
    2
    Views
    3,127

    format specifiers quick question

    Can someone please tell me what the following format specifier does exactly? I understand what the specifiers in general mean, and how to use them , but I have never seen this one before
    ...
  3. Replies
    2
    Views
    930

    java input help

    I'll get straight to the point.


    I have the following procedure:




    public static String readLine (String prompt) {
    System.out.print( prompt );
  4. Replies
    1
    Views
    1,512

    never mind ppl..... i figured it out lol ....

    never mind ppl.....


    i figured it out lol ....
  5. Replies
    1
    Views
    1,512

    quick question: File Input

    Hi,

    Im a little new to the C language and could use some help.

    I understand that gets( ) can be used to read a line of input from stdin, as can sscanf etc

    and I understand that fscanf can be...
Results 1 to 5 of 5