Help with DarkGDK pogramming

This is a discussion on Help with DarkGDK pogramming within the C++ Programming forums, part of the General Programming Boards category; I am new to programming so I dont know a whole lot yet, but I start working on an assignment ...

Help with DarkGDK pogramming

I am new to programming so I dont know a whole lot yet, but I start working on an assignment for my programming class and have hit a few snags...

Here is the problem from the book:

In a program write a function named drawPattern. The draw function should accept two arguments: one for the patterns width and another for the height. When the program runs the darkgdk function should ask the user for the width and height of the pattern, and then pass these values as arugments to the drawpattern function.