15,847,414 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Re: Converting from MFC to Native Windows C Richard MacCutchan13-May-22 1:29 Richard MacCutchan 13-May-22 1:29
 Re: Converting from MFC to Native Windows C ForNow13-May-22 2:34 ForNow 13-May-22 2:34
 Re: Converting from MFC to Native Windows C Richard MacCutchan13-May-22 3:05 Richard MacCutchan 13-May-22 3:05
 Re: Converting from MFC to Native Windows C ForNow13-May-22 4:10 ForNow 13-May-22 4:10
 Re: Converting from MFC to Native Windows C Richard MacCutchan13-May-22 4:48 Richard MacCutchan 13-May-22 4:48
 my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 1:17 Member 15633472 12-May-22 1:17
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. OriginalGriff12-May-22 1:26 OriginalGriff 12-May-22 1:26
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 1:43 Member 15633472 12-May-22 1: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 1:54 Richard Deeming 12-May-22 1:54
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Michael Hulthin12-May-22 2:06 Michael Hulthin 12-May-22 2:06
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 2:21 Member 15633472 12-May-22 2:21
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 2:44 Member 15633472 12-May-22 2:44
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Michael Hulthin12-May-22 2:59 Michael Hulthin 12-May-22 2:59
 Re: my problem is output for this weight conversion pounds to kilogram that starts from 100 to 300. Member 1563347212-May-22 3:16 Member 15633472 12-May-22 3:16
 how to capture mouse movement and click in windows service Shkuratov U11-May-22 17:57 Shkuratov U 11-May-22 17:57
 Re: how to capture mouse movement and click in windows service Richard MacCutchan11-May-22 22:43 Richard MacCutchan 11-May-22 22:43
 Re: how to capture mouse movement and click in windows service Richard Deeming11-May-22 22:44 Richard Deeming 11-May-22 22:44
 conflicting types for 'uint32_t' issue focusdoit5-May-22 4:17 focusdoit 5-May-22 4:17
 Re: conflicting types for 'uint32_t' issue Richard MacCutchan5-May-22 5:02 Richard MacCutchan 5-May-22 5:02
 Re: conflicting types for 'uint32_t' issue `Randor` 5-May-22 10:28 `Randor` 5-May-22 10:28
 Re: conflicting types for 'uint32_t' issue focusdoit5-May-22 15:04 focusdoit 5-May-22 15:04
 Re: conflicting types for 'uint32_t' issue `Randor` 5-May-22 15:31 `Randor` 5-May-22 15:31
 Re: conflicting types for 'uint32_t' issue Richard MacCutchan5-May-22 23:23 Richard MacCutchan 5-May-22 23:23
 Complier error C2280 explanation ForNow5-May-22 2:37 ForNow 5-May-22 2:37
 Re: Complier error C2280 explanation CPallini5-May-22 2:59 CPallini 5-May-22 2:59
 Last Visit: 31-Dec-99 19:00     Last Update: 27-Feb-24 4:51 Refresh ᐊ Prev1...67686970717273747576 Next ᐅ