http://www.parashift.com/c++-faq-lite/ is one resource that comes to mind
Type: Posts; User: JaWiB
http://www.parashift.com/c++-faq-lite/ is one resource that comes to mind
>Smoking marijuana does not lead to addiction.
It seems the general consensus (though I've seen a few articles that may suggest otherwise) is that it doesn't lead to physiological dependence. But...
Jumping in here kind of late...I haven't read the whole thread.
Citation? I've found one article that shows a possible link (though it sounds like the link could also be due to the marijuana...
I've found credits are a very bad indicator of how much work a class will take. I have a physics lab course and a calculus course this quarter that are 3 credits each but make up about 70% of my...
I'm glad someone agrees with me :) I read through a bunch of the comments on the article and I was a bit dismayed that almost all of them agreed with it.
>Staying with one company is nice, but they simply don't reward loyalty.
So do you think companies should be rewarding loyalty? I can certainly understand that, from an employee's perspective, it...
I don't know if anyone else reads The Daily WTF, but there's an interesting article posted there:
http://thedailywtf.com/Articles/Up-or-Out-Solving-the-IT-Turnover-Crisis.aspx
Disclaimer: I don't...
I'm another mostly "self-taught," though to be fair the boards here taught me a lot of what I know. I started learning during high school, I guess, and now I've taken one programming course at my...
According to Einstein, it isn't possible for an object with mass to move at the speed of light.
Nested if and switch statements sounds ugly.
It doesn't seem to me like parsing the names would be that difficult. After all, the chemical formulas follow a pretty strict convention (just pay...
Maybe if you separated your numbers with whitespace?
>Just try every permutation in every position, and you will sooner or later find the right combination
But the problem is distinguishing the correct plaintext from the wrong ones, isn't it?...
You're never actually assigning anything to the elements of leven. And this loop does nothing but assign leven[esize-1] (which is uninitialized) to each even element of list:
for(int k = 0; k <...
Buffer overflow perhaps? Where is quadEx declared, and is its size at least 51?
If only we had, like, the mayor of awesometown here.
Yeah, but it still probably wouldn't be foolproof (not to mention more difficult to make platform-independent). What about programs like visual studio that allow multiple documents? Maybe you open an...
I doubt there's any way to do it automatically. Some programs will probably just read the file into memory and then close the file handle, so what would stop your program from deleting it then?
...
And what are the errors? Are they compile errors? Runtime errors?
You call GetDC, but do you call ReleaseDC anywhere?
http://www.eskimo.com/~scs/cclass/int/sx4ab.html
I keep around a console project that I put my test code in. I just have to remember to put code I want to keep in a new project. Otherwise, I erase all the contents every time I want to test...
It sounds more like you're comparing C and C++ than comparing C programming with object oriented programming (which seem to me like apples and oranges).
>Derived classes indeed simplify things,...
Cingular is the new AT&T. Just type in Cingular on wikipedia and see what you get :)
Since you're using Windows, you can use the QueryPerformanceFrequency and QueryPerformanceCounter methods for more accurate timing (if the system supports a high resolution timer)
/GR- disables RTTI: http://msdn2.microsoft.com/en-us/library/we6hfdy0(VS.80).aspx