Hey, Im a rookie programmer taking my second year programming class in High School (I got to a small private High School in Conneticut). My final project is what ever I want, but I need some ideas.
Here are the guide lines that my TA pulld of the internet and told us to use:
1. Use a class
-Must have class functions
-Must have a default constructer
2. Must use 1 recursive function
3. Must have input/output
-Printer optional, but preferred
4. Bonus for using pointers
Seems simple right? ha not really as Im a transfer student, but I think that I should be able to do it, but Im definetly going to have to go for something simple as I have NO idea how to use classes!
My initial idea was to make a random # generator, but my friend already has used that idea.
btw this is the code I am using for my (simple recursive function) which I tippd from my TA's notes
trying to K.I.S.S., and we havent done any visual so i Really cant do any games or anything that needs a GUICode:#include <iostream> using namespace std; void recurse ( int count ) // Each call gets its own count { cout<< count <<"\n"; // It is not necessary to increment count sinceeach function's // variables are separate (so each count will be initialized one greater) recurse ( count + 1 ); } int main() { recurse ( 1 ); //First function call, so it starts at one }
..so any ideas on what I should do?