Search:

Type: Posts; User: wang8442

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,481

    a question about file output

    here is my code:


    #include<stdlib.h>
    #include<stdio.h>

    #define MaxString 10

    void
    Read(FILE *fpin,char *s) /* read characters in input file */
  2. Replies
    7
    Views
    1,299

    interesting~~i like it

    interesting~~i like it
  3. Replies
    10
    Views
    1,514

    oh yeah,i have solved it~~~ the key point is in...

    oh yeah,i have solved it~~~
    the key point is in the input file, i forgot a Enter at the end of this file,this small carelessness
    make such a "big" problem~~it's all due to the Read() function,for...
  4. Replies
    7
    Views
    1,299

    thx to everyone~~~:)

    thx to everyone~~~:)
  5. Replies
    10
    Views
    1,514

    i have remove the free() call and modify the code...

    i have remove the free() call and modify the code like Salem's suggestion,but the result
    seems the same:(
  6. Replies
    10
    Views
    1,514

    can you explain a bit more??? for i am a...

    can you explain a bit more???
    for i am a beginner here~~~
    i think the key point here is why it doesnot display
    all the numbers,for i have pass all the numbers in the input.txt
    to array...
  7. Replies
    7
    Views
    1,299

    Help~~how to display a random sequence

    How to display a random sequence numbers in the range
    1 - 1000 , every number should be displayed once and no repetition~~~
    thx~~~
  8. Replies
    10
    Views
    1,514

    a strange result,could anyone help me?

    My goal is to read a input.txt file(a sorted sequence numbers in the range 1-1000),and then write these numbers into a new
    generated file called output.txt,but the result i excuted on my
    pc is...
Results 1 to 8 of 8