viernes, 11 de mayo de 2012

a.out

 Steps in Developing a Program in C

 $ touch       hello.c

#include <stdio.h>

main()
{
printf("Hello, world!\n");
return 0;
}


 $ gcc hello.c

  a.out -- > file create

--------------------------------------------
Steps in Developing a Program in C++


  $ touch       hello.cpp



#include<iostream>
 using namespace std;

int main()
{
    cout << "First c++ program!";
    return 0;
}


  $ g++ hello.cpp

  a.out -- > file create




a.out remains the default output file name for executables created by certain compilers/linkers when no output name is specified, even though these executables are no longer in the a.out format.


These files can be found here

https://www.dropbox.com/sh/5ubehsnaufd8d0w/mJsOKVg4Th/code%20files

http://en.wikipedia.org/wiki/A.out_%28file_format%29




No hay comentarios:

Publicar un comentario