Click here to Skip to main content
15,913,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to execute other progams in c++ Pin
CPallini27-Jan-07 7:15
mveCPallini27-Jan-07 7:15 
AnswerRe: how to execute other progams in c++ Pin
Hamid_RT27-Jan-07 19:03
Hamid_RT27-Jan-07 19:03 
AnswerRe: how to execute other progams in c++ Pin
#realJSOP28-Jan-07 0:47
professional#realJSOP28-Jan-07 0:47 
QuestionDisable standard menue items in MS-Office applications Pin
Peter Fritze27-Jan-07 5:00
Peter Fritze27-Jan-07 5:00 
AnswerRe: Disable standard menue items in MS-Office applications Pin
S Douglas27-Jan-07 23:29
professionalS Douglas27-Jan-07 23:29 
Questionvc++ Pin
jeevirajan27-Jan-07 4:12
jeevirajan27-Jan-07 4:12 
AnswerRe: vc++ Pin
Jonathan [Darka]28-Jan-07 21:20
professionalJonathan [Darka]28-Jan-07 21:20 
QuestionInitialization of static variable of enum type fails? [modified] Pin
tesujix27-Jan-07 2:46
tesujix27-Jan-07 2:46 
Turning from visual c++ (version6) to visual studio c++ 2005 recently i've got errors when compiling this code:

#include "mave.hpp"
template <typename T> class matrix : virtual public mave<T>
{
public:
enum enLineSolver { GAUSS, HOUSEHOLDER, GIVENS, SHOLESKY};
protected:
static enLineSolver lineSolver;
};
// Initialization of lineSolver:
template <typename T> matrix<T>::enLineSolver matrix<T>::lineSolver = matrix<T>::GAUSS;

/* With Visual C++ (Version 6) above line is translated correctly without any
message. With Visual Studio 2005 compilation fails with these messages:
warning C4346: 'matrix<T>::enLineSolver' : dependent name is not a type
e:\007-chera\006-mavex3\matrix.hpp 274
error C2143: syntax error : missing ';' before 'matrix<T>::lineSolver'
e:\007-chera\006-mavex3\matrix.hpp 274
error C4430: missing type specifier - int assumed.
Note: C++ does not support default-int
e:\007-chera\006-mavex3\matrix.hpp 274

I've tried several changes to resolve this error without success. template
is necessary because of indentifier T. matrix<T>::enLineSolver cannot
be replaced by simple int for another error then appears (different type).
*/
Any idea what's wrong?


-- modified at 9:54 Saturday 27th January, 2007
AnswerRe: Initialization of static variable of enum type fails? Pin
Michael Dunn27-Jan-07 8:47
sitebuilderMichael Dunn27-Jan-07 8:47 
Question How To Access sql-server and design a UI with vc mfc? Pin
sepehr_vision27-Jan-07 2:22
sepehr_vision27-Jan-07 2:22 
QuestionHow to convert a array of bitmap bits to a HBITMAP? Pin
ceejeeb27-Jan-07 1:24
ceejeeb27-Jan-07 1:24 
AnswerRe: How to convert a array of bitmap bits to a HBITMAP? Pin
Mark Salsbery27-Jan-07 7:40
Mark Salsbery27-Jan-07 7:40 
AnswerRe: How to convert a array of bitmap bits to a HBITMAP? Pin
Hamid_RT27-Jan-07 19:14
Hamid_RT27-Jan-07 19:14 
Questionhow to know what is the class name of the main frame window? Pin
bengz27-Jan-07 0:36
bengz27-Jan-07 0:36 
AnswerRe: how to know what is the class name of the main frame window? Pin
Joan M27-Jan-07 1:35
professionalJoan M27-Jan-07 1:35 
AnswerRe: how to know what is the class name of the main frame window? Pin
Mark Salsbery27-Jan-07 7:43
Mark Salsbery27-Jan-07 7:43 
GeneralRe: how to know what is the class name of the main frame window? Pin
prasad_som27-Jan-07 17:49
prasad_som27-Jan-07 17:49 
GeneralRe: how to know what is the class name of the main frame window? Pin
Mark Salsbery28-Jan-07 6:26
Mark Salsbery28-Jan-07 6:26 
Question(previous post-displaying RGB video) back with a bit of groundwork in DirectX Pin
jossion27-Jan-07 0:04
jossion27-Jan-07 0:04 
QuestionGo to end? Pin
Larsson26-Jan-07 23:19
Larsson26-Jan-07 23:19 
AnswerRe: Go to end? Pin
Joan M27-Jan-07 1:29
professionalJoan M27-Jan-07 1:29 
GeneralRe: Go to end? Pin
Larsson28-Jan-07 7:53
Larsson28-Jan-07 7:53 
AnswerRe: Go to end? Pin
prasad_som28-Jan-07 19:55
prasad_som28-Jan-07 19:55 
GeneralRe: Go to end? Pin
Joan M28-Jan-07 20:22
professionalJoan M28-Jan-07 20:22 
QuestionA question about autorun CD Pin
phap26-Jan-07 22:53
phap26-Jan-07 22: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.