14 years, 7 months ago
Highlights
Community contributions featuredint* p = new int(); int q = (int)p; //truncates on any case where sizeof(q) != sizeof(p) size_t r = (size_t)p; //does not truncate. thx u now everything is clear... I belive…
14 years, 7 months ago
14 years, 7 months ago
Here we are: http://msdn.microsof...y/3b2e7499.aspx When you use Visual C++ to create applications to run on a 64-bit Windows operating system, you should be aware of the follow…
14 years, 7 months ago
Yes, I only learn it today, after an entire afternoon spent with several algorithms and data structures C++ samples getting crash on Windows for unknown reason -.- One answer co…
14 years, 7 months ago
I must delete a file with an Unicode name. The file-name is stored in a wstring. Is there a way to do it without using windows api? std::remove( ) of cstdio library doesn't…
14 years, 9 months ago
Latest Activity
See all in Discussionsint* p = new int(); int q = (int)p; //truncates on any case where sizeof(q) != sizeof(p) size_t r = …
14 years, 7 months ago
Here we are: http://msdn.microsof...y/3b2e7499.aspx When you use Visual C++ to create applications to run on a 64-bit Windows operating system, …
14 years, 7 months ago
Don't allocate large arrays on the stack. It's not designed for that. Use the heap. new/delete. std::vector<T>, std::array<T>, or similar. …
14 years, 7 months ago