It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Suppose I have a simple c program.I want to know the transitions this program makes that is if it goes into a blocked state or suspended state etc.,as it is getting executed.Can someone please explain taking a simple c program and going through the transitions for each line of code?
States are applicable to processes. A program under execution is referred to as a process.
This link would be a better way to understand different states of a process
http://en.wikipedia.org/wiki/Process_state
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm looking for Xlib function or macro that will give me actual screen's refresh rate. Thanks.
Doing a quick search tells me it's not possible directly with xlib. However it seems possible using the XRandR extension, with the function XRRConfigRates.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was exploring a bit on compilers.I had a question in my mind.I wanted to know whether,
C-Programming language provide*any programing function* to know the size of compiler being used?
I think it's safe to say "no". There isn't necessarily a meaningful answer -- it's entirely possible to build a single program with code from two (or more) different compilers.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Can anyone tell me how to add a Windows string resource?
How to read it?
And, lastly, code for another C program to edit that resource.
thanx a lot in advance...hope you guyz don't laugh ..;)
Assuming that you are talking about Windows resources inside of executables, see this:
http://www.codeproject.com/KB/cpp/dynares.aspx
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
Does anyone know of a list of C programs that can be practised by beginners?
Hi you can use something from here http://www.simonhuggins.com/courses/cbasics/index.htm
but i can recomend you this book http://www.computersciencelab.com/Deitel.htm there are lot of samples
Sphere Online Judge has a ton of problems at many difficulty levels. The neat thing is you can submit them after you're done to have the server run the program and tell you if you got the right results or not.
http://www.spoj.pl/problems/classical/
Explanation of the different categories of problems:
http://www.spoj.pl/tutorials/USERS/#choose
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how to monitor cpu instruction being called by a program.
Depending on the platform, you might be able to run the program under a debugger, and single step through the assembly instructions to see exactly what it's doing.
try OllyDbg