Not bad for a first try
My first c++ program!
Hmm..
Needs more sand. 
Na, all joking aside, its a pretty good beginners program. My first
program was a calculator. Baby-steps, baby-steps!

Na, all joking aside, its a pretty good beginners program. My first
program was a calculator. Baby-steps, baby-steps!

lol, my second program failed (I was writing it for 3 hours and than realized that its impossible) it was supposed to be a converter like 10000mm = xkm2 xmm2 and so on. but the numbers went so big that there came e+ instead of numbers.
But my third program was useful lol. I made 2 euros with it. sold 1 to my dad`s friend and 1 to my dad`s other friend.
There is a TM (Dont know how that is in english) and it is the weight of a log or a plank. And i didnt find it on the internet anywhere so i made a program that calculates the logs/planks weight !, and lol i made money!
But my third program was useful lol. I made 2 euros with it. sold 1 to my dad`s friend and 1 to my dad`s other friend.
There is a TM (Dont know how that is in english) and it is the weight of a log or a plank. And i didnt find it on the internet anywhere so i made a program that calculates the logs/planks weight !, and lol i made money!
no offence but they probably will not use it。 Just trying to support you。。
@Auxilium
1. your evil
2. not true, read below:
xD no, they have been looking for it on the internet for like few weeks and they didnt find it anywhere (And since they have no brains to calculate it with a normal calc) now since they have a big forest and they need to calculate the TM so i made it, and they bought it and their using it. xD
lol i know yeah 2 euros. But its still some money for half an hour learning. and too bad, already wasted it. xD
YAY! i made an age calculator! O.o
c++ is so awesome!
how to fix this?
1. your evil
2. not true, read below:
xD no, they have been looking for it on the internet for like few weeks and they didnt find it anywhere (And since they have no brains to calculate it with a normal calc) now since they have a big forest and they need to calculate the TM so i made it, and they bought it and their using it. xD
lol i know yeah 2 euros. But its still some money for half an hour learning. and too bad, already wasted it. xD
YAY! i made an age calculator! O.o
Code:
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
double yearywb, month, day, year, age, tmonth, tday, num1, num2, num3, num4, num5;
cout << "Welcome to your age calculator (YAC) \n" << "Maker : Kevin Laig \n\n";
cout << "What year were you born? \n";
cin >> yearywb;
cout << "What month were you born(may = 5, okt = 10)? \n";
cin >> month;
cout << "What day were you born?(1-31) \n";
cin >> day;
cout << "What year is this? \n";
cin >> year;
cout << "What month is this?(1-12) \n";
cin >> tmonth;
cout << "What day is it? (1-31)\n";
cin >> tday;
num1 = year - yearywb;
num2 = tmonth - month;
num3 = tday - day;
cout << "You are " << num1 << " years, " << num2 << " month(s) and " << num3 << "days old. \n\n";
cout << "NOTE: if the answer for months is -X then calculate 12 - X";
cout << endl;
cout << "(X = a number you got for months) and you get the real answer but if "<<endl <<"your answer is -x for days then look from calendar how many" << endl << "days in this month are (28/30/31) and do 28/30/31 - X" << endl << "(X = the number you got for days) \n\n ";
system("pause");
return 0;
}
how to fix this?
^^ #include <Windows.h>
thx whit! lol are you the only one that has helped in this thread lol?
@Ronon666
1e+ means 1.0x10 to the power of X. for instance. 1e+06 is 1 to the 6th power, or 1 million ie 6= 6 zeros
1e+ means 1.0x10 to the power of X. for instance. 1e+06 is 1 to the 6th power, or 1 million ie 6= 6 zeros
O.o ppl hijacking this thread! help!!!
jk. yeah @'Bruno you have helped too.
O.o how can you write your name in japanese/korean or wtf are those?
@Minato_Nagato thx but i have already abandoned that project like a long time ago. Well im off to learn something new and epic.
jk. yeah @'Bruno you have helped too.
O.o how can you write your name in japanese/korean or wtf are those?
@Minato_Nagato thx but i have already abandoned that project like a long time ago. Well im off to learn something new and epic.


