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

C / C++ / MFC

 
GeneralRe: Reading Events from the Event Log Pin
Blake Miller20-Aug-04 5:04
Blake Miller20-Aug-04 5:04 
GeneralRe: Reading Events from the Event Log Pin
David Crow20-Aug-04 5:08
David Crow20-Aug-04 5:08 
QuestionProblem with list control header? Pin
mohamedghonemi17-Aug-04 2:52
mohamedghonemi17-Aug-04 2:52 
AnswerRe: Problem with list control header? Pin
David Crow17-Aug-04 5:17
David Crow17-Aug-04 5:17 
GeneralMicrosoft Web Browser Object Pin
gnagendran7917-Aug-04 2:39
gnagendran7917-Aug-04 2:39 
GeneralRe: Microsoft Web Browser Object Pin
*Dreamz17-Aug-04 17:52
*Dreamz17-Aug-04 17:52 
GeneralRe: Microsoft Web Browser Object Pin
gnagendran7917-Aug-04 18:47
gnagendran7917-Aug-04 18:47 
GeneralScanf won't printf Pin
madref17-Aug-04 2:19
madref17-Aug-04 2:19 
This program will put the menu on the screen but
it won't print the results to the screen.

/* Currency equivalence to the Dollar*/
#include <stdio.h>

float Australian_Dollar; //Australian Dollar
float Euro; //Euro Dollar
float British_Pound; //British_Pound Dollar
float Japanese_Yen; //Japanese_Yen Dollar
float Swiss_Franc; //Swiss_Franc Dollar
/* Dollar conversion */

int main(void)
{
/* 13 */
int menunum; /*Defines the menunum as an integer for the scanf */
float count;
while (menunum != 0) {
printf (" Select a currency by entering a the number beside the currency. \n\n");
printf(" Enter q to quit.\n\n");

printf (" 1. Australian Dollar \n");

printf (" 2. Euro \n");

printf (" 3. British Pound \n");

printf (" 4. Japanese Yen \n");

printf (" 5. Swiss Franc \n"); /* 28 */

scanf("%f", &menunum); /* 30 Users enters the number on the menu bar */

if (menunum == 1){
printf("%f\n", Australian_Dollar);
} /* Australian_Dollar */

else if (menunum == 2) {
printf("%f\n", Euro);
}
else if (menunum == 3) {
printf("%f\n", British_Pound);
} /* 41 British_Pound */

else if (menunum == 4) {
printf("%f\n", Japanese_Yen);
} /* Japanese_Yen */

else if (menunum == 5) {
printf("%f\n", Swiss_Franc);
} /* 51 Swiss_Franc */

else {
printf("Choose another or quit.\n");
}

Australian_Dollar = 1.43; // 50 Define Australian dollar

Euro = 0.83; // Define Euro currency

British_Pound = 0.55; // Define British Pound

Japanese_Yen = 110.9; // Define Janpanese Yen

Swiss_Franc = 1.28; // Define Swiss Franc

scanf ( );

return 0;
}
GeneralRe: Scanf won't printf Pin
David Crow17-Aug-04 5:18
David Crow17-Aug-04 5:18 
General:( procedure entry point not found :( Pin
nainakhawaja17-Aug-04 2:01
nainakhawaja17-Aug-04 2:01 
GeneralRe: :( procedure entry point not found :( Pin
jerry1211a17-Aug-04 3:28
jerry1211a17-Aug-04 3:28 
GeneralRe: :( procedure entry point not found :( Pin
nainakhawaja17-Aug-04 18:30
nainakhawaja17-Aug-04 18:30 
GeneralRe: :( procedure entry point not found :( Pin
Blake Miller20-Aug-04 5:06
Blake Miller20-Aug-04 5:06 
GeneralCrystal Reports Pin
ArielR17-Aug-04 1:13
ArielR17-Aug-04 1:13 
GeneralRe: Crystal Reports Pin
Michael P Butler17-Aug-04 1:36
Michael P Butler17-Aug-04 1:36 
Generalerror C2065: 'IDD_DIALOG1' : undeclared identifier Pin
anderslundsgard17-Aug-04 0:23
anderslundsgard17-Aug-04 0:23 
GeneralRe: error C2065: 'IDD_DIALOG1' : undeclared identifier Pin
Antony M Kancidrowski17-Aug-04 0:35
Antony M Kancidrowski17-Aug-04 0:35 
GeneralRe: error C2065: 'IDD_DIALOG1' : undeclared identifier Pin
ThatsAlok17-Aug-04 0:42
ThatsAlok17-Aug-04 0:42 
GeneralRe: error C2065: 'IDD_DIALOG1' : undeclared identifier Pin
anderslundsgard17-Aug-04 1:46
anderslundsgard17-Aug-04 1:46 
Questionsize of folder? Pin
lonely_life17-Aug-04 0:22
lonely_life17-Aug-04 0:22 
AnswerRe: size of folder? Pin
David Crow17-Aug-04 5:21
David Crow17-Aug-04 5:21 
GeneralDarg n Drop problm , TO get file path and name Pin
zahid_ash17-Aug-04 0:10
zahid_ash17-Aug-04 0:10 
GeneralRe: Darg n Drop problm , TO get file path and name Pin
David Crow17-Aug-04 5:35
David Crow17-Aug-04 5:35 
GeneralRe: Darg n Drop problm , TO get file path and name Pin
zahid_ash17-Aug-04 18:19
zahid_ash17-Aug-04 18:19 
GeneralRe: Darg n Drop problm , TO get file path and name Pin
David Crow18-Aug-04 6:08
David Crow18-Aug-04 6:08 

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.