Changeset 782 for libcaca/trunk/cpp/cpptest.cpp
- Timestamp:
- Apr 17, 2006, 12:44:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cpp/cpptest.cpp
r781 r782 32 32 33 33 try { 34 qq = new Cucul();34 qq = new Cucul(); 35 35 } 36 36 catch (int e) { … … 38 38 return -1; 39 39 } 40 41 kk = new Caca(qq);42 40 43 41 try { 42 kk = new Caca(qq); 43 } 44 catch(int e) { 45 cerr << "Error while attaching cucul to caca (" << e << ")" << endl; 46 return -1; 47 } 44 48 45 49 qq->set_color(CUCUL_COLOR_LIGHTMAGENTA, CUCUL_COLOR_BLACK);
Note: See TracChangeset
for help on using the changeset viewer.