Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / C++ programming class assignment I am having trouble with.....please help

Author
Message
MindTrixz
13
Years of Service
User Offline
Joined: 22nd Sep 2010
Location:
Posted: 23rd Sep 2010 04:57
Ok so I have been attempting to create a pattern given to us in my programming class and translate a users in put of the height and width of the pattern to the argument. Not sure if I am doing this correct cause when I run the program it opens I input the width and height and then it closes without generating the output of the pattern with the inputed width and height. any help would be much appreciated....

here is what I have at the moment:

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 23rd Sep 2010 15:17
you didn't actually call drawPattern, according to the code above, it should be at the end of your current DarkGDK function

Also, this will show no result unless you call dbSync ( ), i'd say call it before your dbWaitKey in drawPattern

Login to post a reply

Server time is: 2024-07-02 08:42:10
Your offset time is: 2024-07-02 08:42:10