hi everyone,
would u please help me! i want to write programme that contain 3 files, 2 with cpp suffix (like date.cpp & testDate.cpp) and 1 with h suffix(like date.h), i want to write function prototype in date.h file and put down main function in testDate.cpp file and put down trunk of function in date.cpp file.
i want the programme operates like this:if i put xth day of year , it gives me date of that day and on the contrary.
what function should i use? and what should i write in main function?
thanks
would u please help me! i want to write programme that contain 3 files, 2 with cpp suffix (like date.cpp & testDate.cpp) and 1 with h suffix(like date.h), i want to write function prototype in date.h file and put down main function in testDate.cpp file and put down trunk of function in date.cpp file.
i want the programme operates like this:if i put xth day of year , it gives me date of that day and on the contrary.
what function should i use? and what should i write in main function?
thanks
Comment