Please show thread1 and thread2, and tell us if these are the only threads that access LampRadiance. If not, then describe how other threads...
The volatile keyword may or may not help in a few specific situations, but it is no substitute for proper thread synchronization. What threading...
3. The data value may not be changed. Note: The variable value may be changed, but the original immutable data value was discarded and a new...
ax and bx is general purpose register. Statement mov ax,61 means value 61 is storing at register ax. Statement add bx, ax mean addition of content...
It may be 71.
Can I simulate a non-0-based array with a pointer?
tc++ is HORRIBLY OUTDATED , it has been written before the first c++ standard came out so I'd advise strongly against using it Dev-C++ however is...
also anything after return 0; in this case will not be run, as return 0; ends the program in this case. You should also use "iostream" instead of...
Re: Properly get a single character. « Reply #6 on: September 17, 2008, 08:38:32 AM » Quote from: myork on September 17, 2008, 08:14:38 AM The...
#include <stdio.h> main() { char c; while(1) { printf("Enter a char: "); c =...
Hello. So I've been doing some C today... and wondering how the heck do I get a single char in a loop? I've used getchar and scanf, they both...
hai, i have developed a c-code to push integers into a stack (an array). in the program there are three inputs which has to be given through...
i figured out why it wasn't working. It was because on line 7 i wasn't creating new SnackCart type objects to the vector and hence it only...
dereferencing of c is still displaying the address and not the contents at the address and from that point on. also 3 of the addresses are still...
sorry this is how the function really is. the << has been overloaded to display details of the respective cart objects. sorry this is how the...
While reading from the file, the function reads everything but prints only the first snackcart and the third snackcart twice. I have no idea why....
use cin.get() befor return 0.
will someone clarify the virtual function?
What about Virtual Destructor? What is Pure Virtual Function? Why and when it is used ? i m new to this.please answer if u can.
Separate names with a comma.