Unsafe Operations with STL !!!
It is UNSAFE to do any operation on an STL container that will modify its size while holding a reference to one of its existing element. What could happen is, when you do an operation, say push_back …
Read more →Blog posts on tech, engineering, and more.
It is UNSAFE to do any operation on an STL container that will modify its size while holding a reference to one of its existing element. What could happen is, when you do an operation, say push_back …
Read more →Learnt something new, a small one but very useful. Many times I have seen GUI applications accompanied by console windows that show logs or trace information of the application. How do we do that for …
Read more →Need to change or set the value of an environment variable programmatically and without the need to restart/log off the machine. I need the change to reflect for all processes, ie, I need to change …
Read more →Problem: I have created a multi-threaded application which works without any problems on a NT-4.0 Workstation/Server. When I try to run the same application in Windows XP, I get an error in a call to …
Read more →I was doing some programming with C# and I had to use some consts as everybody does generally in programming. I had a class that simply had const string variables for my DB table names and stuff like …
Read more →