diff options
Diffstat (limited to 'ccc/cat_char.cc')
-rw-r--r-- | ccc/cat_char.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ccc/cat_char.cc b/ccc/cat_char.cc deleted file mode 100644 index 3daf564..0000000 --- a/ccc/cat_char.cc +++ /dev/null @@ -1,16 +0,0 @@ -#include <iostream> -#include <string.h> - -using namespace std; - - -int main(void) -{ - char c[] = "c"; - char x[1024]; - string s("s"); - strcpy(x, s.c_str()); - strcat(x, c); - cout << x << endl; -} - |