Search:

Type: Posts; User: Hermitsky

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    921

    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,306

    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,521

    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
    1,119

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

    you need this

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

    LetterGrade should be char not int.

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

    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,185

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

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

    could this one help?
  10. Thread: Threading

    by Hermitsky
    Replies
    7
    Views
    980

    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
    2,764

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

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

    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
    2,764

    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
    2,173

    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,733

    thanks guys .....

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

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

    Thanks, rockytriton.

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

    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,764

    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
    832

    #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
    959

    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
    911

    do some improvement on your algorithms would be...

    do some improvement on your algorithms would be helpful.
  22. Replies
    22
    Views
    5,135

    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
    5,135

    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
    9,839

    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
    11,143

    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