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

C / C++ / MFC

 
GeneralRe: compare string Pin
Ram Murali18-Jul-07 15:39
Ram Murali18-Jul-07 15:39 
QuestionRe: compare string Pin
David Crow19-Jul-07 3:18
David Crow19-Jul-07 3:18 
GeneralRe: compare string Pin
Paresh Chitte18-Jul-07 19:18
Paresh Chitte18-Jul-07 19:18 
GeneralRe: compare string Pin
Manish Paul19-Jul-07 0:40
Manish Paul19-Jul-07 0:40 
QuestionRecycle Bin Pin
Yokeldj18-Jul-07 12:05
Yokeldj18-Jul-07 12:05 
QuestionRe: Recycle Bin Pin
Nibu babu thomas19-Jul-07 0:03
Nibu babu thomas19-Jul-07 0:03 
QuestionBM_SETIMAGE doesn't work in XP Pin
kenmckaba18-Jul-07 11:29
kenmckaba18-Jul-07 11:29 
AnswerRe: BM_SETIMAGE doesn't work in XP Pin
Hamid_RT25-Jul-07 8:54
Hamid_RT25-Jul-07 8:54 
QuestionCalling C++ DLL from Matlab using calllib function [modified] Pin
sangigi18-Jul-07 8:11
sangigi18-Jul-07 8:11 
QuestionHide window from taskbar and alt+tab window Pin
Perspx18-Jul-07 6:58
Perspx18-Jul-07 6:58 
AnswerRe: Hide window from taskbar and alt+tab window Pin
Michael Dunn18-Jul-07 7:10
sitebuilderMichael Dunn18-Jul-07 7:10 
GeneralRe: Hide window from taskbar and alt+tab window Pin
Perspx18-Jul-07 7:13
Perspx18-Jul-07 7:13 
GeneralRe: Hide window from taskbar and alt+tab window Pin
Michael Dunn18-Jul-07 7:16
sitebuilderMichael Dunn18-Jul-07 7:16 
GeneralRe: Hide window from taskbar and alt+tab window Pin
Perspx18-Jul-07 7:19
Perspx18-Jul-07 7:19 
GeneralRe: Hide window from taskbar and alt+tab window Pin
David Crow18-Jul-07 7:22
David Crow18-Jul-07 7:22 
GeneralRe: Hide window from taskbar and alt+tab window Pin
Perspx18-Jul-07 7:23
Perspx18-Jul-07 7:23 
GeneralRe: Hide window from taskbar and alt+tab window Pin
James R. Twine18-Jul-07 7:24
James R. Twine18-Jul-07 7:24 
QuestionRe: Hide window from taskbar and alt+tab window Pin
David Crow18-Jul-07 7:19
David Crow18-Jul-07 7:19 
AnswerRe: Hide window from taskbar and alt+tab window Pin
Perspx18-Jul-07 7:21
Perspx18-Jul-07 7:21 
AnswerRe: Hide window from taskbar and alt+tab window Pin
James R. Twine18-Jul-07 7:25
James R. Twine18-Jul-07 7:25 
QuestionClass structure with character array Pin
bsharp5218-Jul-07 5:45
bsharp5218-Jul-07 5:45 
AnswerRe: Class structure with character array Pin
Mark Salsbery18-Jul-07 5:58
Mark Salsbery18-Jul-07 5:58 
GeneralRe: Class structure with character array Pin
bsharp5218-Jul-07 6:21
bsharp5218-Jul-07 6:21 
GeneralRe: Class structure with character array Pin
Mark Salsbery18-Jul-07 6:58
Mark Salsbery18-Jul-07 6:58 
bsharp52 wrote:
I am presuming that the compiler error was raised because the character array was not a fixed length.


Actually it was the constructor...

From the docs:

"The following represent the reasons C2552 may fire when an aggregate initialization is attempted
on a type:
The type has one or more user-defined constructors.
"

where agregate is defined as:

"An aggregate type is an array, class, or structure type which:
Has no constructors
Has no nonpublic members
Has no base classes
Has no virtual functions
"

Cheers!
Mark


Mark Salsbery
Microsoft MVP - Visual C++


"Great job team! Head back to base for debriefing and cocktails."

GeneralRe: Class structure with character array Pin
John R. Shaw19-Jul-07 2:38
John R. Shaw19-Jul-07 2:38 

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.