looking for c++ projects for my skill level.

I just started programming through the cave of programming tutorials on youtube.
I have looked for projects but looking at the code is daunting as i don't recognize everything.

Could someone take a peek at some of my code and tell me what i could do with my skill set for a project? ive just learnt loops (for,while,do,if-else) and have done char and bool.

Here's some of my code:
#include <iostream>

using namespace std;

int main()
/* == equals
!= not equals
< less than
> greater than
<= less than or equal to
>= greater or equal to
&& = logical and
|| = or
*/
{


int value1 = 7;
int value2 = 4;

if(value1 <= 5)
{
cout << "condition 1: true" << endl;

}
else
{
cout << "contion 1: false" << endl;
}

if(value1 == 7 && value2 > 3)
{
cout << "condition 2: true" << endl;

}
else
{
cout << "contion 2: false" << endl;
}

if(value1 == 6 || value2 > 6 )
{
cout << "condition 3: true" << endl;

}
else
{
cout << "condition 3: false" << endl;
}

if( (value1 != 8 && value2 == 4) || (value1 == 9) )
{
cout << "condition 4: true" << endl;

}
else
{
cout << "condition 4: false" << endl;
}

bool condition1 = (value2 == 7) && (value1 == 2) || (value2 ==4 );
cout << condition1 << endl;

bool condition2 = (value2 == 88 );
cout << condition2 << endl;

if( condition1 || condition2 )
{
cout << "condition 5: true" << endl;
}else{
cout << "condition 5: false" << endl;
}
return 0;
}

/////////////////////// and another


#include <iostream>

using namespace std;

int main()
{
const string password = "hello";

string input;
do
{

cout << "enter your password" << endl;
cin >> input;
if(input != password)
{
cout << "access denied" << endl;
}

}
while(input != password);

cout << "welcome back user.." << endl;

return 0;
}



Many thanks.
Last edited on
If you want to start learning by doind projects use this site(http://www.cplusplus.com/forum/articles/12974/). Do them by order, it also says what you need for the project in the beggining so you can study it before you start.
Hope it helps
@SweatyJuice

Your link may be to old because all I got was 404 page Not Found.

Just t let you know,

Andy
closed account (E0p9LyTq)
@Handy Andy,

The link works, the person posting it unfortunately enclosed it in parentheses so the forum post parser included the ")." as part of the link.
http://www.cplusplus.com/forum/articles/12974/
@FurryGuy,

Thanks I try to remember that about the links. Learned something new today.

Andy
closed account (E0p9LyTq)
ALWAYS include a leading and trailing space when pasting links, or have it stand-alone on a single line as I did.

Had to learn that the hard way. :)
@Sweaty juice, this link looks good thanks. Anyone else got some other's? will try the first one on the page :D.
closed account (E0p9LyTq)
@redleader7,

A website of a bunch of tutorials, but something you might want to look at:

http://www.learncpp.com/
@FurryGuy

Looks good thanks, but for now i prefer the you tube tutorials from cave of programming since i like the medium better than reading. I might go through these afterwards or if i get fed up; its surprising how much i forget. I have to refer to my other codes a lot.
If anyone's interested here's my program for the first project on the page @FurryGuy suggested, code follows:
#include <iostream>

using namespace std;

int main()
{
const int score =100;
cout << "please enter student score . . ." << endl;
int input;
cin >> input;
if ( input == score )
{
cout << "you got a perfect score student!" << endl;
}
else if (input >= 90 && input <= 100)
{
cout << "you got an A" << endl;
}
else if (input >= 80 && input <= 89)
{
cout << "you got an B" << endl;
}
else if (input >= 70 && input <= 79)
{
cout << "you got an C" << endl;
}
else if (input >= 60 && input <= 69)
{
cout << "you got an D" << endl;
}
else if (input >= 0 && input <= 59)
{
cout << "you got an F" << endl;
}
return 0;
}
Thanks for the help
its from this webpage http://www.cplusplus.com/forum/articles/12974/ , "Grading Program
Requires:
variables, data types, and numerical operators
basic input/output
logic (if statements, switch statements)

Write a program that allows the user to enter the grade scored in a programming class (0-100).
If the user scored a 100 then notify the user that they got a perfect score.

★ Modify the program so that if the user scored a 90-100 it informs the user that they scored an A

★★ Modify the program so that it will notify the user of their letter grade
0-59 F 60-69 D 70-79 C 80-89 B 90-100 A" .

I need to go back and cover some stuff so i can use the Switch statements.
Topic archived. No new replies allowed.