Hello, I'm Zuero, and I've taken an interest in C++ coding.
If anyone would like to give any tips, please do.
I just started doing C++ so I won't have any huge programs.
Programs:
DayTeller - This program tells you what day it is when you edit the code.
Download:
http://www.megaupload.com/?d=PO38PU6ACode:
#include <iostream>
int main()
{
enum Days { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, INSERTDAYHERE };
Days today;
today = INSERTDAYHERE;
if (today == Sunday)
std::cout << "\nToday is Sunday.\n";
if (today == Monday)
std::cout << "\nToday is Monday.\n";
if (today == Tuesday)
std::cout << "\nToday is Tuesday.\n";
if (today == Wednesday)
std::cout << "\nToday is Wednesday.\n";
if (today == Thursday)
std::cout << "\nToday is Thursday.\n";
if (today == Friday)
std::cout << "\nToday is Friday.\n";
if (today == Saturday)
std::cout << "\nToday is Saturday.\n";
if (today == INSERTDAYHERE)
std::cout << "\nYou need to set what day it is in the code!\n";
int x;
std::cin >>x;
return 0;
}
Oh, and one of my 1st code things:
//First self script
#include <iostream>
int main()
{
std::cout << "Hello Blockland Forums!\n";
std::cout << std::endl;
std::cout << "I am learning how to code C++, and this is my first self made program!\n";
std::cout << std::endl;
std::cout << "Wish me luck!\n";
std::cout << std::endl;
std::cout << "-Zuero\n";
int x;
std::cin >>x;
return 0;
}
JimHello - This is a program that took a while to fix the bugs.
Credits: Blaman for helping me with the 2nd bug, where when you put a letter in it
would tell you to press any key to exit the program.
Download:
http://www.megaupload.com/?d=PNTK88GQ