Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu31-Dec-16 11:49
_Flaviu31-Dec-16 11:49 
GeneralRe: WM_SHOWWINDOW not called Pin
leon de boer5-Jan-17 22:05
leon de boer5-Jan-17 22:05 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu8-Jan-17 20:39
_Flaviu8-Jan-17 20:39 
Questionc++, how to make an array program one dimension from( 1 to 7 numbers)that the user insert these numbers in terminal that finally display sum,average,GPA,grade,min and max. please help me Pin
Alma2829-Dec-16 4:08
Alma2829-Dec-16 4:08 
AnswerRe: c++, how to make an array program one dimension from( 1 to 7 numbers)that the user insert these numbers in terminal that finally display sum,average,GPA,grade,min and max. please help me Pin
Midi_Mick29-Dec-16 4:20
professionalMidi_Mick29-Dec-16 4:20 
AnswerRe: c++, how to make an array program one dimension from( 1 to 7 numbers)that the user insert these numbers in terminal that finally display sum,average,GPA,grade,min and max. please help me Pin
Patrice T30-Dec-16 11:57
mvePatrice T30-Dec-16 11:57 
QuestionEmbedding Python in C++ Pin
VISWESWARAN199824-Dec-16 1:14
professionalVISWESWARAN199824-Dec-16 1:14 
AnswerRe: Embedding Python in C++ Pin
Afzaal Ahmad Zeeshan24-Dec-16 2:54
professionalAfzaal Ahmad Zeeshan24-Dec-16 2:54 
PraiseRe: Embedding Python in C++ Pin
VISWESWARAN199824-Dec-16 3:15
professionalVISWESWARAN199824-Dec-16 3:15 
GeneralClass and Object memory layout question Pin
samzcs21-Dec-16 4:24
samzcs21-Dec-16 4:24 
GeneralRe: Class and Object memory layout question Pin
Richard MacCutchan21-Dec-16 4:44
mveRichard MacCutchan21-Dec-16 4:44 
GeneralRe: Class and Object memory layout question Pin
samzcs21-Dec-16 5:37
samzcs21-Dec-16 5:37 
GeneralRe: Class and Object memory layout question Pin
Richard MacCutchan21-Dec-16 5:58
mveRichard MacCutchan21-Dec-16 5:58 
GeneralRe: Class and Object memory layout question Pin
samzcs21-Dec-16 6:23
samzcs21-Dec-16 6:23 
GeneralRe: Class and Object memory layout question Pin
Richard MacCutchan21-Dec-16 6:46
mveRichard MacCutchan21-Dec-16 6:46 
GeneralRe: Class and Object memory layout question Pin
samzcs21-Dec-16 7:26
samzcs21-Dec-16 7:26 
GeneralRe: Class and Object memory layout question Pin
leon de boer21-Dec-16 14:50
leon de boer21-Dec-16 14:50 
GeneralRe: Class and Object memory layout question Pin
CPallini21-Dec-16 9:14
mveCPallini21-Dec-16 9:14 
GeneralRe: Class and Object memory layout question Pin
«_Superman_»1-Jan-17 22:42
professional«_Superman_»1-Jan-17 22:42 
QuestionC2084 FUNCTION ALREADY HAS A BODY Pin
ForNow18-Dec-16 13:08
ForNow18-Dec-16 13:08 
Hi
I am getting the above error, and I know its a programmer trainee error but I can't for the life of me figure it out

I did a find all from Visual Studio (looking in my solution directory) and what found was
the function was defined once

I did declare it ending with ';'

And when I call it or the declaration or the actual routine all have the same parameter list

Here is the result of the find all

line 43 is the declaration line 1606 is the actual function line 1743 is where it actually used

C++
, Subfolders, Find Results 1, "quot;"
  cpu.c(43):void hex_to_ascii(BYTE *ipx, char *str, int num);
  cpu.c(1606): void hex_to_ascii(BYTE *ipx, char *str, int num)
  cpu.c(1743):		         hex_to_ascii(ipx,str,num);
  hmacros.h(182): // extern void hex_to_ascii(BYTE *ipx, char *str, int num);
  hmacros.h(187):// #define HEX_TO_ASCII(_ipx, _str, _num) /  hex_to_ascii(_ipx ,_str,  _num) 
  cpu.c(43) : see previous definition of 'hex_to_ascii'
    Matching files: 3    Total files searched: 764

AnswerRe: C2084 FUNCTION ALREADY HAS A BODY Pin
Albert Holguin18-Dec-16 15:26
professionalAlbert Holguin18-Dec-16 15:26 
GeneralRe: C2084 FUNCTION ALREADY HAS A BODY Pin
ForNow18-Dec-16 15:52
ForNow18-Dec-16 15:52 
AnswerRe: C2084 FUNCTION ALREADY HAS A BODY Pin
Albert Holguin18-Dec-16 15:59
professionalAlbert Holguin18-Dec-16 15:59 
GeneralRe: C2084 FUNCTION ALREADY HAS A BODY Pin
ForNow18-Dec-16 16:18
ForNow18-Dec-16 16:18 
GeneralRe: C2084 FUNCTION ALREADY HAS A BODY Pin
Albert Holguin18-Dec-16 16:28
professionalAlbert Holguin18-Dec-16 16: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.