Programming Projects ?

I'm learning C++ and I'm out of projects to do.

When I google I can only find easy ones,or must-pay,or not accessible.

Hope you guy can give me some resources.A good site with free projects sorted by programming language and environment or level.

Thanks.
Theres some on here buried somewhere in the articles section
You could always try making a simple game. I find that games work well, as there's plenty you can add and redo at later stages when you've learnt more. You can try Tic-Tac-Toe, battleships, card games, rpg's etc. Quite a lot is possible, even within CMD.
Oh...CMD isn't great for games...I've mad some...like Game Of Life... I can't simply clear screen to put the new things.like the command "cls"
You can use the following function to move the cursor around the screen and 'cout' single chars:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include <iostream>		//cout
#include <Windows.h>	//COORD / getstdhandle ( windows functions )
#include <conio.h>		// _kbhit()

void gotoxy( int x, int y );

int main()
{
	char c = '*';

	gotoxy( 5, 7 );
	std::cout << c;

	gotoxy( 21, 16 );
	std::cout << c;

	gotoxy( 3, 18 );
	std::cout << c;

	gotoxy( 68, 3 );
	std::cout << c;

	//set the position for the "Press and key..."
	gotoxy( 1, 23 );
	std::cout << "Press any key to continue...";

	//press a key to continue...
	//while there isn't a key being pressed
	while( ! _kbhit() )
	{ /* do nothing - wait for a key press, before exiting */ }

	return 0;
}

void gotoxy( int x, int y )
{
	//create a COORD object
	COORD coord;

	//set the x and y co-ordinates
	coord.X = x;
	coord.Y = y;

	//set the values in the console
	SetConsoleCursorPosition( GetStdHandle( STD_OUTPUT_HANDLE ), coord);
}


Create a new project and have a play around with this. If you want to move across the console etc:
erase at the current position
get the new position
move to it
draw the char
Topic archived. No new replies allowed.