Search:

Type: Posts; User: Allen

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,585

    thanks

    thanks
  2. Replies
    4
    Views
    2,585

    Difference between definition and declaration

    Who can tell me the difference between definition and declaration?
    My book said that definition is also declaration, then what's the need for C++ to distinguish definition and declaration?
  3. Replies
    5
    Views
    2,548

    You can type getchar();it does the same job.

    You can type getchar();it does the same job.
  4. Thread: Member function

    by Allen
    Replies
    1
    Views
    722

    Member function

    Can anyone explian to me why is there member function in c++?Is it because it would be easier to call functions for variables of the same type?
  5. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    oh. That' my answer to your question.

    oh. That' my answer to your question.
  6. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    oh. That's my answer to your question.

    oh. That's my answer to your question.
  7. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    um.. after f(a+1)?

    um.. after f(a+1)?
  8. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    In the code I have given ? Or?

    In the code I have given ? Or?
  9. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    When the condition is not satisfied.

    When the condition is not satisfied.
  10. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    Sorry. my book is in Chinese.

    Sorry. my book is in Chinese.
  11. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    Umm.. What is the meaning of 'terminating...

    Umm.. What is the meaning of 'terminating condition' ?
    :confused:
  12. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    What about the following code? void F(int a) ...

    What about the following code?
    void F(int a)

    {
    F(a+1);
    }
  13. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    Oh. I get it.

    Oh. I get it.
  14. Thread: EStackOverFlow

    by Allen
    Replies
    17
    Views
    2,127

    EStackOverFlow

    When run the code below:

    void F()
    {

    F();

    }
    EStackOverFlow will appear.
    The book says that there is a loop going on. Can anyone explain to me?
  15. Replies
    8
    Views
    1,049

    But, is it good to read as many books as possible?

    But, is it good to read as many books as possible?
  16. Replies
    8
    Views
    1,049

    oh. now I understand. Do you have any books on...

    oh. now I understand. Do you have any books on functions?
  17. Replies
    8
    Views
    1,049

    Oh, can you just explain to me how the parameters...

    Oh, can you just explain to me how the parameters passed by value in the example? The book says that a copy of the parameter has been made. But I don't understand.
  18. Replies
    8
    Views
    1,049

    void F(int a) { a = 10; }

    void F(int a)

    {

    a = 10;

    }
  19. Replies
    8
    Views
    1,049

    Passing on parameters

    Can anyone tell me how to pass on parameters to a function?
Results 1 to 19 of 19