Ask your own question, for FREE!
Computer Science 11 Online
OpenStudy (anonymous):

Who can help me with a code in C... please!

OpenStudy (anonymous):

whats the code??

OpenStudy (anonymous):

where is the code?

OpenStudy (anonymous):

@ ajay I have to right a code in C that determines how many days are inbetween two dates.. I believe so far im going fine.. but these stupid true false values are not like java. Any advice about going about doing this code?

OpenStudy (anonymous):

and agdgdgdgwngo

OpenStudy (rsmith6559):

In C, 0 is false and anything else is not false (true). You can use an integer and just test accordingly.

OpenStudy (anonymous):

u can define true as 1 and false as 0 #define true 1 #define false 0 it might be useful for u

OpenStudy (anonymous):

even better: typedef enum {false, true} bool; bool x;

OpenStudy (anonymous):

Try this out: http://codepad.org/VzdGWdyL

OpenStudy (anonymous):

yep...yu can just verify the code using primary codes before implementing directly.....and more over yu can trace thye code for twice..if it is so complex..make it simple by assigning values as suggested above..

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!