my teacher wants a sample program to show prospective programming students...i have until tomorrow..she said she wants it to be something that is cool and make students want to program, but nothing too intimidating.
i have no idea, any ideas?
my teacher wants a sample program to show prospective programming students...i have until tomorrow..she said she wants it to be something that is cool and make students want to program, but nothing too intimidating.
i have no idea, any ideas?
One idea is an address book under Win32 Console. Another idea is a day counter given two dates.
Kuphryn
an address book, like using linked lists? theres an idea, i think i can do that in a day
maybe i can write out the entries into an INI file or something
hmm
/edit: well i finished the address book program, it works fine (used singley traversed linked lists), so i have time to do another one if anyone has any more suggestions
Last edited by the Wookie; 02-04-2003 at 02:55 PM.
If you really want kids to get interested in programming it should definately be a game.
how about Pong, you can write it it Java and it won't take very long.
well it needs to be in c++, and i don't know how to write pong (well, i could figure it out, but i only have a day..well..about 6 hours left now)
almost done with the address book program, but i'm still open for suggestions
thanks all
how bout a word game as follows:
-program randomlly generates (a user selected amount of) letters
-the user then tries to spell as many english words as possible using only those letters
> and oddly enough i wrote one last year!! lol. you can have a look at my source if you want to. it takes care of the english dictionary and everything. just let me know (either post back here or pm me) and ill post it.
yeah sure that'll be great, im interesting in knowing how you did that
Blackjack?
Poker?
Yatzzi?
A chat program (make it simple yet nice to look at)?
I think games would be a great section to work with (except with only 6 hours to work you will probley stick with text based). A chat program shouldn't be to hard (for me it would, since I don't know sockets...).
the thing im working on now (a SI chat bot) is a chat program essentially under win32...i have like 3 hours now
how would blackjack work?
well, the word game was origionally done for linux and the g++ compiler. i worked out all the bugs that windows didnt like but the file was to big to post =( ... (its because of the dictionary) srry. (its over 400k)
anyway, vc++ would compile but the program crashed because of this...
so dumb, the ++ operater should use a's value then increment no problem. it worked fine on linux/unix/openBSD/and solaris, but not windows.... =PCode:while(word[a] != '\0') word[a] = tolower(word[a++]); //i had to change it to.... while(word[a] != '\0') { word[a] = tolower(word[a]); a++; }
I had previously posted console games done by me in C++ like pong, nibbles (availavle in the contest section), memory etc.. search you will get it.. May be you can get an idea from it...