ユーザコマンドを受け取り、受け取ったコマンドに基づいて引数を処理するフィードバックループをプログラミングしています。これまでのところ、私の関数は次のようになります。 //main loop of the program that keeps repeating, which each cycle taking in one user input
void mainLoop(){
char i
GWW(ユーザー)の助けを借りてこのコードを思いついたので、今度はchar **を解放できません。ここで は、(それだけで、入力ファイルを読み込み、画面上に名前を表示します)私のコードです: EDIT: /* deallocate2D
corresponding function to dynamically deallocate 2-dimensional array using
* mal
新しいベクトル: HookAct *act = new HookAct;
act->hkAct = HookAct::PRINT;
act->params = new vector<string>;
Valgrindのは、私に語った: ==15551== Process terminating with default action of signal 11 (SIGSEG