Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionc program Pin
Member 1118930829-Oct-14 0:40
Member 1118930829-Oct-14 0:40 
AnswerRe: c program Pin
Richard MacCutchan29-Oct-14 3:52
mveRichard MacCutchan29-Oct-14 3:52 
QuestionRe: c program Pin
CPallini29-Oct-14 4:36
mveCPallini29-Oct-14 4:36 
GeneralRe: c program Pin
PIEBALDconsult29-Oct-14 4:52
mvePIEBALDconsult29-Oct-14 4:52 
AnswerRe: c program Pin
Stefan_Lang30-Oct-14 0:20
Stefan_Lang30-Oct-14 0:20 
Question"Network Access: Allow anonymous SID/Name translation" ,a am attempting to get this via the registry but cant find the key,how can I get thisvalue ,tks Pin
kxjhcs25-Oct-14 21:04
kxjhcs25-Oct-14 21:04 
AnswerRe: "Network Access: Allow anonymous SID/Name translation" ,a am attempting to get this via the registry but cant find the key,how can I get thisvalue ,tks Pin
Richard MacCutchan25-Oct-14 22:13
mveRichard MacCutchan25-Oct-14 22:13 
QuestionHow to constructor a storage class to store Tree data in C++ Pin
shanmugarajaa25-Oct-14 5:20
shanmugarajaa25-Oct-14 5:20 
AnswerRe: How to constructor a storage class to store Tree data in C++ Pin
Richard MacCutchan25-Oct-14 5:54
mveRichard MacCutchan25-Oct-14 5:54 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
shanmugarajaa25-Oct-14 7:54
shanmugarajaa25-Oct-14 7:54 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Richard MacCutchan25-Oct-14 22:09
mveRichard MacCutchan25-Oct-14 22:09 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Orjan Westin27-Oct-14 3:54
professionalOrjan Westin27-Oct-14 3:54 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Richard MacCutchan27-Oct-14 7:41
mveRichard MacCutchan27-Oct-14 7:41 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Orjan Westin27-Oct-14 23:13
professionalOrjan Westin27-Oct-14 23:13 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Richard MacCutchan27-Oct-14 23:56
mveRichard MacCutchan27-Oct-14 23:56 
AnswerRe: How to constructor a storage class to store Tree data in C++ Pin
Orjan Westin27-Oct-14 3:52
professionalOrjan Westin27-Oct-14 3:52 
AnswerRe: How to constructor a storage class to store Tree data in C++ Pin
Stefan_Lang27-Oct-14 4:25
Stefan_Lang27-Oct-14 4:25 
AnswerRe: How to constructor a storage class to store Tree data in C++ Pin
Vaclav Naydenov28-Oct-14 11:42
Vaclav Naydenov28-Oct-14 11:42 
QuestionCannot initialize array of classes except as a local variable. Pin
Vaclav_24-Oct-14 8:19
Vaclav_24-Oct-14 8:19 
AnswerRe: Cannot initialize array of classes except as a local variable. Pin
Chris Losinger24-Oct-14 9:09
professionalChris Losinger24-Oct-14 9:09 
if you can make trackSwitch static, you can do this:

C++
class COpenTrack
{
public:

   static CTrackSwitch _trackSwitch[10];

   COpenTrack(void)
   {
   }
};

// outside the class definition
CTrackSwitch COpenTrack::_trackSwitch[] = 
      {
         CTrackSwitch(0,2,8,4),// normal reverse, input , switch start with even tracks from 0
         CTrackSwitch(4,6,10,6),// normal reverse, input , switch
         CTrackSwitch(1,3,9,3),// normal reverse, input , switch
         CTrackSwitch(5,7,11,5),// normal reverse, input , switch
         CTrackSwitch(8,10,12,2),// normal reverse, input , switch
         CTrackSwitch(9,11,13,1),// normal reverse, input , switch
         CTrackSwitch(12,13,14,0)// normal reverse, input , switch
      };


GeneralRe: Cannot initialize array of classes except as a local variable. Pin
Vaclav_24-Oct-14 9:19
Vaclav_24-Oct-14 9:19 
QuestionRe: Cannot initialize array of classes except as a local variable. Pin
David Crow24-Oct-14 10:50
David Crow24-Oct-14 10:50 
AnswerRe: Cannot initialize array of classes except as a local variable. Pin
Vaclav_24-Oct-14 15:04
Vaclav_24-Oct-14 15:04 
AnswerRe: Cannot initialize array of classes except as a local variable. Pin
Stefan_Lang27-Oct-14 4:02
Stefan_Lang27-Oct-14 4:02 
QuestionRecursive function - how to correctly implement return? Pin
Vaclav_22-Oct-14 9:20
Vaclav_22-Oct-14 9:20 

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.