tag:blogger.com,1999:blog-7092135066960371093.post9089669291700189247..comments2024-01-07T18:31:51.524-08:00Comments on C Tutor... C Tutorial....: Program to compute difference between two datesPop's Worldhttp://www.blogger.com/profile/04964875113190825498noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-7092135066960371093.post-46148419959772765112010-10-21T03:43:08.728-07:002010-10-21T03:43:08.728-07:00can I ask what would be the output of this program...can I ask what would be the output of this program. this is for our project. please help me.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7092135066960371093.post-49160314044984271472010-03-14T12:37:26.641-07:002010-03-14T12:37:26.641-07:00all of u r idiot
just make some changes
this pro...all of u r idiot <br />just make some changes <br />this program will work currectly <br />n there r not that much errors asshown above <br />only 3-4 errors were thereAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7092135066960371093.post-31967450061309663812010-02-08T02:40:50.570-08:002010-02-08T02:40:50.570-08:00horrible one..sorryhorrible one..sorryUnknownhttps://www.blogger.com/profile/06743661460802294384noreply@blogger.comtag:blogger.com,1999:blog-7092135066960371093.post-84439238341725060212009-05-12T10:23:00.000-07:002009-05-12T10:23:00.000-07:00Friend actually when i post this programs some par...Friend actually when i post this programs some part in TAG is omitted by blogger, i dont know the reason, but it happning,so i have posted all this program in my new site : www.glearn.net <br />please try the program from there...sorry for problem.. thanksPop's Worldhttps://www.blogger.com/profile/04964875113190825498noreply@blogger.comtag:blogger.com,1999:blog-7092135066960371093.post-45414516973313069942009-03-13T14:16:00.000-07:002009-03-13T14:16:00.000-07:00Nope not working, I think it just needs some rewor...Nope not working, I think it just needs some rework. Tried to compile on Dev-C (windows) and in native gcc (Linux) both failed, mostly getting parameter list declarations errors, along with conflicting types, and return types not being correct. Here is the output from GCC directly:<BR/><BR/>computeyears.c: In function `main':<BR/>computeyears.c:13: error: syntax error before "ref"<BR/>computeyears.c:17: error: syntax error before '{' token<BR/>computeyears.c:4: warning: return type of 'main' is not `int'<BR/>computeyears.c: At top level:<BR/>computeyears.c:21: error: `day1' undeclared here (not in a function)<BR/>computeyears.c:21: error: `year1' undeclared here (not in a function)<BR/>computeyears.c:21: error: `ref' undeclared here (not in a function)<BR/>computeyears.c:21: warning: data definition has no type or storage class<BR/>computeyears.c:22: error: syntax error before string constant<BR/>computeyears.c:22: error: conflicting types for 'printf'<BR/>computeyears.c:22: note: a parameter list with an ellipsis can't match an empty parameter name list declaration<BR/>computeyears.c:22: error: conflicting types for 'printf'<BR/>computeyears.c:22: note: a parameter list with an ellipsis can't match an empty parameter name list declaration<BR/>computeyears.c:22: warning: data definition has no type or storage class<BR/>computeyears.c:24: warning: data definition has no type or storage class<BR/>computeyears.c:25: error: syntax error before "for"<BR/>computeyears.c:26: error: syntax error before '{' token<BR/>computeyears.c:30: error: redefinition of 'dd2'<BR/>computeyears.c:24: error: previous definition of 'dd2' was here<BR/>computeyears.c:30: error: `mon2' undeclared here (not in a function)<BR/>computeyears.c:30: error: `day2' undeclared here (not in a function)<BR/>computeyears.c:30: error: `year2' undeclared here (not in a function)<BR/>computeyears.c:30: warning: data definition has no type or storage class<BR/>computeyears.c:31: error: syntax error before string constant<BR/>computeyears.c:31: warning: data definition has no type or storage class<BR/>computeyears.c:32: error: syntax error before string constant<BR/>computeyears.c:34: warning: data definition has no type or storage class<BR/>computeyears.c:35: error: syntax error before '}' token<BR/>computeyears.c:59:3: warning: no newline at end of fileAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7092135066960371093.post-69378188779175532342009-02-22T10:22:00.000-08:002009-02-22T10:22:00.000-08:00This looks absolutely horrible!This looks absolutely horrible!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7092135066960371093.post-71870850819407650622009-02-21T22:27:00.000-08:002009-02-21T22:27:00.000-08:00sorry this doesnt work...sorry this doesnt work...Anonymousnoreply@blogger.com