Could you post your results?
#include stdio.h
#include stdlib.h
_Bool xdb () {
unsigned int d;
__asm__(cpuid:=d(d):a(0x8001):%ebx,%ecx);
return ((d0x10)==0x10);
}
char * code = \xC3; // ret
char buffer;
int main (int argc, char ** argv) {
void (*function)();
char opcode;
--- kldan_ng wrote:
I would need to put a #include common.h line into each c
file. ... Is there any way to insert
the line automatically into each c file?
for c in old/*.c ; do cat insert $c new/$c ; done ;
You must create new/old/
Use coomand line argument in main.
read book Deniss Richie for help how pass command line argument in C.
Bye. Rajesh Bisht.
Joseph A. Marrero [EMAIL PROTECTED] wrote:
Take a look at system().
--- deepak battu wrote:
Hi ,
How can we execute a dos command from the c
program.please
Dear Friends,
I am writing makefiles on linux. How to call number of makefiles from
the main makefile.
Please reply as soon as possible.
Thanks in advance.
Bye
Hi ,
How can we execute a dos command from the c program.please
provide syntax deepak
hi deepak,
our frnds already told u that use system() function. nice
u must use system() function which is in dos.h header file. i am
giving a program on system(). see and try it. but deepak it
hello friends,
i m working on a drawing project
i almost completed it but i
don't know how to save any image on the screen to file in bitmap,
or any compressed file format, please help?
--- raj2642 wrote:
don't know how to save any image on the screen to file in bitmap,
or any compressed file format, please help?
http://www.fortunecity.com/skyscraper/windows/364/bmpffrmt.html
http://www.jpeg.org/
Yahoo! Search is your friend.
I searched:
bitmap file format
jpeg file
http://www.google.com/search?q=c++ global static variables
--- charlie_chan [EMAIL PROTECTED] wrote:
Why is this part of the follow code sample an
illegal structure operation?
(My intention is to eventually convert the string in
the structure to a
lower case
string that is external to the structure.)
struct Indl_dir {
char Lname[30];
Reply embedded...
-Original Message-
From: c-prog@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
rgearyiii
Sent: Wednesday, November 29, 2006 10:00 PM
To: c-prog@yahoogroups.com
Subject: [c-prog] Re: STL sort help
--- In c-prog@yahoogroups.com, Shyan Lam [EMAIL PROTECTED]
first press the printscreen button then open paint application
press paste option.then save that image as bitmap.
--- charlie_chan [EMAIL PROTECTED] wrote:
uday wrote:
Hi Charlie,
What is the exact error that you are seeing? I
dont find any thing wrong with the offending line.
Thanks
Uday
- Original Message
From: charlie_chan [EMAIL PROTECTED]
To: c-prog@yahoogroups.com
Sent:
--- mail2sheeba_ansari
[EMAIL PROTECTED] wrote:
What is the difference between Global and Static
variables ?
A global variable is defined outside of any function.
A static variable is declared with the keyword static.
You can have global static variables.
Ray
--- Ray Devore wrote:
You can have global static variables.
It is wrong.
The scope of a static variable defined outside any function is only
inside that source file.
At least I'm not the only guy who writes wrong concepts some times. ;)
Pedro Izecksohn [EMAIL PROTECTED] wrote:
--- Ray Devore wrote:
[Ray's original context:
A global variable is defined outside of any function.
A static variable is declared with the keyword static.
]
You can have global static variables.
It is wrong.
Taken out of clear context, of course
15 matches
Mail list logo