how to write a c++ program

How to Write a program in C++

how to write a c++ program

First program in a C++

//My first C++ program
void main()
cout<<“Enter your namen”;

Describing of a program

//My first C++ program———–is a comment compiler not executed comments. comments are
only use in program for understand a program quickly.

# sign statement is represent directrites for the preprocessor, these type of statements are
proceed before compile.

#include represent for insert header file like iostream.h

Void Main() or int main()
from here main program is starting.

Memory boost tips

Releated Post

Leave a Reply

Your email address will not be published. Required fields are marked *