Search:

Type: Posts; User: luoyangke

Search: Search took 0.01 seconds; generated 25 minute(s) ago.

  1. Thread: a good idea

    by luoyangke
    Replies
    6
    Views
    1,712

    you are right thank you ! but it should in this...

    you are right
    thank you ! but it should in this way

    printf("%2d:%d,%d,%d", count, a, b, c);
    printf(count++%4?" " :"\n");
  2. Thread: a good idea

    by luoyangke
    Replies
    6
    Views
    1,712

    a good idea

    this is a very simple programe,but the last line "printf" is very clever.

    main()
    {
    int a,b,c,count=0;
    printf("There are different methods for XM to distribute books to 3 readers:\n");...
  3. Replies
    9
    Views
    12,757

    thank you

    thank you!

    can you recommend some books for me:)
  4. Replies
    9
    Views
    12,757

    pint=p; sure! p296 of Let Us C 5th thank you!

    pint=p; sure! p296 of Let Us C 5th
    thank you!
  5. Replies
    9
    Views
    12,757

    thank you

    This is the program given in Let Us C book.I am following it to learn C. you mean the book is incorrect!
  6. Replies
    9
    Views
    12,757

    cannot convert `int (*)[2]' to `int*

    :)hello guys! i typed this code used "Code::Blocks",but it said "D:\My Documents\c code\let us c\p288.c|66|error: cannot convert `int (*)[2]' to `int*' in assignment|". why?
    this code is on page296...
  7. Thread: void

    by luoyangke
    Replies
    9
    Views
    1,521

    thanks

    :) thanks for the second time
  8. Thread: void

    by luoyangke
    Replies
    9
    Views
    1,521

    thank you

    :) thank you! not just for this answer 谢谢!
  9. Thread: void

    by luoyangke
    Replies
    9
    Views
    1,521

    thank you

    thank you ! but i still don't understand
  10. Thread: void

    by luoyangke
    Replies
    9
    Views
    1,521

    in codeblocks

    a thing named "CodeBlocks" thank you!:)
  11. Thread: void

    by luoyangke
    Replies
    9
    Views
    1,521

    void

    hello everyone!
    i found a strange thing.
    1.i inputed the codes followed in "CodeBlocks",but it returned this "error:'main' must return 'int'".why?

    #include<stdio.h>
    void main()
    {
    ...
  12. Replies
    117
    Views
    95,340

    hello Fai ! nice to meet you too! do you ...

    hello Fai ! nice to meet you too! do you use the QQ ,my QQ is 947935781.
    你会用汉语吗?那样交流更更方便些。哈哈
  13. Replies
    117
    Views
    95,340

    a boy come from china

    hello everyone!
    first i must say thanks.i am new to cboard,i am new to c.i come from china.

    i like c .i am glad to join the cboard. glad to make new friends。
    if you think i can do...
  14. Thread: "\n"

    by luoyangke
    Replies
    6
    Views
    1,059

    i see

    thank you!
    now i understand it. but where we can use it.i mean,usually we use "scanf("%d",&j);" ,when to use "scanf("%d\n",&j);".
  15. Thread: "\n"

    by luoyangke
    Replies
    6
    Views
    1,059

    thank you

    can you showit to me by a example? :) i come from china .i can't understand the english smoothly. thank you.
  16. Thread: "\n"

    by luoyangke
    Replies
    6
    Views
    1,059

    "\n"

    who can tell me what the difference between "scanf("%d",&j);" and "scanf("%d\n",&j)"?
    Thank you
  17. Replies
    160
    Views
    1,220,349

    Sticky: i use the 《let us c...

    i use the 《let us c》.the bad thing is that i can not buy it,i printed the whole book.ha ha .
    i come from china, looking for new friend. thank you!
Results 1 to 17 of 17