hi im a c++ programer (im still a newbie) and i made my fist program and i use to you byond once but now i quit
and i made this with c++
to download it go to the link
http://www.angelfire.com/yt3/gametime/classroom.exe
tell me what you think
P.S C++ Rules!!!!!!!!
ID:189206
![]() Sep 14 2003, 6:03 pm
|
|
I use DEVC++ as you can see Im not great at it but if you know the language preety good you can make any game in the world you want even xbox and ps2 games and more.
|
I don't like it.You don't always get the correct answers.. lol what would be the point if you always got the correct answer lol. p.s camaro do you know c++? |
I meant your calculator... I can just see people all like "D()()D THE BlAIdz GUy dIDn"t GIve ME anSWERs TO My PRoblemS!1"
I know basic C++, i'm going to be learning it if I get the time. |
humm your wright the calculator sometimes gives the wrong answers that sucks lol ill fix it later
p.s dont complane about the caleander i know i didnt finish it i got really bored of tiping lol all that took me 2 days calander took me 1 day the game took me a nother day and the rest took me a nother day i think its worth it |
nope i dont think so i fixed the problam and im sure its not from my spelling and im only 12 years old cout me some slack here i know my spelling is bad
|
i would show you the code to prove its not from the spelling but i know you cant read it
here is the code if you can read go for it #include <iostream> #include <stdlib.h> using namespace std; void menu(); void menu() { cout << " *********************************\n"; cout << " * 1:Add *\n"; cout << " * 2:Subtract *\n"; cout << " * 3:Multipy *\n"; cout << " * 4:Divide *\n"; cout << " * 5:calendar *\n"; cout << " * 6:game *\n"; cout << " * 7:grades *\n"; cout << " * 8:exit *\n"; cout << " *********************************\n"; } void january(); void january() { cout << "****************************************************************\n"; cout << " JANUARY \n"; cout << " sunday monday tuesday wensday thursday friday saturday \n"; cout << " 1 2 3 4 \n"; cout << " 5 6 7 8 9 10 11 \n"; cout << " 12 13 14 15 16 17 18 \n"; cout << " 19 20 21 22 23 24 25 \n"; cout << " 26 27 28 29 30 31 \n"; cout << " To go to the next mounth type in next and press enter \n"; cout << "****************************************************************\n"; } void February(); void February() { cout << "****************************************************************\n"; cout << " FEBRUARY \n"; cout << " sunday monday tuesday wensday thursday friday saturday \n"; cout << " 1 \n"; cout << " 2 3 4 5 6 7 8 \n"; cout << " 9 10 11 12 13 14 15 \n"; cout << " 16 17 18 19 20 21 22 \n"; cout << " 23 24 25 26 27 28 \n"; cout << " To go to the next mounth type in next and press enter \n"; cout << "****************************************************************\n"; } void March(); void March() { cout << "****************************************************************\n"; cout << " MARCH \n"; cout << " sunday monday tuesday wensday thursday friday saturday \n"; cout << " 1 \n"; cout << " 2 3 4 5 6 7 8 \n"; cout << " 9 10 11 12 13 14 15 \n"; cout << " 16 17 18 19 20 21 22 \n"; cout << " 23 24 25 26 27 28 29 \n"; cout << " 30 31 \n"; cout << " To go to the next mounth type in next and press enter \n"; cout << "****************************************************************\n"; } void April(); void April() { cout << "****************************************************************\n"; cout << " APRIL \n"; cout << " sunday monday tuesday wensday thursday friday saturday \n"; cout << " 1 2 3 4 5 \n"; cout << " 6 7 8 9 10 11 12 \n"; cout << " 13 14 15 16 17 18 19 \n"; cout << " 20 21 22 23 24 25 26 \n"; cout << " 27 28 29 30 \n"; cout << " To go to the next mounth type in next and press enter \n"; cout << "****************************************************************\n"; } void May(); void May() { cout << "****************************************************************\n"; cout << " MAY \n"; cout << " sunday monday tuesday wensday thursday friday saturday \n"; cout << " 1 2 3 \n"; cout << " 4 5 6 7 8 9 10 \n"; cout << " 11 12 13 14 15 16 17 \n"; cout << " 18 19 20 21 22 23 24 \n"; cout << " 25 26 27 28 29 30 31 \n"; cout << " To go to the next mounth type in next and press enter \n"; cout << "****************************************************************\n"; } void June(); void June() { cout << "****************************************************************\n"; cout << " JUNE \n"; cout << " sunday monday tuesday wensday thursday friday saturday \n"; cout << " \n"; cout << " 1 2 3 4 5 6 7 \n"; cout << " 8 9 10 11 12 13 14 \n"; cout << " 15 16 17 18 19 20 21 \n"; cout << " 22 23 24 25 26 27 28 \n"; cout << " 29 30 \n"; cout << " to exit type exit \n"; cout << "****************************************************************\n"; } void grades(); void grades() { cout << "****************************************"; cout << " 1: A = 80-90% "; cout << " 2: B = 79-80% "; cout << " 3: C = 69-79% "; cout << " 4: F = 59-% "; cout << " press 8 to exit "; cout << "****************************************"; } int main() { bool binmenu=true; int choice=0; string number1; int number3; int number2; menu(); cout << "please choose one of the numbers"; cin >> choice; while(binmenu) { switch(choice){ case 1: cout << "please type your first number"; cin >> number2; cout << "please type your second number"; cin >> number3; cout << number2 << " + " << number3 << " = " << number2 + number3; cin >> choice; break; case 2: cout << "please type your first number"; cin >> number2; cout << "please type your second number"; cin >> number3; cout << number2 << " - " << number3 << " = " << number2-number3; cin >> choice; break; case 3: cout << "please type your first number"; cin >> number2; cout << "please type your second number"; cin >> number3; cout << number2 << " x " << number3 << " = " << number2*number3; cin >> choice; break; case 4: cout << "please type your first number"; cin >> number2; cout << "please tipe your second number"; cin >> number3; cout << number2 << " / " << number3 << " = " << number2/number3; cin >> choice; break; case 5: january(); cout << "\n\ntype next to go to next month \n\n"; cin >>number1; if (number1 == "next") { February(); } cout << "\n\ntype next to go to next month \n\n"; cin >>number1; if (number1 == "next") { March(); } cout << "\n\ntype next to go to next month \n\n"; cin >>number1; if (number1 == "next") { April(); } cout << "\n\ntype next to go to next month \n\n"; cin >>number1; if (number1 == "next") { May(); } cout << "\n\ntype next to go to next month \n\n"; cin >>number1; if (number1 == "next") { June(); } cout << "\n\ntype exit to go back to the menu \n\n"; cin >>number1; if (number1 == "exit") { menu(); } cin >> choice; break; case 6: cout << " welcome to the gussing game \n\n\n\n\n"; cout << "rules\n"; cout << "1:do not type in letters\n"; cout << "2:only numbers\n"; cout << "3:no symbels\n"; cout << "4:numbers are bettwin 0-20\n"; cout << "5:do not type stuped stuff it will cause it to loop\n"; cout << "please type in any number between 0-20 \n\n\n\n\n"; cin >> number1; if (number1 > "20") { cout << " please type a number between 0-20 \n\n\n "; } if (number1 == "19") { cout << "you got it wrong type play to play again \n\n\n"; } if (number1 < "19") { cout << "woops you got that one wrong press play to play again \n\n\n"; cin >> number1; } if (number1 == "20") { cout << "good job you got it wrigh press play to play again \n\n\n"; cin >> number1; } if (number1 == "play") { cout << "type a number between 0-20 \n\n\n\n"; cin >> number1; } if (number1 == "15") { cout << "good job you got it wright \n\n\n"; } if (number1 < "14") { cout << "you got it wrong \n\n\n"; } if (number1 > "15") { cout << "you got it wrong \n\n\n"; } cout << "please type in any number between 0-20 \n\n\n"; cin >> number1; if (number1 > "20") { cout << " please type a number between 0-20 \n \n\n"; } if (number1 < "17") { cout << "woops you got that one wrong press play to play again \n\n\n"; cin >> number1; } if (number1 == "19") { cout << "good job you got it wrigh press play to play again \n\n\n"; cin >> number1; } if (number1 == "play") { cout << "type a number between 0-20 \n\n\n"; cin >> number1; } if (number1 == "14") { cout << "good job you got it wright \n\n\n"; } if (number1 < "13") { cout << "you got it wrong \n\n\n"; } if (number1 > "15") { cout << "you got it wrong \n\n\n"; } if (number1 == "13") { cout << "you got that one wrong \n\n\n"; } if (number1 == "14") { cout << "you got that one wrong \n\n\n"; } cin >> choice; break; case 7: grades(); cin >> choice; break; case 8: return 0; break; } } } |
You're only 12 years old, you shouldn't be on the computer learning C++, you should be going out and having fun ^_^.
~Cam |
When using the guessing game, if you press any of the menu options, that's what comes up. Including exit. And you don't wanna enter "OK" after entering both of your grades. Woah, this is actually VERY buggy. Type in the wrong thing and it totally floods you.
|
i know i have to change the numbers but this is just a small project.
camaro this is fun for me (: p.s DOnt point out the bugs i know it has problams just say i like it so i fell good lol (: |
I've been programming for quite some time now and I have a life, kind of. But, who needs friends when you have programming?
|
Indeed, you can always program something to tell you that you look nice today. =p Who needs sadistic, cruel, and hateful people anyhow!?
|
my compiler is my best friend lol
and it always tells me that im the best programer in the world hey onefishdown are you a c++ programer or just byond??? |
I don't like it.
You don't always get the correct answers..