Search:

Type: Posts; User: Hirosh

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    4,151

    You could also... DWORD StartTime =...

    You could also...


    DWORD StartTime = GetTickCount();
    int someInt = 6;

    //do business

    while ((GetTickCount() - Start Time) < someInt);
  2. Replies
    11
    Views
    4,742

    lol... Actually, I just found the bug... If...

    lol... Actually, I just found the bug...
    If you're using windows vista, you gotta have the aero turned on...
    that's how it worked here...
    I found the answer here
    SetPixel bug in 64-bit Vista...
  3. Replies
    11
    Views
    4,742

    Thanks dwks.. I've read that link... it seems...

    Thanks dwks.. I've read that link... it seems that the problem is with windows vista, but it doesn't really tells how to solve that problem... I guess I just won't be able to have the enjoyment of...
  4. Replies
    5
    Views
    1,057

    When you declare a function Foo(); inside the...

    When you declare a function Foo(); inside the class Foo, it will be a constructor...
    in that case it does nothing... but for instance, if you had a class like this


    Class Foo{
    public:
    int x,...
  5. Replies
    11
    Views
    4,742

    That's the whole code... There are loads of...

    That's the whole code...
    There are loads of things I'm experimenting on it as well...




    #include <windows.h>

    LRESULT CALLBACK WinProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
  6. Replies
    1
    Views
    807

    I would write it like this... #include...

    I would write it like this...


    #include <iostream>

    using namespace std;

    void GetNumber(int number);

    int main(){
  7. Replies
    11
    Views
    4,742

    GDI problems... SetPixel()

    Ok... I've searched this on the forum to see whether anyone had the same problem, but I couldn't find it... so here it is:

    I am using setpixel to draw on the screen(well, I'm still learning...
  8. Replies
    3
    Views
    1,701

    oh, I got it :D... thank you both!.... I just...

    oh, I got it :D... thank you both!.... I just couldn't figure that out :( :P
  9. Replies
    3
    Views
    1,701

    really bizarre.. compiler skipping gets()...

    I really have no clue of what's going on, so here's part of the code


    void Queue::showMenu(){
    int choice;
    do{
    cout <<n<<"This program will add people into a line and then...
Results 1 to 9 of 10