[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Kan ikke starte C++!!!



On Sun, 11 Apr 1999, "Thomas L. Jørgensen" wrote:

> Hej.
> 
> Jeg er rigtig "grøn" hvad Linux angår, så jeg har lige et spørgsmål, som jeg håber i kan svare på.
> 
> Hvis jeg vil start C++, skal jeg så bare skrive C++????
> 
> Når jeg gør det, så skriver den en fejlbesked til mig:
> 
> /usr/lib/crt1.o(.text+0x36): undefined reference to 'main'
> collect2: ld returned 1 exit status
> 
> Hvad gør jeg galt, og hvad kan jeg gøre for at få rettet dette???
Du måste du ha en fil att kompilera innan du kan kompilera, ganska logiskt
väl? =))

g++ hello.cc -o hello

(kompilatorn heter g++)

--
Med vänlig hälsning
Kalle Andersson
sslug@sslug




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *