Click here to Skip to main content
15,910,130 members
Home / Discussions / C#
   

C#

 
AnswerRe: recording sound ? Pin
mav.northwind13-Aug-04 1:42
mav.northwind13-Aug-04 1:42 
AnswerRe: recording sound ? Pin
Nick Parker13-Aug-04 4:27
protectorNick Parker13-Aug-04 4:27 
GeneralC#.Net DataSet Problem Pin
Kyaw Soe Khaing13-Aug-04 0:22
Kyaw Soe Khaing13-Aug-04 0:22 
GeneralRe: C#.Net DataSet Problem Pin
mav.northwind13-Aug-04 2:10
mav.northwind13-Aug-04 2:10 
GeneralCall Method by Name Pin
heihachi12-Aug-04 23:56
heihachi12-Aug-04 23:56 
GeneralRe: Call Method by Name Pin
mav.northwind13-Aug-04 1:49
mav.northwind13-Aug-04 1:49 
GeneralRe: Call Method by Name Pin
Nick Parker13-Aug-04 4:23
protectorNick Parker13-Aug-04 4:23 
Generalfatal error C1004: unexpected end of file found Pin
madref12-Aug-04 20:47
madref12-Aug-04 20:47 
Why do I get this error???
currency.cpp(72) : fatal error C1004: unexpected end of file found

/* 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 */
int final1;
float count;

{
while (final1 != 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("%f", &final1); /* 30 Users enters the number on the menu bar */

return 0;
}
GeneralRe: fatal error C1004: unexpected end of file found Pin
mav.northwind13-Aug-04 3:56
mav.northwind13-Aug-04 3:56 
GeneralRe: fatal error C1004: unexpected end of file found Pin
leppie13-Aug-04 7:12
leppie13-Aug-04 7:12 
GeneralSystem.IO.FileLoadException Pin
draft_ce12-Aug-04 20:30
draft_ce12-Aug-04 20:30 
GeneralRe: System.IO.FileLoadException Pin
Dave Kreskowiak13-Aug-04 9:27
mveDave Kreskowiak13-Aug-04 9:27 
QuestionHow to cancel the ContextMenu! Pin
Colinyin12-Aug-04 15:15
Colinyin12-Aug-04 15:15 
AnswerRe: How to cancel the ContextMenu! Pin
Syed Abdul Khader13-Aug-04 6:27
Syed Abdul Khader13-Aug-04 6:27 
GeneralRe: How to cancel the ContextMenu! Pin
Nick Parker13-Aug-04 11:37
protectorNick Parker13-Aug-04 11:37 
GeneralProcess Information Pin
DRVoodoo12-Aug-04 14:34
DRVoodoo12-Aug-04 14:34 
GeneralLimit to one cpu Pin
Mr. Rogers12-Aug-04 13:23
Mr. Rogers12-Aug-04 13:23 
GeneralRe: Limit to one cpu Pin
Arun Bhalla12-Aug-04 13:32
Arun Bhalla12-Aug-04 13:32 
GeneralRe: Limit to one cpu Pin
Daniel Turini12-Aug-04 13:44
Daniel Turini12-Aug-04 13:44 
GeneralRe: Limit to one cpu Pin
parths12-Aug-04 23:58
parths12-Aug-04 23:58 
GeneralRe: Limit to one cpu Pin
Mr. Rogers13-Aug-04 2:41
Mr. Rogers13-Aug-04 2:41 
GeneralThread groups -or- handling singletons in an AppDomain Pin
Arun Bhalla12-Aug-04 13:00
Arun Bhalla12-Aug-04 13:00 
Generalenum to int Pin
Lasse Johansen12-Aug-04 12:50
Lasse Johansen12-Aug-04 12:50 
GeneralRe: enum to int Pin
Arun Bhalla12-Aug-04 13:08
Arun Bhalla12-Aug-04 13:08 
GeneralRe: enum to int Pin
Lasse Johansen12-Aug-04 13:28
Lasse Johansen12-Aug-04 13:28 

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.