Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionprograming Pin
Dure-Shehwar12-Oct-06 5:56
Dure-Shehwar12-Oct-06 5:56 
AnswerRe: programing Pin
Zac Howland12-Oct-06 6:11
Zac Howland12-Oct-06 6:11 
AnswerRe: programing Pin
Makakuin12-Oct-06 7:32
Makakuin12-Oct-06 7:32 
GeneralRe: programing Pin
Makakuin12-Oct-06 7:47
Makakuin12-Oct-06 7:47 
AnswerRe: programing Pin
Christian Graus12-Oct-06 8:19
protectorChristian Graus12-Oct-06 8:19 
AnswerRe: programing Pin
Rudolf Jan13-Oct-06 0:14
Rudolf Jan13-Oct-06 0:14 
Questionprogramming Pin
Dure-Shehwar12-Oct-06 5:46
Dure-Shehwar12-Oct-06 5:46 
AnswerRe: programming Pin
David Crow12-Oct-06 5:51
David Crow12-Oct-06 5:51 
Dure-Shehwar wrote:
1) We are writing a DOS based application in which we have to display the system date and time. Write down the code for doing so.


Use the time-related APIs.

Dure-Shehwar wrote:
2) As we know that in a windows application whenever a key is pressed, a message is sent to the active window. We are developing a DOS based application and want to detect whenever a key is pressed from keyboard. How can we do so?


One such way is with getchar().

Good luck with your homework. Next time, either go to class or don't sleep when you do go. Read #9 here.


"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


GeneralRe: programming Pin
Hamid_RT12-Oct-06 6:37
Hamid_RT12-Oct-06 6:37 
AnswerRe: programming Pin
Hamid_RT12-Oct-06 6:39
Hamid_RT12-Oct-06 6:39 
GeneralRe: programming Pin
led mike12-Oct-06 8:12
led mike12-Oct-06 8:12 
GeneralRe: programming Pin
Hamid_RT12-Oct-06 19:48
Hamid_RT12-Oct-06 19:48 
AnswerRe: programming Pin
Mark Salsbery12-Oct-06 10:02
Mark Salsbery12-Oct-06 10:02 
GeneralRe: programming Pin
Christian Graus12-Oct-06 10:11
protectorChristian Graus12-Oct-06 10:11 
GeneralRe: programming Pin
Mark Salsbery12-Oct-06 10:26
Mark Salsbery12-Oct-06 10:26 
QuestionConstructing a tree Pin
llp00na12-Oct-06 4:25
llp00na12-Oct-06 4:25 
QuestionRe: Constructing a tree Pin
David Crow12-Oct-06 5:56
David Crow12-Oct-06 5:56 
Questionrepresent string as its DWORD value Pin
Makakuin12-Oct-06 3:37
Makakuin12-Oct-06 3:37 
AnswerRe: represent string as its DWORD value Pin
Mark Salsbery12-Oct-06 4:48
Mark Salsbery12-Oct-06 4:48 
GeneralRe: represent string as its DWORD value Pin
Makakuin12-Oct-06 7:20
Makakuin12-Oct-06 7:20 
GeneralRe: represent string as its DWORD value Pin
Mark Salsbery12-Oct-06 7:43
Mark Salsbery12-Oct-06 7:43 
AnswerRe: represent string as its DWORD value Pin
Zac Howland12-Oct-06 7:24
Zac Howland12-Oct-06 7:24 
GeneralRe: represent string as its DWORD value Pin
Makakuin12-Oct-06 7:41
Makakuin12-Oct-06 7:41 
GeneralRe: represent string as its DWORD value Pin
Zac Howland12-Oct-06 7:56
Zac Howland12-Oct-06 7:56 
GeneralRe: represent string as its DWORD value [modified] Pin
Makakuin12-Oct-06 9:09
Makakuin12-Oct-06 9:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.