to helios:
thanks~~~~
i will give it a try on this~~~~
to johnkravetzki:
i am learning C++ recently~~~
and i'm a newbie at programming~~~~
about why i like to put this '~~~'
.... maybe its just kind of habit when i was chatting with other people in online game
its hard to see when i write '.' this symbol~~~~ =.='''
to NGen:
sleep?
do you mean i need to type system("Sleep"); in my source code??
to Duoas:
thanks~~~~
i'll take the examples there as a referrence~~~~~
The "Sleep" to which NGen refers is the same as the one used in the Windows section of my code in the link I gave you. (It is a Win32 API function defined in Kernel32.dll .)
i'm using ctime to delay the output~~~~~
and finally i managed to work it out~~~~~~~
now i can send my assignment to my teacher~~~~~
actually my assignment is to design a program which acts like an online booking program for booking flight ticket. users are required to input their name, number of passenger, passport of each passenger.
then users are prompt to select their source and destination~~~~
the application should read from input files, named inBoundFlight.txt and outBoundFlight.txt
then users are prompt to input their departure date
the application will then output the user estimated arrival date and time~~~~
the same information should also be written in an external output text~~~~