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.
I have googled a lot to know how scanf and printf works.
But did not find any suitable answer.
Please help me.
Let say when we write
scanf("%d", i); // int i
how computer comes to know that the value has been entered from keyboard?
and how printf prints the data or output to the screen?
Please help me
They use the system primitives read and write. You can see more about them here http://comsci.liu.edu/~murali/unix/read.htm and here http://codewiki.wikidot.com/c:system-calls:write and respectively read from stdin(file desc = 0) and stdout(file desc=1).
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 9 years ago.
I tried to write a groovy script which reads the value from response xml
when value was read it was read in the format [001] but i require that to be read without braces how is it possible?
So, that's a list. Try grabbing the first element
value[ 0 ] as Integer
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.
I want to write an own emulator(sandbox) in windows for my antivirus
It 's just a simple emulator to test the system change went execute a file(.exe dll ...)
But i dont know where i should start,i know a litle asm and c/c++
Can help me ?
Thanks !
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.
I need some guidance on how to write a Perl, VBScript or JavaScript code to display the hex value of a key stroke. I need this mainly for multimedia keys in keyboard like mute, volume up, volume down, etc.
Luckily somebody already wrote it: See
http://www.javascriptkit.com/javatutors/javascriptkey2.shtml
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.
Hey I'm just learning C in school and I have this idea for a little mini programming project I want to do. I know you guys know your shit on here so I'm wondering if it's possible to read and write to a text file in C?
And if so, can someone direct me to a link or give me a little sample code of how to do that?
C file I/O
there you go
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 am new to iphone. I want to use MFMailComposer please guide me how to use. I am not getting any right way to do. If so please give the code.
try this sample code its pretty easy