Hi

Can anyone tell me please How i can make program in C++.


Thanks.

Recommended Answers

All 4 Replies

Hi

Can anyone tell me please How i can make program in C++.


Thanks.

#include <iostream.h>
#include <conio.h>

int main()
{
      clrscr();
      cout << "Happy journey to C++";
      getch();
      return 0;
}

Best of luck...

Furthermore, u need to set your compiler lib directory if you are using turbo compiler in order to compile your test program (only if the above test program does not compile)

Hi

Can anyone tell me please How i can make program in C++.


Thanks.

I don't think that we can teach you how to program in a forum. However, there is an excellent list of good C++ books/tutorials listed at the beginning of this forum. That would be your best place to start. Read, learn, practice, and we'll help you whenever you get stuck and go "Huh?"... ;)

download code::blocks, start a new console project, then type:

#include <iostream>
using namespace std;
int main(){
cout << "Hello World" << endl;
system("PAUSE");
return 0;
}

Hit F9, then look up more tutorials on youtube

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.