Object lifetime is unlimited. Objects get freed when you free them and not before. C++ is not Java and there is no garbage collector.
But where are the *difficult* C programs? These 10-15 line tiddlers might be challenging for beginners for about 5 minutes, but that doesn't...
Compiler bug probably. (-3) - (-3)=0 because any finite number minus itself is zero, so if your compiler thinks this is -6 then it's wrong....
You would have to read the input into a string variable, then check if it's a valid number with a function like atoi(), and if not, throw a...
Google "winapi full screen".
>>In above data you see part no has 10 revision where few revision has 1, 2 alternative and 1 alternative has preferred 1 & 2 alternative has...
No idea. If you won't give me the info I ask for then I can't help. Compile to assembly if you want to see what's going on. I tried installing...
The output cannot possibly be "8" because of cout << b << a; That means you will get 2 numbers, not one. As I said in my previous post, modify...
I've had a good think about this and I REALLY can't see how you get the same result for both programs. Shabbir, the difference is that the second...
You have undefined behaviour because you are using modifiers on the same variable more than once in the same statement. Basically it's up to the...
Yes.
You need the code for DbManager - that is, the library that defines the code and the header that defines the functions. This is not part of OCCI....
Remember what I said before about terminating NULLs? You still have such a problem - now it's up to you to find it.
>>I understand that at the command "while (isspace(ch=getc(in)))" the programm reads till if founds a character that is either a " or a blank....
Your server is just in the wrong state. It needs some way of detecting a killed client application and closing that connection. Once you have...
Remember the terminating NULL! char availability[1]; only has room for that terminating NULL. If you try to store "x" in this, remember that is...
>>I still don't know how to add string, bool, and char into this equation Why not? You've figured it out for int: int i; so clearly you know...
There's probably a makefile of some kind. Check the ffmpeg developers documentation for details on how to build it. Project files are not...
>>it comes up with and error or some think like that This might surprise you, but we cannot (a) see your screen or (b) read your mind. What errors?
You need a bigger stack, most likely. Better still, if you want to store that much data, use a linked list instead, which if written correctly...
Separate names with a comma.