Click here to Skip to main content
15,923,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalimage free.... Pin
pnpfriend27-Aug-02 9:20
pnpfriend27-Aug-02 9:20 
GeneralRe: image free.... Pin
Renjith Ramachandran27-Aug-02 9:38
Renjith Ramachandran27-Aug-02 9:38 
GeneralSocket Space Carnage Pin
magey27-Aug-02 9:01
magey27-Aug-02 9:01 
GeneralRe: Socket Space Carnage Pin
Renjith Ramachandran27-Aug-02 9:45
Renjith Ramachandran27-Aug-02 9:45 
GeneralAnother wierd error message... Pin
Nick Parker27-Aug-02 8:52
protectorNick Parker27-Aug-02 8:52 
GeneralRe: Another wierd error message... Pin
Tomasz Sowinski27-Aug-02 9:05
Tomasz Sowinski27-Aug-02 9:05 
GeneralRe: Another wierd error message... Pin
Nick Parker27-Aug-02 9:16
protectorNick Parker27-Aug-02 9:16 
GeneralRe: Another wierd error message... Pin
Nick Parker27-Aug-02 9:19
protectorNick Parker27-Aug-02 9:19 
In the header file I have the other function prototypes commented out.

//==============================
//
// Nick Parker
// nparker@iastate.edu
// hw1.h
//
//==============================


#ifndef HW1_H
#define HW1_H

#include <fstream.h>
#include <iomanip.h>


//==============================
// Application file names
//==============================

#define ListOfDivers "divers.dat"
#define OutputFile "output.dat"
#define ReportFile "report.dat"


//==============================
// Constant variables
//==============================

const int Total_Divers = 24;
const int Best_Divers = 12;
const int Num_Of_Dives = 10;
const int Num_Of_Scores = 7;



//==============================
// Create Data Structures
//==============================

struct Dive_Stats
{
	float difficulty;
	float scores[Num_Of_Scores];
};

struct Diver_Info 
{
	char Diver_Name[80];
	Dive_Stats Dives[Num_Of_Dives];
	float Total_Score;
};


//==============================
//
// Function Prototypes
//
//==============================


void Input_Data(Diver_Info []);
/*
void Calculate_Totals(Diver_Info []);
void Create_Report(Diver_Info []);
void Sort_Divers_Scores(Diver_Info []);
void Create_Output(Diver_Info []);
*/


#endif


Nick Parker


GeneralRe: Another wierd error message... Pin
Nick Parker27-Aug-02 9:34
protectorNick Parker27-Aug-02 9:34 
GeneralRe: Another wierd error message... Pin
Tomasz Sowinski27-Aug-02 9:36
Tomasz Sowinski27-Aug-02 9:36 
GeneralRe: Another wierd error message... Pin
Nick Parker27-Aug-02 9:44
protectorNick Parker27-Aug-02 9:44 
GeneralRe: Another wierd error message... Pin
Tomasz Sowinski27-Aug-02 10:02
Tomasz Sowinski27-Aug-02 10:02 
GeneralRe: Another wierd error message... Pin
Nick Parker27-Aug-02 10:13
protectorNick Parker27-Aug-02 10:13 
QuestionHow to get structure associated w/ Tree children Pin
brianwelsch27-Aug-02 8:41
brianwelsch27-Aug-02 8:41 
AnswerRe: How to get structure associated w/ Tree children Pin
Tomasz Sowinski27-Aug-02 8:47
Tomasz Sowinski27-Aug-02 8:47 
GeneralRe: How to get structure associated w/ Tree children Pin
brianwelsch27-Aug-02 9:02
brianwelsch27-Aug-02 9:02 
GeneralRe: How to get structure associated w/ Tree children Pin
Tomasz Sowinski27-Aug-02 9:09
Tomasz Sowinski27-Aug-02 9:09 
GeneralRe: How to get structure associated w/ Tree children Pin
brianwelsch27-Aug-02 9:51
brianwelsch27-Aug-02 9:51 
GeneralChange font in List Control Pin
Jan Hirak27-Aug-02 8:07
Jan Hirak27-Aug-02 8:07 
GeneralRegister class Pin
udayGovekar27-Aug-02 7:44
udayGovekar27-Aug-02 7:44 
GeneralRe: Register class Pin
Paul M Watt27-Aug-02 8:06
mentorPaul M Watt27-Aug-02 8:06 
GeneralRe: Register class Pin
Tomasz Sowinski27-Aug-02 8:07
Tomasz Sowinski27-Aug-02 8:07 
GeneralRe: Register class Pin
udayGovekar27-Aug-02 8:11
udayGovekar27-Aug-02 8:11 
GeneralAdding html-help support to existing project Pin
Mariusz Popiolek27-Aug-02 7:44
sussMariusz Popiolek27-Aug-02 7:44 
GeneralRe: Adding html-help support to existing project Pin
Chris Losinger27-Aug-02 7:52
professionalChris Losinger27-Aug-02 7:52 

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.