Click here to Skip to main content
16,011,170 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: crash !! Help Pin
Andreas Saurwein27-Aug-02 13:42
Andreas Saurwein27-Aug-02 13:42 
Generalsorry for the ultra long post above. Desperate! Pin
Anonymous27-Aug-02 16:24
Anonymous27-Aug-02 16:24 
GeneralWeird Resolution to problem Pin
ns28-Aug-02 3:23
ns28-Aug-02 3:23 
GeneralRe: Weird Resolution to problem Pin
Andreas Saurwein28-Aug-02 3:29
Andreas Saurwein28-Aug-02 3:29 
GeneralRe: Weird Resolution to problem Pin
ns28-Aug-02 5:55
ns28-Aug-02 5:55 
GeneralGetFileSecurity Pin
Matthew R. Miller27-Aug-02 10:55
Matthew R. Miller27-Aug-02 10:55 
GeneralRe: GetFileSecurity Pin
Tomasz Sowinski27-Aug-02 11:10
Tomasz Sowinski27-Aug-02 11:10 
GeneralAnother Error..... Pin
Nick Parker27-Aug-02 10:44
protectorNick Parker27-Aug-02 10:44 
I really don't know how to interpret this:
error C2598: linkage specification must be at global scope, when I click on it it takes me to this function, I will bold the text where the arrow points to. I'm lost......again.

void Create_Report(Diver_Info theDivers[])
{
	
	ofstream OutputFile;

	OutputFile.open(ReportFile, ios::out);
	

	OutputFile << setiosflags(ios::fixed|ios::showpoint) << setprecision(2);

	OutputFile << setiosflags(ios::left) << setw(6) << "Place" << setw(26) << "Name"
			<< setw(8) << "Score" << endl << endl;

	
	for(int i = 0; i < Best_Divers; i++)
	{
		OutputFile << setw(6) << (i + 1) << setw(26) << theDivers[i].Diver_Name 
			<< setw(8) << theDivers[i].Total_Score << endl;
		
	}
	
	OutputFile.close();

}


My header file that I am including does #include <fstream.h>. Any ideas?

Nick Parker


GeneralRe: Another Error..... Pin
jmkhael27-Aug-02 10:49
jmkhael27-Aug-02 10:49 
GeneralRe: Another Error..... Pin
Nick Parker27-Aug-02 10:51
protectorNick Parker27-Aug-02 10:51 
GeneralRe: Another Error..... Pin
jmkhael27-Aug-02 10:58
jmkhael27-Aug-02 10:58 
GeneralRe: Another Error..... Pin
Nick Parker27-Aug-02 11:04
protectorNick Parker27-Aug-02 11:04 
GeneralRe: Another Error..... Pin
Anonymous27-Aug-02 10:59
Anonymous27-Aug-02 10:59 
GeneralRe: Another Error..... Pin
Chris Losinger27-Aug-02 11:38
professionalChris Losinger27-Aug-02 11:38 
GeneralRe: Another Error..... Pin
Nick Parker27-Aug-02 11:42
protectorNick Parker27-Aug-02 11:42 
GeneralRe: Another Error..... Pin
Todd Smith27-Aug-02 20:23
Todd Smith27-Aug-02 20:23 
GeneralRe: Another Error..... Pin
Christian Graus27-Aug-02 12:28
protectorChristian Graus27-Aug-02 12:28 
QuestionIs MFC really as bad as it seems? Pin
Anonymous27-Aug-02 10:26
Anonymous27-Aug-02 10:26 
AnswerRe: Is MFC really as bad as it seems? Pin
Chris Losinger27-Aug-02 10:35
professionalChris Losinger27-Aug-02 10:35 
GeneralRe: Is MFC really as bad as it seems? Pin
pankajdaga27-Aug-02 11:30
pankajdaga27-Aug-02 11:30 
AnswerRe: Is MFC really as bad as it seems? Pin
Michael P Butler27-Aug-02 22:50
Michael P Butler27-Aug-02 22:50 
Generaltime string? newbie Pin
Anonymous27-Aug-02 10:18
Anonymous27-Aug-02 10:18 
GeneralRe: time string? newbie Pin
fiznicker27-Aug-02 10:25
fiznicker27-Aug-02 10:25 
GeneralRe: time string? newbie Pin
Tomasz Sowinski27-Aug-02 10:39
Tomasz Sowinski27-Aug-02 10:39 
GeneralRe: time string? newbie Pin
Ravi Bhavnani27-Aug-02 10:41
professionalRavi Bhavnani27-Aug-02 10:41 

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.