15,936,633 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Re: Converting from MFC to Native Windows C Richard MacCutchan13-May-22 0:29 Richard MacCutchan 13-May-22 0:29
 Re: Converting from MFC to Native Windows C ForNow13-May-22 1:34 ForNow 13-May-22 1:34
 Re: Converting from MFC to Native Windows C Richard MacCutchan13-May-22 2:05 Richard MacCutchan 13-May-22 2:05
 Re: Converting from MFC to Native Windows C ForNow13-May-22 3:10 ForNow 13-May-22 3:10
 Re: Converting from MFC to Native Windows C Richard MacCutchan13-May-22 3:48 Richard MacCutchan 13-May-22 3:48
 my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 0:17 Member 15633472 12-May-22 0:17
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. OriginalGriff12-May-22 0:26 OriginalGriff 12-May-22 0:26
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 0:43 Member 15633472 12-May-22 0:43
 i try for loop you suggest code: ```#include # define POUNDTOKG 0.453592; int main() { int i,j; float pound, kilogram; printf("Pound --------- Kilos\n\n"); for (int i = 0; i <= 300; i++) { for (int j = 1; j <= 100; j++) { kilogram = pound * POUNDTOKG; } printf("%.2f pound = %.2f Kilogram\n", pound, kilogram); } return 0; } but my expected output is like this, ====================== Pounds Kilos ====================== 100.00 45.45 101.00 45.91 120.00 46.36 103.00 46.62 104.00 47.27 105.00 ........ . . . 300.00 136.08 but thanks```
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Richard Deeming12-May-22 0:54 Richard Deeming 12-May-22 0:54
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Michael Hulthin12-May-22 1:06 Michael Hulthin 12-May-22 1:06
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 1:21 Member 15633472 12-May-22 1:21
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 1:44 Member 15633472 12-May-22 1:44
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Michael Hulthin12-May-22 1:59 Michael Hulthin 12-May-22 1:59
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 2:16 Member 15633472 12-May-22 2:16
 how to capture mouse movement and click in windows service Shkuratov U11-May-22 16:57 Shkuratov U 11-May-22 16:57
 Re: how to capture mouse movement and click in windows service Richard MacCutchan11-May-22 21:43 Richard MacCutchan 11-May-22 21:43
 Re: how to capture mouse movement and click in windows service Richard Deeming11-May-22 21:44 Richard Deeming 11-May-22 21:44
 conflicting types for 'uint32_t' issue focusdoit5-May-22 3:17 focusdoit 5-May-22 3:17
 Re: conflicting types for 'uint32_t' issue Richard MacCutchan5-May-22 4:02 Richard MacCutchan 5-May-22 4:02
 Re: conflicting types for 'uint32_t' issue `Randor` 5-May-22 9:28 `Randor` 5-May-22 9:28
 Re: conflicting types for 'uint32_t' issue focusdoit5-May-22 14:04 focusdoit 5-May-22 14:04
 Re: conflicting types for 'uint32_t' issue `Randor` 5-May-22 14:31 `Randor` 5-May-22 14:31
 Re: conflicting types for 'uint32_t' issue Richard MacCutchan5-May-22 22:23 Richard MacCutchan 5-May-22 22:23
 Complier error C2280 explanation ForNow5-May-22 1:37 ForNow 5-May-22 1:37
 Re: Complier error C2280 explanation CPallini5-May-22 1:59 CPallini 5-May-22 1:59
 Last Visit: 31-Dec-99 18:00     Last Update: 14-Jul-24 0:41 Refresh ᐊ Prev1...80818283848586878889 Next ᐅ