Click here to Skip to main content
16,012,116 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: String Parsing Pin
Vitali Halershtein1-Sep-03 0:31
Vitali Halershtein1-Sep-03 0:31 
GeneralRe: String Parsing Pin
KKR1-Sep-03 0:56
KKR1-Sep-03 0:56 
GeneralDetermine whether keyboard connected with computer Pin
El'Cachubrey31-Aug-03 23:05
El'Cachubrey31-Aug-03 23:05 
GeneralLengthy operation without blocking the UI Pin
Jeremy Pullicino31-Aug-03 22:21
Jeremy Pullicino31-Aug-03 22:21 
GeneralRe: Lengthy operation without blocking the UI Pin
RChin31-Aug-03 22:57
RChin31-Aug-03 22:57 
GeneralRe: Lengthy operation without blocking the UI Pin
Frank Downunder1-Sep-03 2:17
Frank Downunder1-Sep-03 2:17 
GeneralFraction number input and output Pin
Jahangir Jamshed31-Aug-03 21:52
sussJahangir Jamshed31-Aug-03 21:52 
GeneralRe: Fraction number input and output Pin
KaЯl1-Sep-03 5:23
KaЯl1-Sep-03 5:23 
A solution could be to store separately the two numerators and the two denominators with 4 int variables, and then calculate the addition like this

N1/D1 + N2/D2 = (N1*D2 + N2*D1)/(D1*D2).

The next task would be to simplify the result by finding the greatest common divisor of the new numerator and the new divisor.

HTH,

K.






Every gun that is made, every warship launched, every rocket fired, signifies in the final sense a theft from those who hunger and are not fed, those who are cold and are not clothed - Dwight D. Eisenhower

GeneralRe: Fraction number input and output Pin
LittleYellowBird1-Sep-03 5:36
LittleYellowBird1-Sep-03 5:36 
QuestionHow to position the controls in a view? Pin
ben231-Aug-03 21:04
ben231-Aug-03 21:04 
AnswerRe: How to position the controls in a view? Pin
CodeBrain31-Aug-03 21:19
CodeBrain31-Aug-03 21:19 
GeneralRe: How to position the controls in a view? Pin
ben231-Aug-03 21:54
ben231-Aug-03 21:54 
AnswerRe: How to position the controls in a view? Pin
Vitali Halershtein1-Sep-03 0:45
Vitali Halershtein1-Sep-03 0:45 
GeneralCButton !!!!! Pin
Member 42425931-Aug-03 20:27
Member 42425931-Aug-03 20:27 
GeneralRe: CButton !!!!! Pin
Terry O'Nolley31-Aug-03 20:50
Terry O'Nolley31-Aug-03 20:50 
GeneralRe: CButton !!!!! Pin
Member 42425931-Aug-03 22:58
Member 42425931-Aug-03 22:58 
QuestionHow to get yesterdays day using MFC Classes like CTime,COleDateTIme Pin
sarathymail31-Aug-03 20:16
sarathymail31-Aug-03 20:16 
AnswerRe: How to get yesterdays day using MFC Classes like CTime,COleDateTIme Pin
Terry O'Nolley31-Aug-03 20:44
Terry O'Nolley31-Aug-03 20:44 
AnswerRe: How to get yesterdays day using MFC Classes like CTime,COleDateTIme Pin
PJ Arends31-Aug-03 21:14
professionalPJ Arends31-Aug-03 21:14 
GeneralRe: How to get yesterdays day using MFC Classes like CTime,COleDateTIme Pin
Terry O'Nolley31-Aug-03 21:20
Terry O'Nolley31-Aug-03 21:20 
GeneralRe: How to get yesterdays day using MFC Classes like CTime,COleDateTIme Pin
PJ Arends31-Aug-03 21:26
professionalPJ Arends31-Aug-03 21:26 
GeneralRe: How to get yesterdays day using MFC Classes like CTime,COleDateTIme Pin
sarathymail1-Sep-03 1:46
sarathymail1-Sep-03 1:46 
AnswerRe: How to get yesterdays day using MFC Classes like CTime,COleDateTIme Pin
YaronNir1-Sep-03 1:15
YaronNir1-Sep-03 1:15 
Questionhow to add tab control to tree view? Pin
ben231-Aug-03 19:19
ben231-Aug-03 19:19 
AnswerRe: how to add tab control to tree view? Pin
ben231-Aug-03 19:57
ben231-Aug-03 19:57 

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.