Hello everyone!
I'm trying to learn C++, because hopefully I'll study that this autumn. So, I'm curious about which sites thats good to learn from I'm learning now from cplusplus.com, I think it's easy to learn and good basics. Do you guys have sites to recommend?
Also, I'm using Dev-C++ now as a compiler and it works well but is Borland better? In which case?
Because everytime I compile, the program just run in 0.001 seconds and then its gone. system ("pause") isn't so good, any other way?
I use this now:
std::cout << "";
std::cin.ignore( std::numeric_limits<std::streamsize>::max(), '\n' );
And as you see, alot to remember for a n00b. getch(); is for Borland only. Anything from Dev-C++?
Thanks guys!
//My first program
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello Piriform!";
return 0;
}
I did this without cheating, yeay! One day I want to contribute to Piriform