Search:

Type: Posts; User: black

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,245

    oki here they comes: // framework.c ...

    oki here they comes:

    // framework.c


    /////////////////
    //// Headers ////
    /////////////////
    #include <windows.h>
    #include "const.h"
  2. Replies
    4
    Views
    1,245

    well i dont show any piece of code here because...

    well i dont show any piece of code here because they are not only 20 lines or something, if you like i can post it later. i just wanna ask if anyone suffered this weired thing before, everything...
  3. Replies
    4
    Views
    1,245

    game window rejected painting !

    Hi everyone,

    just a simple windows question. i'm making my first windows game with C and everything seems to be ok, but when i run the game i found the game window rejected paiting anything after...
  4. Replies
    5
    Views
    7,085

    from command line arguments, say if i start...

    from command line arguments, say if i start server like this:
    serversocket.c 12345
    it means server may start with local address and listen at port 12345;

    and client side may type a command as...
  5. Replies
    5
    Views
    7,085

    weird. it is not correct even we count null...

    weird. it is not correct even we count null chars. i sent a message "hello" which lengths should be 5(or 6 if a null char considered) but actually server got a string with 7 chars, and if we send...
  6. Replies
    5
    Views
    7,085

    socket message sending and receiving problem

    hi all~

    i made a simple socket test and it worked. but it is weired that the message changes both from client to server and from server to client. for example i send a message "hi" to server and...
  7. Replies
    11
    Views
    1,143

    operators like >> dont help caz i'm developing a...

    operators like >> dont help caz i'm developing a simple window program. the string may be used in functions like MessageBox so that is why i'm seeking for a simple function which can convert int into...
  8. Replies
    11
    Views
    1,143

    wor too many steps for debugging. are there any...

    wor too many steps for debugging. are there any functions can be used ?
  9. Replies
    11
    Views
    1,143

    post 555 on type casting~

    hi all~

    i'm newbie to C++ string type and get confused when trying to convert an int into string, i just want my cute messagebox to popup mouse positions, here is my code:


    MessageBox(NULL,...
  10. Replies
    5
    Views
    923

    one more thing, is there any efficiency...

    one more thing, is there any efficiency difference btween CreateMenu and .rc resources ? i think program size may be smaller by CreateMenu way but less efficiency when running, anyway i dont proof it.
  11. Replies
    5
    Views
    923

    tks man ! i love CreateMenu lol ;)

    tks man ! i love CreateMenu lol ;)
  12. Replies
    5
    Views
    923

    some questions on menu~

    hi all~

    i've created a simple window and now have a few questions about menu:

    1. my book told me to build a menu we need create certain menu class and corresponding header files first, but how...
  13. Replies
    5
    Views
    968

    tks guys i've made a cute window now, but met...

    tks guys i've made a cute window now, but met some problems when facing messages. here is my callback function to deal with messages:


    LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM...
  14. Replies
    5
    Views
    968

    simple question on creating a window

    hi all~

    i'm newbie to windows and GUI programming and just start reading "Windows Programming" but something confused me on createing a window. here are my questions:

    1. all samples in the book...
  15. Replies
    6
    Views
    1,073

    tks Dave_Sinkula, in fact the code is...

    tks Dave_Sinkula,

    in fact the code is composed of these two lines:


    #define KEYS *(volatile u16*) 0x4000130
    #define keyPressed(key) (~KEYS & key)

    as u said it is relative to keys...
  16. Replies
    6
    Views
    1,073

    tks man, i searched it within "the c++ programing...

    tks man, i searched it within "the c++ programing language" and also found it is rarely used. what this cute macro really confused me is:

    1 it has two *, which means pointer to pointer ?
    2 ...
  17. Replies
    6
    Views
    1,073

    what this macro do ?

    howdy~

    here is a macro which i dunno what it means:


    #define KEYS *(volatile u16*) 0x4000130

    i'd appreciate if anyone could explain it abit(especially volatile keyword), tks.
  18. Replies
    17
    Views
    2,458

    gosh there is a long long way to go, and during...

    gosh there is a long long way to go, and during which are filled up traps ;)
  19. any good books for windows programming with C++?

    howdy~

    i bought a book named "Visual C++.Net" issued by Microsoft, but i found it is abit hard for newbie like me, my goal is to learn a little on windows programming with C++, i'd appreciate ur...
  20. Replies
    24
    Views
    3,672

    simply checking the grammer, i think C# and Java...

    simply checking the grammer, i think C# and Java are more alike than C or C++.
  21. Replies
    12
    Views
    1,635

    my book has arrived ! i got it last night and...

    my book has arrived ! i got it last night and hasnt read it yet. i may be busying in doing it the next a few days, Cheers.

    anyway thanx all of your guys.
  22. Replies
    7
    Views
    949

    thanx man i got it, but another problem, what if...

    thanx man i got it, but another problem, what if we prefer that read-only member not to be static(ie. constant) but dynamic one ? for example we may implements a LoadComponents class to load external...
  23. Replies
    7
    Views
    949

    it is wonderful but i can not understand it...

    it is wonderful but i can not understand it utterly can you explain in more details ? thanx !
  24. Replies
    7
    Views
    949

    how to make read-only members ?

    hi all~

    i wanna know how to make some members to be read-only ones in class implementation, maybe simple question ?
  25. Replies
    12
    Views
    1,635

    oh really thanx for mentioning that prog-bman,...

    oh really thanx for mentioning that prog-bman, and now, any comments on that book ? please share your opinion before i get it.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4