AAAAARGH!!!!
What gives? I've been learning all about variables and stuff and when I tried to make something out of what I've learned I've errors..
/*Making variables is fun
and I will have lots of fun
doing them today! So of with
the show! As a I output stupid
text using fun stuff like
variables!! :D*/
#include <iostream>
using namespace std;
int var_tex_a; //this is a dandy global variable
int >> var_tex_b; //although somewhat obsolete, in this case, this is and external variable (which doesn't seem to work)
int hello;
int main () //so this should be starting the main function...
{
int stuff; //and this is a local variable
var_tex_a = "pretty images"; //here I assign stuff for the variables...
stuff = "I made this stuff! :D";
hello = "HELLO WORLD!"
//and now I shall generate the actions for the program! :D
cout << "So this is very hard to do" /n;
cout << "seing that I'm programing for the very first time" /n;
cout << "I can now make a more complex 'Hello world thing'" /n;
cout << "but on with the dandy output:" /n;
cout << ""/;
cout << hello /n:
cout << /t /t stuff endl;
return 0;
}
//which seems not to work... how disapointing!
The comments explain just what I was trying to make in each line... but I got too many errors!
When I tried:
/*Making variables is fun
and I will have lots of fun
doing them today! So of with
the show! As a I output stupid
text using fun stuff like
variables!! :D*/
#include <iostream>
using namespace std;
int var_tex_a; //this is a dandy global variable
int >> var_tex_b; //although somewhat obsolete, in this case, this is and external variable (which doesn't seem to work)
int hello;
int main () //so this should be starting the main function...
{
int stuff; //and this is a local variable
var_tex_a = "pretty images"; //here I assign stuff for the variables...
stuff = "I made this stuff! :D";
hello = "HELLO WORLD!"
//and now I shall generate the actions for the program! :D
cout << "So this is very hard to do" /n;
<< "seing that I'm programing for the very first time" /n;
<< "I can now make a more complex 'Hello world thing'" /n;
<< "but on with the dandy output:" /n;
<< ""/;
<< hello /n:
<< /t /t stuff endl;
return 0;
}
//which seems not to work... how disapointing! half of the errors went away!
I've fiddled with the code for hours now, but I just don't see what's wrong!


Sorry for bugging you with trivial questions like this one, but I figure I must learn by annoying someone... (you were just unlucky enough to be picked by me).
Just look on the bright side, maybe when I become a super-programmer-type-guy I can help you instead!
