User Tools

Site Tools


cpp:exception

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
cpp:exception [2018/05/21 02:13] gthanoscpp:exception [2018/05/21 05:55] – [Διαχείριση Εξαιρέσεων] gthanos
Line 78: Line 78:
 Vector::Vector(int length) { Vector::Vector(int length) {
   size = length;   size = length;
-  array = new (nothrow) int[size];+  array = new int[size];
   for(int i=0; i<size; i++)   for(int i=0; i<size; i++)
     array[i] = 0;     array[i] = 0;
cpp/exception.txt · Last modified: 2023/05/15 14:01 by gthanos