What would you guys recommend as a project for someone who is new to C++ and new to programming in general.
I have been following the fantastic tutorial located on this website, the only downside is that it doesn't have any "test" projects or trials to complete.
Here is an example of my skill level:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#include <iostream>
usingnamespace std;
int main ()
{
int a,b,c;
a=15;
b=4;
c = (a>b) ? a : b;
cout << "a=15" << endl;
cout << "b=4" << endl;
cout << "Which is greater?" << endl;
cout << c << endl;
system("pause");
return 0;
}
Any ideas on projects I can attempt would be much appreciated. I just can't think of anything practical for someone of my skill level to attempt.
Try making a deck of cards, where you type the number of cards you want to draw. It should remember which cards were already removed from the deck, and shuffle the deck after you draw all 52.
I'd say get a book and read it. C++ Primer Plus 6th Edition is an excellent book, comes with exercises at the end of each chapter and is geared towards people with no programming experience.