Search:

Type: Posts; User: hth373737

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    3,926

    You should try out yourself, here is now a place...

    You should try out yourself, here is now a place for homework. Read the sticked post,plz
  2. the compiler can only tell the TRUE or FALSE...

    the compiler can only tell the TRUE or FALSE ,right?

    I never know about the Falure.

    why if cin>> line is in the block,also, cause the strange result?

    thanks
  3. what is the terminate condition of that while...

    what is the terminate condition of that while statement?

    how that happen?

    why if i add that fin>> line twice, number 1 and 3 group are to be eaten?

    confusing
  4. Ye,,, that is it. but could you explain why...

    Ye,,,

    that is it.

    but could you explain why this happen? how the statement work?

    i cannot understand that statement, as well as the FAQ

    Thanks!
  5. i hope it works and reger to the FAQ, i still...

    i hope it works and reger to the FAQ,

    i still not understand why for this case now work well
  6. 2,5 4,9 5,11 Here is the new result, still...

    2,5
    4,9
    5,11


    Here is the new result, still ....not right
  7. read from file to array. about fin.eof() \n EOF...

    source file:
    1,2
    2,5
    3,7
    4,9
    5,11
  8. Replies
    2
    Views
    1,226

    Got it,thanks! it is in C

    Got it,thanks! it is in C
  9. Replies
    2
    Views
    1,226

    ""bus Error""

    it is a project with head files and source files. codes are compliered successfully, but when it is run. it says "BUS ERROR". i don'tknow how to solve it.


    i think sth is wrong in login.c
    ...
  10. Replies
    21
    Views
    3,649

    #include #include int...

    #include <stdio.h>
    #include <stdlib.h>
    int main(void)
    {
    FILE *fp,*fw;// declaring file pointers.
    double val;
    int ch;
    int new; // new for integer part.
    int i=0;
    if((fp =...
  11. yes, thank you all. based on some similar...

    yes, thank you all.

    based on some similar codes that i can see, i have the codes now.


    #include<stdio.h>
    #include<string.h> // for strlen() function.
    #include<stdlib.h> // for...
  12. we have just learned about the file types. and to...

    we have just learned about the file types. and to finish the task within one week.

    we are scheduled to learn this very fast. impossible task? right?
  13. Replies
    21
    Views
    3,649

    #include #include int...

    #include <stdio.h>
    #include <stdlib.h>
    int main(void)
    {
    FILE *fp,*fw;// declaring file pointers.
    double val;
    char ch;
    int new; // new for integer part.
    if((fp =...
  14. sorry , i don't understand what to do

    sorry , i don't understand what to do
  15. every second counts. i have just finish one...

    every second counts.

    i have just finish one essay and one report and then rush into this C programming.

    the assign will be handin within about 30 hours day to night.

    i got stuck with it
  16. Replies
    21
    Views
    3,649

    thanks for you explanation, i have to learn much...

    thanks for you explanation, i have to learn much more things to know that.

    i don't know what that warning means, does is mean the if-statement is not correct or in vain?

    the c textbook has that...
  17. yes...i am in panic with the limit of time. what...

    yes...i am in panic with the limit of time.
    what can i do with that loop?


    #include<stdio.h>
    #include<string.h> // for strlen() function.
    #include<stdlib.h> // for exit() function.
  18. thanks for your explanation. then what should...

    thanks for your explanation.

    then what should i do with that loop
  19. Replies
    21
    Views
    3,649

    appledemacbook:documents apple$ gcc -Wall -Wextra...

    appledemacbook:documents apple$ gcc -Wall -Wextra [myfile.txt] 10-2.c
    i686-apple-darwin9-gcc-4.0.1: [myfile.txt]: No such file or directory
    10-2.c: In function ‘main’:
    10-2.c:10: warning: empty...
  20. i use getchar() to end the program instead of...

    i use getchar() to end the program instead of "return 0", if user enter any key on the keyboard.
    does is work?
  21. yes,that metaphor is really good for the...

    yes,that metaphor is really good for the question.

    i can understand what you are saying.

    Matsp is expert, but i am unable follow his guidelines.

    i don't know how to do that.

    right now, i...
  22. Replies
    21
    Views
    3,649

    appledemacbook:documents apple$ -Wall -Wextra...

    appledemacbook:documents apple$ -Wall -Wextra
    -bash: -Wall: command not found


    what is the matter? i am new to unix command.

    i was use VS instead.

    how to verify the codes with Mac OS X...
  23. really appreciate your advise, i know the codes...

    really appreciate your advise, i know the codes has many bugs and if we choose a random file, it will breakdown.
    it is hard for me to do that, though i know much should be done for the program.
    ...
  24. what i want to do is feed the request of the...

    what i want to do is feed the request of the question, however, it is not easy to fully understand and do that task.
    i think a small text file is okay.
    the codes is really beyond my head.

    hth
  25. Replies
    21
    Views
    3,649

    the compiler has not said the codes are wrong....

    the compiler has not said the codes are wrong. but as the question asked i do,
    the 3*5 matrix number are stored in myfile.txt
    it cannot run when ues the program.
    it was okay with the codes in the...
Results 1 to 25 of 42
Page 1 of 2 1 2