Click here to Skip to main content
15,884,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: STL:: MAP Data Structure Used Pin
Stephen Hewitt2-Oct-09 2:42
Stephen Hewitt2-Oct-09 2:42 
QuestionFull Screen videa and Splash Screen confliction Pin
ScotDolan1-Oct-09 10:17
ScotDolan1-Oct-09 10:17 
AnswerRe: Full Screen videa and Splash Screen confliction Pin
theCPkid1-Oct-09 17:05
theCPkid1-Oct-09 17:05 
GeneralRe: Full Screen videa and Splash Screen confliction Pin
ScotDolan2-Oct-09 9:58
ScotDolan2-Oct-09 9:58 
Questionvc++ list problem Pin
Nikz21-Oct-09 6:51
Nikz21-Oct-09 6:51 
AnswerRe: vc++ list problem Pin
CPallini1-Oct-09 7:10
mveCPallini1-Oct-09 7:10 
GeneralRe: vc++ list problem Pin
jeron11-Oct-09 7:17
jeron11-Oct-09 7:17 
GeneralRe: vc++ list problem Pin
Nikz21-Oct-09 7:20
Nikz21-Oct-09 7:20 
Cool. At least i know that i'am not crazy. Well. Here goes the rest of class TLevel.
class TLevel
{
public:
	TLevel();
void	CallBut(int xcoor,int ycoor,UINT nButton);
	TLevel(int lvlsize, int sealvl);
	~TLevel();
	bool Generate(CWnd *dialog,int StartPointX = 0, int StartPointY = 0, int size = 50);
	bool LoadList(CString str);
protected:
	MyList* Fieldlist;
	FieldStruct **map;
	int LvlSize; 
	int SeaLvl;
	int FieldSize;
	int GetIndexX(int xcoor);
	int GetIndexY(int ycoor);
};

I don't understand what can influence smthng so simple like Pointer1=Pointer2. It dosen't show any error. But as soon as i execute the code and it comes to this->Fieldlist=HeadList it raise a memory error (access violation). I'am desperate...
Oh yeah. And in constructor when i do smthng with Fieldlist it's ok. But when i get to LoadList function it crashes. Any idea?!
AnswerRe: vc++ list problem Pin
Richard MacCutchan1-Oct-09 7:27
mveRichard MacCutchan1-Oct-09 7:27 
GeneralRe: vc++ list problem Pin
Nikz21-Oct-09 7:29
Nikz21-Oct-09 7:29 
GeneralRe: vc++ list problem Pin
Nikz21-Oct-09 7:41
Nikz21-Oct-09 7:41 
AnswerRe: vc++ list problem Pin
Stuart Dootson1-Oct-09 22:32
professionalStuart Dootson1-Oct-09 22:32 
GeneralRe: vc++ list problem Pin
Nikz22-Oct-09 4:40
Nikz22-Oct-09 4:40 
QuestionLogin crashes when i enter a wrong password [modified] Pin
Vetukuri Raju1-Oct-09 5:50
Vetukuri Raju1-Oct-09 5:50 
QuestionRe: Login crashes when i enter a wrong password Pin
David Crow1-Oct-09 7:21
David Crow1-Oct-09 7:21 
QuestionRe: Login crashes when i enter a wrong password Pin
Maximilien1-Oct-09 7:54
Maximilien1-Oct-09 7:54 
QuestionHow to build visual c++ code Pin
raja 41-Oct-09 4:35
raja 41-Oct-09 4:35 
QuestionRe: How to build visual c++ code Pin
David Crow1-Oct-09 4:40
David Crow1-Oct-09 4:40 
AnswerRe: How to build visual c++ code Pin
Vetukuri Raju1-Oct-09 6:00
Vetukuri Raju1-Oct-09 6:00 
QuestionCapturing printed data Pin
ibnhatab1-Oct-09 3:50
ibnhatab1-Oct-09 3:50 
AnswerRe: Capturing printed data Pin
Richard MacCutchan1-Oct-09 5:50
mveRichard MacCutchan1-Oct-09 5:50 
GeneralRe: Capturing printed data Pin
ibnhatab1-Oct-09 6:20
ibnhatab1-Oct-09 6:20 
GeneralRe: Capturing printed data Pin
Richard MacCutchan1-Oct-09 6:55
mveRichard MacCutchan1-Oct-09 6:55 
GeneralRe: Capturing printed data Pin
ibnhatab1-Oct-09 7:00
ibnhatab1-Oct-09 7:00 
AnswerRe: Capturing printed data Pin
Stuart Dootson1-Oct-09 22:34
professionalStuart Dootson1-Oct-09 22:34 

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.