HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I dont know wat 2 make

04-01-2008, 09:56 AM#1
Gorman
Recently i started learning C++, and i can understand it pretty well, but the problem is i hav no idea what to make... Does anyone hav a list of basic projects or sumthing that i can do?

Also, whenever i run a script it exits as soon as its done, so say if it just prints the word "hi" it will print it, then exit, leaving the user very very little time to read it... how can i fix this? is it just because im using the microsoft visual studio command prompt?
04-01-2008, 10:14 AM#2
Jazradel
I appear to have lost all my c++ stuff, but try something like:
system("pause")
or better
cin.get()

http://www.gidnetwork.com/b-61.html for info
04-01-2008, 11:33 PM#3
Barade
When I started learning C++ I made a simple application which shows you prime numbers in a specific range.
I expanded the program so that the result and the required time were logged into a text file.
If you have no incentive you should show it to a friend :-D.
The most books and tutorials contain enough practices (I hate specified practises).
Good look,
C++ is awesome... perhaps you'll write some Qt applications one day.
04-02-2008, 08:51 AM#4
Gorman
ty, ill hav a look at what you said to try Jazradel

u know, untill all this crazy stuff i didnt even know there was a programing sub forum =P

I made a prime number program like that for my calculator (casio) but after numbers with like 6 digits it got pretty damn laggy =P

EDIT: the cin.get() doesnt work in this situation coz right before the end it asks for an input, so the last button pressed is return anyway, so it will just skip out =(
looks like ill hav to use the *apparently hell not good* system pause then. ty =)
04-03-2008, 05:49 PM#5
Thunder_Eye
Try putting 2 cin.get() after eachother.

Might not be the best solution, but atleast it works.
04-14-2008, 03:27 AM#6
TheDamien
Just run your program from a command prompt. That is the proper way to run such programs AFAIC.

Anyway, you aren't going to be able to make cool stuff in the command line, so here are a few fun things for you to learn:

Windows Programming (using WinAPI):

winprog.org
MSDN Reference

OpenGL:

Nehe's OpenGL Tutorials. Yes, I am aware of their lameness.
The Red Book

Cool Things:

Irrlicht 3D Engine
irrKlang
Allegro Game Programming Library
Lua

Boost:

Boost Libraries
04-15-2008, 12:49 AM#7
Gorman
Cheers man, looks like lots of fun for my holidays =D
04-15-2008, 02:47 AM#8
Vexorian
Do yourself a favor and stay outside of winapi, besides of it being a lock-in, MS has already say they are replacing it so it will not do you any help to learn it.

I would stick to SDL and use it as a bridge to get to OpenGL
06-06-2008, 04:12 PM#9
Alevice
For UI programming, learn .NET rather than win32. The .NET framework is already on most computers, and Vista has it as its api, IIRC.