Jump to content
xisto Community
Saint_Michael

Simple C++ Programs programming C++

Recommended Posts

the most simple program i can think of is given below with its part by part explanation

 

//in c++ we give single line comments like this

#include<iostream.h>//here we have included header file for using cout statement

#include<conio.h>//for using clrscr() and getch()

void main

{

clrscr();

cout<<"Welcome to the world of c++";

getch();

}

 

Output of this program would be like this

 

Welcome to the world of c++

 

Note: if you are not using conio.h and getch() you will not be able to see output on your monitor

 

this is it a c++ program could not be more simple than this

 

if you have any type of query regarding this u can send an email to chetanchauhan1991@gmail.com

 

Thank u for reading ;):P

Share this post


Link to post
Share on other sites

For those who really want to approach game production, you may try ogre3d which is a graphic render engine [Correct me if i'M WRONG]. Alternative way for orgre 3d is irrlicht which is open sourced and of course free. Irrlicht have come with a complete tool to make a profesional looking game. Last but not least, you can get very good support from both of their forum.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.