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

C / C++ / MFC

 
QuestionOpenGL and CScrollView Pin
godspeed1238-Aug-08 6:42
godspeed1238-Aug-08 6:42 
QuestionDynamic Buttons problem Pin
sabdalla808-Aug-08 6:07
sabdalla808-Aug-08 6:07 
QuestionCMFCOutlookBarTabCtrl redrawing issues Pin
roel_8-Aug-08 5:59
roel_8-Aug-08 5:59 
Questionstructure questions Pin
Dennis L8-Aug-08 4:43
Dennis L8-Aug-08 4:43 
QuestionRe: structure questions Pin
Matthew Faithfull8-Aug-08 4:50
Matthew Faithfull8-Aug-08 4:50 
AnswerRe: structure questions Pin
Dennis L8-Aug-08 5:03
Dennis L8-Aug-08 5:03 
GeneralRe: structure questions Pin
Perspx8-Aug-08 5:09
Perspx8-Aug-08 5:09 
GeneralRe: structure questions Pin
Matthew Faithfull8-Aug-08 5:11
Matthew Faithfull8-Aug-08 5:11 
Dennis L wrote:
safe by the fact that these arrays are big and many


That will depend on what error checking you have active when you allocate the structure, rather than on the structure itself and how much memory is available of course.

Dennis L wrote:
Also is it Thread safe?.


Not as presented. There's nothing inherent in this structure to prevent multiple contexts accessing it asynchronously.

Dennis L wrote:
And is it OO safe because i will use it in a class


Not as presented. The data members should ideally all be private (data hiding), all access should be via accessor functions, default constructirs, copy constructors and possibly equivalence/comparison operators may need to be provided.

Having said that it's a good start to get your fundamental data structures right for the job. All the rest can then be added and you know you're not wasting your time. Smile | :)

"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)

GeneralRe: structure questions Pin
Dennis L8-Aug-08 5:21
Dennis L8-Aug-08 5:21 
AnswerRe: structure questions Pin
Matthew Faithfull8-Aug-08 5:30
Matthew Faithfull8-Aug-08 5:30 
GeneralRe: structure questions Pin
Dennis L8-Aug-08 5:39
Dennis L8-Aug-08 5:39 
AnswerRe: structure questions Pin
Matthew Faithfull8-Aug-08 5:54
Matthew Faithfull8-Aug-08 5:54 
GeneralRe: structure questions Pin
Dennis L8-Aug-08 5:25
Dennis L8-Aug-08 5:25 
AnswerRe: structure questions Pin
Matthew Faithfull8-Aug-08 5:36
Matthew Faithfull8-Aug-08 5:36 
GeneralRe: structure questions Pin
Dennis L8-Aug-08 5:55
Dennis L8-Aug-08 5:55 
GeneralRe: structure questions Pin
Matthew Faithfull8-Aug-08 6:02
Matthew Faithfull8-Aug-08 6:02 
AnswerRe: structure questions Pin
Perspx8-Aug-08 5:37
Perspx8-Aug-08 5:37 
QuestionRe: structure questions Pin
Perspx8-Aug-08 4:53
Perspx8-Aug-08 4:53 
AnswerRe: structure questions Pin
roel_8-Aug-08 6:03
roel_8-Aug-08 6:03 
QuestionMake mfc aplication installer Pin
yoel good8-Aug-08 2:42
yoel good8-Aug-08 2:42 
AnswerRe: Make mfc aplication installer Pin
toxcct8-Aug-08 2:51
toxcct8-Aug-08 2:51 
GeneralRe: Make mfc opengl aplication installer Pin
yoel good9-Aug-08 18:19
yoel good9-Aug-08 18:19 
AnswerRe: Make mfc aplication installer Pin
Perspx8-Aug-08 3:02
Perspx8-Aug-08 3:02 
AnswerRe: Make mfc aplication installer Pin
vikas amin8-Aug-08 9:58
vikas amin8-Aug-08 9:58 
QuestionImpersonateLoggedOnUser() on Vista 64? Pin
sandeepkavade8-Aug-08 2:39
sandeepkavade8-Aug-08 2:39 

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.