Hi
i am new programer in c++ and want somebody to show me the first step,
Thank you all :cheesy:

Recommended Answers

All 3 Replies

#include<iostream.h> //header file for basic input and output functions
void main() //main function
{
cout<<"Hello world"<<endl; //prints out "Hello world" and endl clears the stream
}

Hey,
As for me go to www.about.com & read their tutorial on c++, just about first 10 lessons & then ask exact questions :)))
IMHO tutorial is pretty good

#include<iostream.h> //header file for basic input and output functions
void main() //main function
{
cout<<"Hello world"<<endl; //prints out "Hello world" and endl clears the stream
}

  1. Please use code tags when posting code (

    ).

  2. #include<iostream.h> is decprecated.
  3. void main() is incorrect for a hosted implementation.
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.