Click here to Skip to main content
15,915,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBlue - General Purpose C++ Library Pin
aputic8-Nov-07 5:43
aputic8-Nov-07 5:43 
AnswerRe: Blue - General Purpose C++ Library Pin
toxcct8-Nov-07 5:55
toxcct8-Nov-07 5:55 
AnswerRe: Blue - General Purpose C++ Library Pin
Jim Crafton8-Nov-07 6:19
Jim Crafton8-Nov-07 6:19 
QuestionRe: Blue - General Purpose C++ Library Pin
Maximilien8-Nov-07 7:19
Maximilien8-Nov-07 7:19 
AnswerRe: Blue - General Purpose C++ Library Pin
aputic8-Nov-07 11:37
aputic8-Nov-07 11:37 
QuestionHelp on calling cview-draw from Onidle virtual function - qucik explaination please, please forgive me, I am a begginer Pin
simon alec smith8-Nov-07 4:33
simon alec smith8-Nov-07 4:33 
AnswerRe: Help on calling cview-draw from Onidle virtual function - qucik explaination please, please forgive me, I am a begginer Pin
jhwurmbach8-Nov-07 4:40
jhwurmbach8-Nov-07 4:40 
QuestionCArray problem Pin
StefanRMB8-Nov-07 4:01
StefanRMB8-Nov-07 4:01 
Hi !

I have a small problem with CArray.
I have some different places ( number not available ) where I measure temperatures every minute.
Now I want to store these temperatures in a CArray.

class CTempReader
{
struct GRAPH_POINTS // Holds the information of Temperature, Time and Date
{
int Temperature;
CString Date;
CString Time;
} St_Graph_Points;

struct TEMP_POINTS // Holds all temperatures of one place
{
CArray<graph_points,graph_points> TempZone;
} St_Temp_Points;

private:
CArray<temp_points,temp_points> TempZone; // The different places
}

If I try to compile these I get the following error:
C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\afxtempl.h(272) : error C2248: "CObject::CObject": Kein Zugriff auf private Member, dessen Deklaration in der CObject-Klasse erfolgte.
C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(553): Siehe Deklaration von 'CObject::CObject'
C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(524): Siehe Deklaration von 'CObject'
Diese Diagnose trat in der vom Compiler generierten Funktion "CArray<type,arg_type>::CArray(const CArray<type,arg_type> &)" auf.
with
[
TYPE=CCSVReader::GRAPH_POINTS,
ARG_TYPE=CCSVReader::GRAPH_POINTS
]

Any idea how to solve ?
This is the last part of a big program and I dont know how to solve it.

Thanks
Stefan
AnswerRe: CArray problem Pin
jhwurmbach8-Nov-07 4:14
jhwurmbach8-Nov-07 4:14 
AnswerRe: CArray problem Pin
David Crow8-Nov-07 5:30
David Crow8-Nov-07 5:30 
AnswerRe: CArray problem Pin
StefanRMB8-Nov-07 20:02
StefanRMB8-Nov-07 20:02 
GeneralRe: CArray problem Pin
BadKarma8-Nov-07 20:44
BadKarma8-Nov-07 20:44 
GeneralRe: CArray problem Pin
David Crow9-Nov-07 4:44
David Crow9-Nov-07 4:44 
AnswerRe: CArray problem Pin
Bram van Kampen10-Nov-07 15:37
Bram van Kampen10-Nov-07 15:37 
QuestionHow can i block a packet ? Pin
jomons8-Nov-07 2:52
jomons8-Nov-07 2:52 
AnswerRe: How can i block a packet ? Pin
Mark Salsbery8-Nov-07 5:21
Mark Salsbery8-Nov-07 5:21 
GeneralRe: How can i block a packet ? Pin
jomons9-Nov-07 20:35
jomons9-Nov-07 20:35 
Questionjump over Pin
youbo8-Nov-07 2:50
youbo8-Nov-07 2:50 
QuestionHuh? Pin
jhwurmbach8-Nov-07 3:04
jhwurmbach8-Nov-07 3:04 
AnswerRe: jump over Pin
toxcct8-Nov-07 3:27
toxcct8-Nov-07 3:27 
QuestionSchool Project Deadline Pin
skydivetom8-Nov-07 2:44
skydivetom8-Nov-07 2:44 
AnswerRe: School Project Deadline Pin
Maximilien8-Nov-07 3:36
Maximilien8-Nov-07 3:36 
QuestionRe: School Project Deadline Pin
David Crow8-Nov-07 3:41
David Crow8-Nov-07 3:41 
AnswerRe: School Project Deadline Pin
skydivetom8-Nov-07 5:34
skydivetom8-Nov-07 5:34 
GeneralRe: School Project Deadline Pin
David Crow8-Nov-07 5:37
David Crow8-Nov-07 5:37 

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.