したがって、次のように 2 つの char 配列を連結する必要がある演習があります。
const int MAXI=100;
char group[MAXI+7]="things/"
char input[MAXI];
cin >> input;
//Doing something here!
cout << group << endl;
-- things/input_text -- を返すように何かを起こさなければなりません。
注意が必要なのは、ポインタ、文字列ライブラリ、またはあらゆる種類の動的配列の使用が許可されていないことです。
何をすべきか?
編集:印刷する必要はありません。変数に値が必要です:things / input_text、他の何かに使用するつもりです!
EDIT2: < string > ライブラリを使用できません。つまり、そのライブラリでは strcat() などを使用できません。次のようにトリガーされる別のモジュールが提供されています。
void thing(group, stuff, more_stuff);
それでおしまい。