Click here to Skip to main content
16,012,468 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: preprocessor macro inside string literal? Pin
PJ Arends29-Apr-07 21:04
professionalPJ Arends29-Apr-07 21:04 
GeneralRe: preprocessor macro inside string literal? [modified] Pin
cmk30-Apr-07 13:53
cmk30-Apr-07 13:53 
AnswerRe: preprocessor macro inside string literal? Pin
cmk30-Apr-07 14:17
cmk30-Apr-07 14:17 
GeneralRe: preprocessor macro inside string literal? Pin
PJ Arends1-May-07 5:20
professionalPJ Arends1-May-07 5:20 
GeneralRe: preprocessor macro inside string literal? Pin
cmk1-May-07 11:45
cmk1-May-07 11:45 
AnswerRe: preprocessor macro inside string literal? Pin
Stephen Hewitt30-Apr-07 17:44
Stephen Hewitt30-Apr-07 17:44 
GeneralRe: preprocessor macro inside string literal? Pin
PJ Arends1-May-07 5:21
professionalPJ Arends1-May-07 5:21 
QuestionC++ help for arrays...average a value Pin
wertyou29-Apr-07 17:00
wertyou29-Apr-07 17:00 
Hello,
This is a very basic question for C++ on arrays. I am getting 2 errors when I compile & do not know what I'm doing wrong. Please assist. Lab is due 2 hrs from the time this email is posted, so very soon.
Error is - expected constructor, destructor or type conversion before = token
and - expected , or ; before = token

void pause(void);
void load_array_from_file(fileSpec filename, arrayType nums, int arraySize);
void display_array(arrayType nums, int arraySize);
int sum_array(arrayType nums, int arraySize);
int average_array;

(lots of other coding in here)

average_array = total / sum_array;

Confused | :confused:


Thanks for the help!
Melissa
AnswerRe: C++ help for arrays...average a value Pin
PJ Arends29-Apr-07 17:15
professionalPJ Arends29-Apr-07 17:15 
GeneralRe: C++ help for arrays...average a value Pin
wertyou29-Apr-07 17:17
wertyou29-Apr-07 17:17 
GeneralRe: C++ help for arrays...average a value Pin
PJ Arends29-Apr-07 17:32
professionalPJ Arends29-Apr-07 17:32 
GeneralRe: C++ help for arrays...average a value Pin
wertyou29-Apr-07 17:42
wertyou29-Apr-07 17:42 
Questionhow to get temp folder path Pin
near2world29-Apr-07 5:04
near2world29-Apr-07 5:04 
AnswerRe: how to get temp folder path Pin
#realJSOP29-Apr-07 6:15
professional#realJSOP29-Apr-07 6:15 
GeneralRe: how to get temp folder path [modified] Pin
near2world30-Apr-07 3:16
near2world30-Apr-07 3:16 
GeneralRe: how to get temp folder path Pin
#realJSOP30-Apr-07 13:05
professional#realJSOP30-Apr-07 13:05 
GeneralRe: how to get temp folder path Pin
near2world1-May-07 0:19
near2world1-May-07 0:19 
AnswerRe: how to get temp folder path Pin
Mark Salsbery29-Apr-07 7:57
Mark Salsbery29-Apr-07 7:57 
GeneralRe: how to get temp folder path Pin
near2world30-Apr-07 3:19
near2world30-Apr-07 3:19 
GeneralRe: how to get temp folder path Pin
Mark Salsbery30-Apr-07 6:13
Mark Salsbery30-Apr-07 6:13 
GeneralRe: how to get temp folder path Pin
near2world1-May-07 0:18
near2world1-May-07 0:18 
AnswerRe: how to get temp folder path Pin
Nibu babu thomas29-Apr-07 17:37
Nibu babu thomas29-Apr-07 17:37 
GeneralRe: how to get temp folder path Pin
near2world30-Apr-07 3:21
near2world30-Apr-07 3:21 
GeneralRe: how to get temp folder path Pin
Nibu babu thomas2-May-07 17:16
Nibu babu thomas2-May-07 17:16 
AnswerRe: how to get temp folder path Pin
Michael Dunn29-Apr-07 20:53
sitebuilderMichael Dunn29-Apr-07 20:53 

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.