Who can help me with a code in C... please!
whats the code??
where is the code?
@ 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?
and agdgdgdgwngo
In C, 0 is false and anything else is not false (true). You can use an integer and just test accordingly.
u can define true as 1 and false as 0 #define true 1 #define false 0 it might be useful for u
even better: typedef enum {false, true} bool; bool x;
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..
Join our real-time social learning platform and learn together with your friends!