Click here to Skip to main content
16,015,274 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why memcpy not correct! Pin
bob1697219-Mar-06 8:04
bob1697219-Mar-06 8:04 
GeneralRe: Why memcpy not correct! Pin
Richard Andrew x6419-Mar-06 8:14
professionalRichard Andrew x6419-Mar-06 8:14 
GeneralRe: Why memcpy not correct! Pin
bob1697219-Mar-06 8:26
bob1697219-Mar-06 8:26 
AnswerRe: Why memcpy not correct! Pin
bob1697219-Mar-06 7:58
bob1697219-Mar-06 7:58 
AnswerRe: Why memcpy not correct! Pin
David Crow19-Mar-06 9:15
David Crow19-Mar-06 9:15 
Questioni want to let white transform into black Pin
lowkey5719-Mar-06 4:16
lowkey5719-Mar-06 4:16 
AnswerAnd what's the problem? Pin
normanS19-Mar-06 18:12
normanS19-Mar-06 18:12 
Questionanyone expert in C++ help me please Pin
omegahawk19-Mar-06 3:47
omegahawk19-Mar-06 3:47 
I'm just starting to learn C++, and i met a problem error below when i compound it...pls teach me how to correct these errors. Your kindness will be appreciated....thank you.

#include "matrix.h"

#ifndef _NO_NAMESPACE
using namespace std;
using namespace math;
#define STD std
#else
#define STD
#endif

#ifndef _NO_TEMPLATE
typedef matrix<double> Matrix;
#else
typedef matrix Matrix;
#endif

#ifndef _NO_EXCEPTION
# define TRYBEGIN() try {
# define CATCHERROR() } catch (const STD::exception& e) { \
cerr << "Error: " << e.what() << endl; }
#else
# define TRYBEGIN()
# define CATCHERROR()
#endif


the software tells the error at these location:
line6 : error C2871: 'std' : does not exist or is not a namespace
line7 : error C2871: 'math' : does not exist or is not a namespace
line14 : error C2143: syntax error : missing ';' before '<'
line14 : error C2143: syntax error : missing ';' before '<'
AnswerRe: anyone expert in C++ help me please Pin
Chris Losinger19-Mar-06 4:17
professionalChris Losinger19-Mar-06 4:17 
QuestionMemory leak detection Pin
Waldermort19-Mar-06 1:41
Waldermort19-Mar-06 1:41 
AnswerRe: Memory leak detection Pin
Joe Woodbury19-Mar-06 11:42
professionalJoe Woodbury19-Mar-06 11:42 
QuestionUnknown message Pin
Irina Tseitlin19-Mar-06 1:16
Irina Tseitlin19-Mar-06 1:16 
AnswerRe: Unknown message Pin
karle19-Mar-06 5:26
karle19-Mar-06 5:26 
AnswerRe: Unknown message Pin
Stephen Hewitt19-Mar-06 11:46
Stephen Hewitt19-Mar-06 11:46 
QuestionHow do I know if an OK event came from mouse or Enter? Pin
IlanTal18-Mar-06 23:31
IlanTal18-Mar-06 23:31 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Waldermort19-Mar-06 1:31
Waldermort19-Mar-06 1:31 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Graham Bradshaw19-Mar-06 2:59
Graham Bradshaw19-Mar-06 2:59 
GeneralRe: How do I know if an OK event came from mouse or Enter? Pin
IlanTal19-Mar-06 4:03
IlanTal19-Mar-06 4:03 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Chris Gao19-Mar-06 10:30
Chris Gao19-Mar-06 10:30 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Chris Gao19-Mar-06 10:32
Chris Gao19-Mar-06 10:32 
Questionhelp! Pin
harry~18-Mar-06 21:32
harry~18-Mar-06 21:32 
AnswerRe: help! Pin
Waldermort19-Mar-06 1:37
Waldermort19-Mar-06 1:37 
AnswerRe: help! Pin
Hamid_RT19-Mar-06 2:46
Hamid_RT19-Mar-06 2:46 
AnswerRe: help! Pin
Robert Palma Jr.19-Mar-06 7:56
Robert Palma Jr.19-Mar-06 7:56 
QuestionWin32 Radio Button problem Pin
amanoullah18-Mar-06 20:54
amanoullah18-Mar-06 20:54 

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.