User Tools

Site Tools


cpp:object_creation

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:object_creation [2017/04/20 08:20] – [Δημιουργία και ανάθεση αντικειμένων σε δείκτες] gthanoscpp:object_creation [2017/04/20 08:41] – [Δημιουργία και ανάθεση αντικειμένων σε δείκτες] gthanos
Line 85: Line 85:
  
 int main() { int main() {
 +  int x=5;
   foo();   foo();
 +  cout << "x: " << x << endl;
 } }
 </code> </code>
cpp/object_creation.txt · Last modified: 2021/05/07 06:22 (external edit)