void main() is not ansi compliant、Teaching noobs the wrong stuff:(
like i would teach the noobs the real way
Also, why are you using a namespace if you only use something from it only once.
using namespace std;
cout << "Hello World\n";
std::cout << "Hello World\n";
Which one seems shorter?
also, why would you not teach the right way, because you do not know it yourself?
Originally Posted by Virtual Void
Also, why are you using a namespace if you only use something from it only once.
using namespace std;
cout << "Hello World\n";
std::cout << "Hello World\n";
Which one seems shorter?
also, why would you not teach the right way, because you do not know it yourself?
because you cant learn c++ in a day im just dumbing it down
and btw i know it its just a dumbed down version
Originally Posted by KiraSietta
because you cant learn c++ in a day im just dumbing it down
and btw i know it its just a dumbed down version
what does not being able to learn in 1 day have to do with anything?
Don't you think it would help if you explained why it works rather than leaving people in the dark copying and pasting.
Giving a what may be a confusing explanation is over 9000 times better than letting somebody copy and paste without knowing what does what.
where can i download "brain"?
Originally Posted by Virtual Void
what does not being able to learn in 1 day have to do with anything?
Don't you think it would help if you explained why it works rather than leaving people in the dark copying and pasting.
Giving a what may be a confusing explanation is over 9000 times better than letting somebody copy and paste without knowing what does what.
@Virtual Void Wow serious talk from the sarcastic person I've seen on this forum
Originally Posted by tdct
@Virtual Void Wow serious talk from the sarcastic person I've seen on this forum
But hi is right, void main(void) is just WRONG WRONG WRONG!
It's something only VC++ allows and it's not a good thing if compilers start to implend their own interpretation of the ANSI standards. Although it's all the same to the os low level (int/void main) it's still wrong to do.