LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C Programming in Linux
#3
yes that made a difference, now it is compelling and the output is correct but there i still a problem.
Code:
chapter2_1.c: In function ‘main’:
chapter2_1.c:23:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
         sizeof(char),sizeof(int),sizeof(float));
         ^
chapter2_1.c:23:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
chapter2_1.c:23:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
chapter2_1.c:25:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
                 ((STRINGSIZE*3) * sizeof(char)) + sizeof (int) + (2 * sizeof(float)));


and to your question,  i get my book from bookboom

Code:
http://bookboon.com/
Reply


Messages In This Thread
C Programming in Linux - by hhbuur - 04-14-2015, 11:16 AM
Re: C Programming in Linux - by gold_finger - 04-18-2015, 02:46 AM
Re: C Programming in Linux - by hhbuur - 04-18-2015, 10:29 AM
Re: C Programming in Linux - by gold_finger - 04-18-2015, 01:55 PM
Re: C Programming in Linux - by hhbuur - 04-19-2015, 12:05 PM
Re: C Programming in Linux - by gold_finger - 04-19-2015, 02:24 PM
Re: C Programming in Linux - by avj - 04-19-2015, 04:54 PM
Re: C Programming in Linux - by hhbuur - 04-21-2015, 09:27 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)