20 years, 3 months ago
Highlights
By default, if you run the program in VS, you should put your resource files same as project folder, and if you run it in "My Computer", then put those files into application fo…
20 years, 3 months ago
20 years, 5 months ago
I declare a class in "ct.h" file, and define it in "ct.cpp" file. The class is using template. ^^^^^^^^ Problem: I want to use this class in other cpp file of the same project.…
20 years, 5 months ago
I used a template like this: template <class T> T test(int n) { if (n < 0) { cout << "Error!" << endl; //Now,I want exit this function,not program. //So I u…
20 years, 5 months ago
20 years, 5 months ago
Latest Activity
See all in DiscussionsBy default, if you run the program in VS, you should put your resource files same as project folder, and …
20 years, 3 months ago
You can reblit and update the changed area only.SDL_BlitSurface and SDL_UpdateRects both have a rect parameter for it.
20 years, 5 months ago
Quote:Original post by CTarThe problem isn't VC's. Template classes have to be defined in every compilation unit using them. So …
20 years, 5 months ago