[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] C-programmering i MS Visual Studio



Mange gange grin :))

Men tak for hjælpen, men det var desværre ikke det...
Windåse lort.... :)


Vi forsager Bill Gates
og alle hans gerninger
og alt hans væsen

Vi tror på Linus Thorvald
den almægtige,
Linux' skaber

Så er jeg ik lige mere kreativ...

Andre forslag??

"Søren H. Sørensen" <sslug@sslug> wrote in message
news:sslug@sslug
> Hej.
>
> Alle referencer til Microsoft, her, er det nærmeste man kommer eder og
> forbandelser, men skidt.
>
> > For det første kan jeg godt programmere C i en C++ compiler ik'? Men
ikke
> > omvendt selvfølgelig...
> >
> Det er nemlig rigtigt, men c++ er meget mere "krakilsk" med at alle de
> rigtige headers er der.
>
> > Jeg er nybegynder og jeg vil lave noget så simpelt som en tekst det
looper
> > et vist antal gange og så ville det jo muligvis se sådan ud:
> >
> > #include <stdio.h>
>
> Det starter meget godt men ved programstarten går det en smule galt, for
> der er en konvention der siger at et main-program skal returnere en
> integer, altså
>
> int main( void )   /* void for at fortælle compileren at man ønsker
> intet */
>    {
>    int i;
>
>    for( i=0; i<10 ; i++ )
>      printf( "Loop\n" );
>    }
>
> Resten er sådan set OK og vil virke, men bemærk at jeg anvender en
> c-specialitet i din for-sætning. i++ udfører det der hedder en
> post-increment, som altså er "i=i+1" i slutningen af din for-løkke.
>
> Husk at Linus Torvalds er gud og Linux himmeriget, mens Bill Gates er
> fanden og Windows er helvede *grin*
>
> M.v.h.
> Søren
>




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 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] *