I am trying to self learn c++ and the first program mentioned in my book is
#include <iostream>
using namespace std;
int main()
{
cout << "c++ is better than c.\n ";
return 0;
}
In which of the digit's cd/dvd, the program which can execute this code is given?
^^what you need is a compiler.If you are on linux then g++ is preinstalled anf you can use it through terminal.In windows you need to download and install a compiler(most comes as IDEs,IDE:integrated develpoment environment,its just a compiler+a good editor in simple terms).I would suggest devc++.
I dont know about digit's cd\dvd having compilers.
I have a very slow connection and takes over an hour. So anything from digit's?
Try turbo c++ to compile.its ok for learning c++ and also a small download
Unless you are going to a class where they are teaching with Turbo C++, I would recommend that you avoid Turbo C++ because it has a lot of non-standard functions... You will end up creating programs that will not work easily with others...
Dev C++ is a very good alternative for learning... It has a simple interface that will help you get started...
Arun
@saubrl
Download Dev C++
Do u hv any e-book regarding c++?....
Read books and execute programs... I used turbo c++