Can anyone tutor me me in C++? I would GREATLY appreciate it. Will +Rep
Can anyone tutor me me in C++? I would GREATLY appreciate it. Will +Rep
There's tons of c++ tutorials out there already. Just google it :P
I want someone to like teach me, not link a tutorial.
But you're probably not going to find anyone willing to tutor you, at least not for free, and especially not if you don't want to put in the effort of just reading a tutorial.
The easiest way would probably be to just buy a book on the subject, there are lots of good books about c++
well if you want an small tutor i can make you one :P but first of all if you think straight going for game programming or applications n/a not gonna happen.
so lets get started.
file-> new -> project -> Console app.
//* these things are comments and will not do anything harm for the program if you have them after Slash.
feel free to pm me.#include <iostream>
//* allways add ; after everylane. expect #include lanes
using namespace std; //* this is not neccesary.
int main(int argc, char *argv[])
int number; //* this allows people write numbers to you program.
char name[20]; //* allows write letters the [20] means which is the letter cap
float decimal; //* this allows ppl to write decimals like 0.5, i wont tell anything more about this in the program..
{
cout << "enter a number here tyty"; //* cout will print the text on screen which is in side quoting marks ("")
cin >> number; //* this reads the last lanes command and writes it down for the system.
cout <<"enter a word here maximum letters is set to 20";
cin >> name; //* this reads the letters which were typed.
cout <<" hello " << name << "u entered number" << number; //* this will tell the word and the number which the user entered.
system("PAUSE");
return EXIT_SUCCESS;
}
Last edited by B0unty; 03-23-2009 at 10:47 AM.
what gibs?
it wont wreck the program just ends it..
Uh? Your declaring the variables outside the brackets? I assume I'm wrong but I was always taught to do it inside of them.
your using a sledgehammer to knock over a dollhouse.
for more information. see Things to Avoid in C/C++ -- system("pause"), Part 4 - GIDNetwork