Quantcast
Channel: Forum Pasja Informatyki - Najnowsze pytania bez odpowiedzi
Viewing all articles
Browse latest Browse all 21942

Access violation w Visual Studio, w CodeBlocks działa

$
0
0

Mam problem dziwny problem. Ten kod kompiluje się i działa tylko w trybie Relase w Visual Studio:

class Klasa
{
public:
	Klasa()
	{

	}
};

stack<Klasa*> getShortestPath()
{
	stack<Klasa*> stos;

	return stos;
}

W trybie Debug wywołanie getShortestPath wywala błąd w

return stos;

Błąd:

Unhandled exception at 0x772A2D37 (ntdll.dll) in SuperAStart.exe: 0xC0000005: Access violation reading location 0x6B5DEFE2.

W Code Blocks działa niezależnie od trybu kompilowania. Dlaczego?


Viewing all articles
Browse latest Browse all 21942

Trending Articles


TRX Antek AVT - 2310 ver 2,0


Автовишка HAULOTTE HA 16 SPX


POTANIACZ


Zrób Sam - rocznik 1985 [PDF] [PL]


Maxgear opinie


BMW E61 2.5d błąd 43E2 - klapa gasząca a DPF


Eveline ➤ Matowe pomadki Velvet Matt Lipstick 500, 506, 5007


Auta / Cars (2006) PLDUB.BRRip.480p.XviD.AC3-LTN / DUBBING PL


Peugeot 508 problem z elektroniką


AŚ Jelenia Góra