Search:

Type: Posts; User: paulogrady

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Message Box

    by paulogrady
    Replies
    3
    Views
    4,050

    But will this only work for string variables??

    But will this only work for string variables??
  2. Thread: Message Box

    by paulogrady
    Replies
    3
    Views
    4,050

    Message Box

    Just a quick Q,

    Using Visual C++, Windows Forms, how can I bring up a message box to show a variable value?
  3. Replies
    4
    Views
    1,675

    Thanks for the fast answer !

    Thanks for the fast answer !
  4. Replies
    4
    Views
    1,675

    Conditional IF Brain Fart

    In trying to check that R, G, B gives white then would this statement suffice:



    if (R == G == B == 255)
    {
    ....
    }
  5. Replies
    12
    Views
    1,704

    What are these statements doing?

    What are these statements doing?
  6. Replies
    12
    Views
    1,704

    Any Ideas????

    Any Ideas????
  7. Replies
    12
    Views
    1,704

    Hey, thanks for the suggestion!!! Is it...

    Hey, thanks for the suggestion!!!

    Is it necessary for me to go to this lengths just to convert the RGB to HLS?

    All I want to do is set the saturation to zero for a smooth gryscale gradient
  8. Replies
    12
    Views
    1,704

    Thanks for your reply! The reason I want to...

    Thanks for your reply!

    The reason I want to convert to COLORREF is to be able to convert from RGB to HLS using:
    ColorRGBToHLS() ColorRGBToHLS Function ()

    How else can I go about this?
    ...
  9. Replies
    12
    Views
    1,704

    Any Ideas? Is more info required of my problem?

    Any Ideas?

    Is more info required of my problem?
  10. Replies
    12
    Views
    1,704

    Clas Member problem

    Hi,

    Im Using Visual C++ Windows Forms in Visual studio 2008

    I am trying to use ToCOLORREF (ToCOLORREF Method (ColorColor))

    However, I keep getting error...
    'ToCOLORREF' : is not a member of...
  11. Thread: STL - List

    by paulogrady
    Replies
    6
    Views
    2,063

    if possible

    if possible
  12. Thread: STL - List

    by paulogrady
    Replies
    6
    Views
    2,063

    I want to add pointers to objects to a list to...

    I want to add pointers to objects to a list to keep track of them.


    void GameEngine::AddSprite(Sprite* pSprite)
    {
    // Add a sprite to the sprite list
    if (pSprite != NULL)
    {
    // See...
  13. Thread: STL - List

    by paulogrady
    Replies
    6
    Views
    2,063

    STL - List

    Hi,

    I am using #include <list>

    Is there a command whereby I can reserve capacity for the list I am seeking to create?

    Thanks
  14. Replies
    9
    Views
    3,601

    WINDOWS/GAME Programming Tutorial CD

    Hi Guys!

    I would calss my C++ skills as an advanced beginner.

    Can anyone recommend a good Windows-Gaming Programme Tutorial CD or DVD???

    Alternatively a book but I find that I learn best...
  15. Replies
    2
    Views
    1,357

    Thanks

    Thanks
  16. Replies
    2
    Views
    1,357

    number display

    Hi

    In C++ using the cout statement...

    How can I display a value only to a specified number of decimal places?

    Thanks
  17. Thread: Menu

    by paulogrady
    Replies
    20
    Views
    2,691

    ne 1 else? :)

    ne 1 else? :)
  18. Thread: Menu

    by paulogrady
    Replies
    20
    Views
    2,691

    Point taken with the tolower function. But I...

    Point taken with the tolower function.

    But I really want the best method for catching a user input error. Can you offer some advice or an example piece of code?
  19. Thread: Menu

    by paulogrady
    Replies
    20
    Views
    2,691

    you should be able to write code. ;)

    you should be able to write code. ;)
  20. Thread: Menu

    by paulogrady
    Replies
    20
    Views
    2,691

    p.s. you cant return an int to void... can you?

    p.s. you cant return an int to void... can you?
  21. Thread: Menu

    by paulogrady
    Replies
    20
    Views
    2,691

    I dont know. Can someone just answer my...

    I dont know.

    Can someone just answer my original question pls? :)
  22. Thread: Menu

    by paulogrady
    Replies
    20
    Views
    2,691

    so tell me what to do then the link you gave...

    so tell me what to do then

    the link you gave dont mention this
  23. Thread: Menu

    by paulogrady
    Replies
    20
    Views
    2,691

    Isnt that what I did above?

    Isnt that what I did above?
  24. Thread: Menu

    by paulogrady
    Replies
    20
    Views
    2,691

    What would be the best, most efficient way to do...

    What would be the best, most efficient way to do this.

    With for, while or switch
  25. Thread: Menu

    by paulogrady
    Replies
    20
    Views
    2,691

    thanks for reply. i can do clear screen ......

    thanks for reply.

    i can do clear screen ... system("cls");


    Ive had a go this is what I get:


    for (;;)
    {
Results 1 to 25 of 28
Page 1 of 2 1 2