Search:

Type: Posts; User: Hermitsky

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    812

    this line put the first character into oper_char,...

    this line put the first character into oper_char, and the next one into value.
  2. Thread: C++ file IO

    by Hermitsky
    Replies
    2
    Views
    1,105

    If your code doesn't work properly, then there...

    If your code doesn't work properly, then there must be some bugs in your code.
  3. Replies
    3
    Views
    1,025

    try search "_beginthread()" on MSDN

    try search "_beginthread()" on MSDN
  4. so far as i know, you can't open the serial port...

    so far as i know, you can't open the serial port which is already in use.
  5. Replies
    3
    Views
    916

    you need this system("pause") it will hold...

    you need this

    system("pause")
    it will hold the progress.
  6. Replies
    9
    Views
    5,372

    LetterGrade should be char not int.

    LetterGrade should be char not int.
  7. Replies
    7
    Views
    1,046

    eee.....in c++, you have to convert it first,...

    eee.....in c++, you have to convert it first, that's the rule.

    and for sure, the memory will be freed.
  8. one reason i don't like MFC: the codes written...

    one reason i don't like MFC:

    the codes written in MFC are almost unreadable.
    it is really hard for me to find out what's going on by reading these codes.
  9. Replies
    7
    Views
    1,046

    seq=(char *)ckfree((void *)seq); could this...

    seq=(char *)ckfree((void *)seq);

    could this one help?
  10. Thread: Threading

    by Hermitsky
    Replies
    7
    Views
    761

    this is a sample, can't remember where i got it ...

    this is a sample, can't remember where i got it -_-"
    it use _beginthread() function which is included in C run-time libraries. you can get more details on msdn.


    #include <windows.h>...
  11. Replies
    9
    Views
    1,542

    the basic rule is: never against prelude's will....

    the basic rule is: never against prelude's will.
    :D
  12. Replies
    9
    Views
    4,730

    Beijing 2008 Olympic Mascots

    北京
    the first pic is original,

    i like the last one most, like an old fashion cartoon. :D
  13. Replies
    9
    Views
    1,542

    just tell them what's in your mind, good...

    just tell them what's in your mind, good suggestions are always welcome.........
  14. Replies
    8
    Views
    1,207

    perhaps, it is really too hard for this women to...

    perhaps, it is really too hard for this women to find a guy who dare to marry her.......................
  15. Replies
    4
    Views
    1,515

    thanks guys .....

    thanks guys .....
  16. Replies
    4
    Views
    1,515

    Thanks, rockytriton. one more question: how...

    Thanks, rockytriton.

    one more question: how to set the read time-out ?
  17. Replies
    4
    Views
    1,515

    Need help with winsock2

    i am doing a server/client program with winsock2. once a client starts, it will connect to server and send some info. after server got these info,the connection will be closed,and the server will...
  18. Replies
    5
    Views
    3,501

    fixed, you'd better read some c books before...

    fixed, you'd better read some c books before write the code.
    and, don't use goto unless you have to.


    //Mini calculator used for multiplication and division
    #include <cstdlib>
    #include...
  19. Thread: File I/0

    by Hermitsky
    Replies
    3
    Views
    706

    #include #include int...

    #include <fstream>
    #include <iostream>

    int main()
    {
    int aa, bb, cc, a, b, c;
    aa=1, bb=2, cc=3, a=3, b=1, c=2;
    fstream abc;

    abc.open ( "example.txt" ,fstream::out);
  20. Replies
    1
    Views
    799

    if you are programming on windows, all you need...

    if you are programming on windows, all you need to do is send some messages to os. you can get all the details on here :)
  21. Replies
    3
    Views
    771

    do some improvement on your algorithms would be...

    do some improvement on your algorithms would be helpful.
  22. Replies
    22
    Views
    3,344

    creates the menu dynamically is only needed when...

    creates the menu dynamically is only needed when we have to do some change on menu while the program is running.
    and use .rc we can handle all the resource freely.
  23. Replies
    22
    Views
    3,344

    well, i think make a resource file is a better...

    well, i think make a resource file is a better way, we can write everything like menu,dialogbox,controls in it.

    resource.h :


    #if !defined(resource_H)
    #define resource_H
    #endif

    #define...
  24. Replies
    4
    Views
    7,799

    as we are programming with C++, it is easy to...

    as we are programming with C++, it is easy to make an array with variable size .

    a dynamic list:



    //class to store info of books and basic method
    #include<string>
    #include<sstream>...
  25. Replies
    26
    Views
    6,920

    i have edited my last code, try it again.

    i have edited my last code, try it again.
Results 1 to 25 of 152
Page 1 of 7 1 2 3 4