C++

Catching an access violation exception

Author: Embarcadero USA Question and Answer Database FAQ1750C.txt Catching an access violation exception Category :C/C++ Language Issues Platform :All Product :BC++ 5.x Question: Why does my attempt at catching an access violation fail? main() { char *ptr; ptr=NULL; try { *ptr=5; } catch(...) { cerr << "Caught exception" <"throw" somewhere for you to…
Read more
Delphi

Passing Multidimensional Arrays as Parameters

Author: Embarcadero USA Technical Information Database TI1477D.txt - Passing Multidimensional Arrays as Parameters Category :Object Pascal Platform :All-32Bit Product : Description: Passing an array to a procedure or function is straight forward and behaves as…