viernes, 20 de noviembre de 2009

Programming Language(language c + +):

C + + is a programming language designed in the mid-1980s by Bjarne Stroustrup. The intention of its creation was to extend the successful C programming language with mechanisms that allow manipulation of objects.

Any program in C + + should have the main () (unless specified at compile time another entry point, which actually is the function that has the main ())

The main function must have one of the following prototypes:int main ()int main (int argc, char ** argv)The first is the omission of a program that receives no parameters or arguments. The second form takes two arguments: argc, a number that describes the number of arguments the program (including program name itself), and argv, a pointer to an array of pointers to argc elements, where the element argv [i] represents the i-th argument given to the program.The return type of main is int. At the end of the main function, must include the return value (for example, return 0;, although the standard provides only two possible return values: EXIT_SUCCESS and EXIT_ERROR defined in cstddef file), or leave through the exit function . Alternatively you can be left blank, in which case the compiler is responsible for adding the proper output.
luisa nuñez

No hay comentarios:

Publicar un comentario