πŸ‘ My first c++ program!

Posts 16–30 of 32 Β· Page 2 of 3
Hmm..
Needs more sand.

Na, all joking aside, its a pretty good beginners program. My first
program was a calculator. Baby-steps, baby-steps!
Quote Originally Posted by PB&J View Post
Needs more sand.

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!
Quote Originally Posted by Ronon666 View Post
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!
2 WHOLE EUROS!? Don't spend it all at once ^^
ο½Žο½γ€€ο½ο½†ο½†ο½…ο½Žο½ƒο½…γ€€ο½‚ο½•ο½”γ€€ο½”ο½ˆο½…ο½™γ€€ο½ο½’ο½ο½‚ο½ο½‚ο½Œο½™γ€€ο½—ο½‰ο½Œο½Œγ€€ο½Žο½ο½”γ€€ο½•ο½“ο½…γ€€ο½‰ο½”γ€‚γ€€οΌͺust γ€€ο½”ο½’ο½™ο½‰ο½Žο½‡γ€€ο½”ο½γ€€ο½“ο½•ο½ο½ο½ο½’ο½”γ€€ο½™ο½ο½•γ€‚γ€‚
@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
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;
}
c++ is so awesome!


how to fix this?
Quote Originally Posted by Ronon666 View Post
@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
οΌ‘γ€‚γ€€οΌ¨ο½ο½—γ€€ο½ο½γ€€ο½‰γ€€ο½…ο½–ο½‰ο½ŒοΌŸ
οΌ’γ€‚γ€€οΌ©ο½†γ€€ο½”ο½ˆο½…ο½™γ€€ο½ο½’ο½…γ€€ο½”ο½ο½γ€€ο½“ο½”ο½•ο½ο½‰ο½„γ€€ο½”ο½γ€€ο½„ο½γ€€ο½γ€€ο½“ο½‰ο½ο½ο½Œο½…γ€€ο½ƒο½ο½Œο½ƒο½•ο½Œο½ο½”ο½‰ ο½ο½Žγ€€οΌ©γ€€ο½„ο½γ€€ο½Žο½ο½”γ€€ο½‹ο½Žο½ο½—γ€€ο½ˆο½ο½—γ€€ο½”ο½ˆο½…ο½™γ€€ο½ƒο½ο½•ο½Œο½„γ€€ο½ˆο½ο½–ο½…γ€€ο½ο½ο½„ο½…γ€€ο½‰ο½”γ€€ο½”ο½ˆο½‰ο½“γ€€ ο½†ο½ο½’γ€€ο½‰ο½Žγ€€ο½Œο½‰ο½†ο½…γ€‚γ€‚
thx whit! lol are you the only one that has helped in this thread lol?
Quote Originally Posted by Ronon666 View Post
thx whit! lol are you the only one that has helped in this thread lol?
Im just one helpful Motha Fucka
Quote Originally Posted by Ronon666 View Post
thx whit! lol are you the only one that has helped in this thread lol?
you just ignored my tips. so why would i care.. for example.. ^^

Holy Shit Patrick..
ο½Œο½ο½Žο½‡γ€€ο½”ο½‰ο½ο½…γ€€ο½Žο½γ€€ο½“ο½…ο½…γ€€ο½‡ο½•ο½‰ο½“ο½…γ€€
Quote Originally Posted by Kallisti View Post
ο½Œο½ο½Žο½‡γ€€ο½”ο½‰ο½ο½…γ€€ο½Žο½γ€€ο½“ο½…ο½…γ€€ο½‡ο½•ο½‰ο½“ο½…γ€€
ο½„ο½•ο½„ο½…γ€€ο½‰γ€€ο½ˆο½ο½–ο½…γ€€ο½Žο½ο½”γ€€ο½“ο½…ο½…ο½Žγ€€ο½™ο½ο½•γ€€ο½†ο½ο½’γ€€ο½Œο½‰ο½‹ο½…γ€€οΌ•γ€€ο½ο½ο½Žο½”ο½ˆο½“
Quote Originally Posted by Ronon666 View Post
lol, btw is there a way to remove e+ from really big numbers from the answer if your doing something like 1 km2 = 1000000mm2 but i want to make 1000km = 10000........ but when i do that it gives me 1e+0000
@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
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.
Posts 16–30 of 32 Β· Page 2 of 3

Post a Reply

Talk with us