Thread Probleme mit strcat (20 answers)
Opened by renee at 2005-04-28 14:28

Dubu
 2005-04-28 23:47
#11115 #11115
User since
2003-08-04
2145 Artikel
ModeratorIn + EditorIn

user image
Dannn wuerde ich aber auch C++-artiger programmieren. :)
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <string>
#include <iostream>

using namespace std;

int test() {
   string multi = "";
   for(int i = 0; i < 10; i++){
       char *title = "test ";
       multi += title;
   }
   cerr << multi << endl;
   return 0;
}

int main() {
   return test();
}
\n\n

<!--EDIT|Dubu|1114717759-->

View full thread Probleme mit strcat