No, don't get me wrong: your example was gold and it was very helpful. Sorry if that didn't come out. What I meant was that you didn't really answer my questions, though the example gave me useful...
Thanks Nuzzle. Your reply was not really spot-on, but it gave me an interesting thing to observe: operator new only takes care of the memory allocation, and not of the construction of the object.
...
If you downloaded the library as a precompiled lib file for Win32, chances are it was compiled using Visual Studio. You may not be able to use it in Borland C++; but you can get VS Express for free...
Hi everyone! I've been reading many an article on this matter, but I want to make sure I've understood everything correctly. The thing is, that I couldn't find any source that explicitly "validated"...
Nobody has an idea on how to solve this problem? Of course I could load the XML tree and then serialize/deserialize the project myself, but it would be great to use the C# serialization utilities.
I'm trying to code a couple of tools to manage Visual Studio's projects. The reason why I need an external program for that is that 1) I use VS Express, so I have no macro support, and 2) it may be...
I want to use the RawInput API in my program to handle HIDs. However, I can't even register any device, as RegisterRawInputDevices fails (returns FALSE). When I call GetLastError(), I...
I'm trying to follow the AJAX paradigm to add to the user experience in my webgame. You can see it here, though only when my PC is on (which is during most of the day, central Europe...
Virtual inherintance, huh? Didn't know it. Your example seems pretty explanatory; could you point me to a good discussion of what it is (especially what drawbacks or hidden traps it has)? Thanks for...
Nevermind, I found it myself. It seems there's a known problem with SQL Server 2000 (pre-SP1), where a subquery with computed or aggregate columns causes this error.
Thanks Yves! I've checked GLOW out, but couldn't get it to compile (MS VS05). Instead, I tried again and found out that my previous experiments were flawed: one *can* wrap the GLUT in C++, using...
You can interface the 16f684 to any thing that understands RS-232. Many PIC's can adopt USB too, but if I'm not wrong it depends on the model. You'll have to write the drivers for your device...
You can use the system(char *str) function, which executes the string pointed to by str as if it was typed at the command prompt. Be careful using this as it is a potential source of security holes...
I think it depends a lot on what kind of job you're looking for. My situation is different from yours, as I'm 23 and I'm gonna take the degree in late September while I seem to understand you're some...
Hi everyone! I'm coding a solar system simulator, and it worked quite good till this morning. I must have done something wrong, but I really can't get what. Maybe a fresh look (or an expert eye ;) )...
I've opened files for reading and writing with no problems, but I never tried to do it in special folders like Program Files. In "normal" directories it should be everything as usual.
I can tell you why. Usually, the academic programming courses are about C, and OOP courses teach Java. When one starts using C++, nobody teaches him about the STL and the containers, so he goes on...