>>113
をいをい・・・new, deleteってのはこういう感じで使ってくれい。

char* buf = new char[1024];

これで動的にchar型の1024個の配列を確保。

delete[] buf;

これで確保した配列を解放。

構造体でも記述方法は基本的に同じ。