Click here to Skip to main content
15,918,617 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsyntax error : 'constant' Pin
Lord Kixdemp25-Nov-05 8:31
Lord Kixdemp25-Nov-05 8:31 
AnswerRe: syntax error : 'constant' Pin
Michael Dunn25-Nov-05 10:27
sitebuilderMichael Dunn25-Nov-05 10:27 
GeneralRe: syntax error : 'constant' Pin
Lord Kixdemp25-Nov-05 12:02
Lord Kixdemp25-Nov-05 12:02 
GeneralRe: syntax error : 'constant' Pin
Michael Dunn25-Nov-05 18:36
sitebuilderMichael Dunn25-Nov-05 18:36 
GeneralRe: syntax error : 'constant' Pin
Lord Kixdemp25-Nov-05 19:06
Lord Kixdemp25-Nov-05 19:06 
GeneralRe: syntax error : 'constant' Pin
PJ Arends26-Nov-05 10:44
professionalPJ Arends26-Nov-05 10:44 
GeneralRe: syntax error : 'constant' Pin
Lord Kixdemp26-Nov-05 10:52
Lord Kixdemp26-Nov-05 10:52 
GeneralRe: syntax error : 'constant' Pin
PJ Arends26-Nov-05 12:09
professionalPJ Arends26-Nov-05 12:09 
Ok, to get a clean compile I had to change two lines in your code

File BeepExtremeDlg.cpp line 12
#include "BipFile.cpp"
to
#include "BipFile.h"

line 121 - The buffer that is used by itoa() has to allocated before it is used
char * buf;
to
char buf[10] = {0};

The program still crashes, but it is now logic errors, not syntax errors.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: syntax error : 'constant' Pin
Lord Kixdemp26-Nov-05 14:47
Lord Kixdemp26-Nov-05 14:47 
QuestionWindows Sockets and Classless IP Pin
Swinefeaster25-Nov-05 7:54
Swinefeaster25-Nov-05 7:54 
AnswerRe: Windows Sockets and Classless IP Pin
sunit525-Nov-05 20:10
sunit525-Nov-05 20:10 
QuestionSupressing MS Automatic Error Pin
dmaclellan25-Nov-05 6:11
dmaclellan25-Nov-05 6:11 
AnswerRe: Supressing MS Automatic Error Pin
sanket.patel25-Nov-05 22:14
sanket.patel25-Nov-05 22:14 
GeneralRe: Supressing MS Automatic Error Pin
dmaclellan28-Nov-05 6:31
dmaclellan28-Nov-05 6:31 
GeneralRe: Supressing MS Automatic Error Pin
dmaclellan28-Nov-05 6:43
dmaclellan28-Nov-05 6:43 
GeneralRe: Supressing MS Automatic Error Pin
Blake Miller28-Nov-05 8:23
Blake Miller28-Nov-05 8:23 
GeneralRe: Supressing MS Automatic Error Pin
dmaclellan14-Dec-05 6:00
dmaclellan14-Dec-05 6:00 
QuestionCDialog : Passing Back variables to the Parent's Dialog Pin
sdancer7525-Nov-05 5:10
sdancer7525-Nov-05 5:10 
AnswerRe: CDialog : Passing Back variables to the Parent's Dialog Pin
Gary R. Wheeler25-Nov-05 6:09
Gary R. Wheeler25-Nov-05 6:09 
QuestionOverlapping control -problem Pin
Pazzuzu25-Nov-05 4:42
Pazzuzu25-Nov-05 4:42 
AnswerRe: Overlapping control -problem Pin
Blake Miller28-Nov-05 12:40
Blake Miller28-Nov-05 12:40 
GeneralRe: Overlapping control -problem Pin
Pazzuzu28-Nov-05 22:12
Pazzuzu28-Nov-05 22:12 
QuestionObtaining the name of the caller function Pin
emmatty25-Nov-05 2:46
emmatty25-Nov-05 2:46 
AnswerRe: Obtaining the name of the caller function Pin
Gary R. Wheeler25-Nov-05 2:59
Gary R. Wheeler25-Nov-05 2:59 
GeneralRe: Obtaining the name of the caller function Pin
Chris Losinger25-Nov-05 5:37
professionalChris Losinger25-Nov-05 5:37 

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.