Re : why the same? 
Author Message
 Re : why the same?

Quote:
> >> >    printf("\n&multi[0][0] = %u", &multi[0][0]);
> >> >    printf("\n&multi = %u", &multi);
> >> >    printf("\n&multi[0] = %u", &multi[0]);
> >> >    return(0);
> >> >}

> >> test.c:9: warning: unsigned int format, pointer arg (arg 2)
> >> test.c:10: warning: unsigned int format, pointer arg (arg 2)
> >> test.c:11: warning: unsigned int format, pointer arg (arg 2)

> >> Better fix those first.

> >I use Borland C++ ver 5.02 and no such error occurs.

> >what compiler is prefered such that I learn the correct syntax of programming?

> "gcc -O -Wall -ansi -pedantic" is what you need as a novice programmer.
> If you are a Windows user, gcc is freely available as cygwin.

> Dan

I installed DJGPP and compiled the same program using:
gcc myprogram.c -o myprogram.exe
it did not give an error.
What is gcc -O -Wall -ansi -pedantic?Is it a book?

Amir.



Sat, 02 Apr 2005 06:44:09 GMT  
 Re : why the same?


Quote:
> I installed DJGPP and compiled the same program using:
> gcc myprogram.c -o myprogram.exe
> it did not give an error.
> What is gcc -O -Wall -ansi -pedantic?Is it a book?

> Amir.

since you have installed djgpp, you can read the online docs by entering

info gcc

on the command line.

--
A. Sinan Unur

Remove dashes for address



Sun, 03 Apr 2005 05:41:01 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. why, Why, WHY

2. Why oh Why can no one help me..

3. Interface IDs - why oh why??

4. Why? Why? Why? ATL Component not registering

5. WHY? WHY? WHY?

6. WHY? WHY? WHY?

7. WHY? WHY? WHY?

8. Alloca... Why and Why not?

9. Noise: Why C, Why VB and when to C++ or even going Visual?

10. realloc(): Why? Why not?

11. Why does .Execute in Command Object slower??Also why is dts faster than Ado??

12. Why This Works? Why This Not Works?

 

 
Powered by phpBB® Forum Software