User profile: seeplus

User info
User name:seeplus
History
Joined:
Number of posts:5007
Latest posts:

Sort objects vector according to player position
[quote]Each object has its structure. So I can add a distance integer as a parameter. [/quote] If y...

C++ Review Questions
re 6) https://www.geeksforgeeks.org/memory-layout-of-c-program/ https://www.geeksforgeeks.org/stack...

Encode integer value to 4 bytes in a file
[code] #include <fstream> int main() { std::ofstream ofs("numtest.dat"); const int a { 7592 }; ...

Basic File Handling - Everything correct?
L11 [code] std::wcin.getline(buffer, sizeof(buffer)); [/code] No. This is only correct when the s...

C++ Review Questions
[quote]Error-prone, really? Why, because ppl forget to place the break; at the end of case[/quote] ...