[Ubuntu-ma] [ubuntu-ma] C++ help

mezgani ali handrix at gmail.com
Ven 20 Aou 05:57:13 BST 2010


Salam,


Procèdes ainsi :

g++ -c file.c
g++ -o main main.c file.o

Ou bien tu peux écrire une petite Makefile pour cet usage.

Cordialement,

2010/8/20 kosaidpo <kosaidpo at gmail.com>

> salut les gens bon je viens de commencer l 'appentissage de c++  et voila
> mon premier soucis
>
> j'ai trois fichier file.cpp file.h main.cpp je sais pas comment linker tout
> ces fichier et les compiler pour avoir le executable
>
> j'ai passe environ une heur ou plus sans succes : (
>
> PS :j'ai GCC
>
> kosaidpo ,
>
> merci
>
> --
> Ubuntu-ma mailing list
> Ubuntu-ma at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>
>


-- 
Ali MEZGANI
Network Engineering/Security
http://securfox.wordpress.com/
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: https://lists.ubuntu.com/archives/ubuntu-ma/attachments/20100820/821b977c/attachment.htm 


Plus d'informations sur la liste de diffusion Ubuntu-ma