Hello All,
Some questions were bugging me from quite some time. Any answers!
please share.
1. GIven an .EXE is there a way to find how many global varibale it
uses?
2. Given 2 Strings char *str1 = "JHONSON";
char *str2 = "O";
what is the fastest way to remove all occurences of letter O from str1.
3. Given 2 STACKS, how to implement a QUEUE?
4. what are MAK files? where are they used (Not quite C related but
just in case.)
5. what does .OBJ files contains?
6. how does DLL link on runtime?
7. what is ELF format?
8. what is COFF format? what's it for?
9. why do we need so many file formats .HEX, S-REC to represent exe.
Best Regards,
#define
Hello All,
Some questions were bugging me from quite some time. Any answers!
please share.
1. GIven an .EXE is there a way to find how many global varibale it
uses?
2. Given 2 Strings char *str1 = "JHONSON";
char *str2 = "O";
what is the fastest way to remove all occurences of letter O from str1.
3. Given 2 STACKS, how to implement a QUEUE?
4. what are MAK files? where are they used (Not quite C related but
just in case.)
5. what does .OBJ files contains?
OBJects.... these files contain the classes or OBJects in C++
6. how does DLL link on runtime?
7. what is ELF format?
8. what is COFF format? what's it for?
This is the C Object Format "F" This is the other method for doing OO
9. why do we need so many file formats .HEX, S-REC to represent exe.
In article <1135704412.650597.123420@f14g2000cwb.googlegroups.com>,
#define <u4karsh@gmail.com> writes
Hello All,
Some questions were bugging me from quite some time. Any answers!
please share.
1. GIven an .EXE is there a way to find how many global varibale it
uses?
Yes, use a Logic Analyser with a read through trace. (Must be read
through not read back)
2. Given 2 Strings char *str1 = "JHONSON";
char *str2 = "O";
what is the fastest way to remove all occurences of letter O from str1.
Don't use any O in str1 when you write it. I have also found that if you
lower the temperature it tends to shorten your Johnson to Jhnsn.
3. Given 2 STACKS, how to implement a QUEUE?
Tell them there is a 2 for 1 special offer. Seriously it depends of your
stacks are in system, supervisor or user space.
4. what are MAK files? where are they used (Not quite C related but
just in case.)
MAK files are in fact a form of EXE files. These are used on a MAC
computer as executables. ie PC uses .EXE and MAC uses .MAK
5. what does .OBJ files contains?
OBJects.... these files contain the classes or OBJects in C++
programming. They are sometimes seen in C programming when doing
Advanced Modular Programming (AMP)
6. how does DLL link on runtime?
By using the fourth pass of the linker
A Linking is the executable
B Linking is the standard library
C linking is the user library
D linking is the Dynamic Library
7. what is ELF format?
This is a joke from the K&R Unix team and dates back to the 1950's it is
an uprated version of the cut down format for 8 bit processors. The cut
down version was the Dwarf version and the one with the twist of "magic"
was the Elf version for 16 bit processors.
8. what is COFF format? what's it for?
This is the C Object Format "F" This is the other method for doing OO
type work in C. This makes it possible to link C to C++. The other
method AMP (Advanced Modular Programming) is for C only
9. why do we need so many file formats .HEX, S-REC to represent exe.
This depends if you are using big endian or little endian.
In article <1135704412.650597.123420@f14g2000cwb.googlegroups.com>,
#define <u4karsh@gmail.com> writes
Hello All,
Some questions were bugging me from quite some time. Any answers!
please share.
1. GIven an .EXE is there a way to find how many global varibale it
uses?
Yes, use a Logic Analyser with a read through trace. (Must be read
through not read back)
2. Given 2 Strings char *str1 = "JHONSON";
char *str2 = "O";
what is the fastest way to remove all occurences of letter O from str1.
Don't use any O in str1 when you write it. I have also found that if you
lower the temperature it tends to shorten your Johnson to Jhnsn.
3. Given 2 STACKS, how to implement a QUEUE?
Tell them there is a 2 for 1 special offer. Seriously it depends of your
stacks are in system, supervisor or user space.
4. what are MAK files? where are they used (Not quite C related but
just in case.)
MAK files are in fact a form of EXE files. These are used on a MAC
computer as executables. ie PC uses .EXE and MAC uses .MAK
5. what does .OBJ files contains?
OBJects.... these files contain the classes or OBJects in C++
programming. They are sometimes seen in C programming when doing
Advanced Modular Programming (AMP)
6. how does DLL link on runtime?
By using the fourth pass of the linker
A Linking is the executable
B Linking is the standard library
C linking is the user library
D linking is the Dynamic Library
7. what is ELF format?
This is a joke from the K&R Unix team and dates back to the 1950's it is
an uprated version of the cut down format for 8 bit processors. The cut
down version was the Dwarf version and the one with the twist of "magic"
was the Elf version for 16 bit processors.
8. what is COFF format? what's it for?
This is the C Object Format "F" This is the other method for doing OO
type work in C. This makes it possible to link C to C++. The other
method AMP (Advanced Modular Programming) is for C only
9. why do we need so many file formats .HEX, S-REC to represent exe.
This depends if you are using big endian or little endian.
I have also found that if you
lower the temperature it tends to shorten your Johnson to Jhnsn.
Chris Hills wrote:
In article <1135704412.650597.123420@f14g2000cwb.googlegroups.com>,
#define <u4karsh@gmail.com> writes
Hello All,
Some questions were bugging me from quite some time. Any answers!
please share.
1. GIven an .EXE is there a way to find how many global varibale it
uses?
Yes, use a Logic Analyser with a read through trace. (Must be read
through not read back)
2. Given 2 Strings char *str1 = "JHONSON";
char *str2 = "O";
what is the fastest way to remove all occurences of letter O from str1.
Don't use any O in str1 when you write it. I have also found that if you
lower the temperature it tends to shorten your Johnson to Jhnsn.
3. Given 2 STACKS, how to implement a QUEUE?
Tell them there is a 2 for 1 special offer. Seriously it depends of your
stacks are in system, supervisor or user space.
4. what are MAK files? where are they used (Not quite C related but
just in case.)
MAK files are in fact a form of EXE files. These are used on a MAC
computer as executables. ie PC uses .EXE and MAC uses .MAK
5. what does .OBJ files contains?
OBJects.... these files contain the classes or OBJects in C++
programming. They are sometimes seen in C programming when doing
Advanced Modular Programming (AMP)
6. how does DLL link on runtime?
By using the fourth pass of the linker
A Linking is the executable
B Linking is the standard library
C linking is the user library D linking is the Dynamic Library
7. what is ELF format?
This is a joke from the K&R Unix team and dates back to the 1950's it is
an uprated version of the cut down format for 8 bit processors. The cut
down version was the Dwarf version and the one with the twist of "magic"
was the Elf version for 16 bit processors.
8. what is COFF format? what's it for?
This is the C Object Format "F" This is the other method for doing OO
type work in C. This makes it possible to link C to C++. The other
method AMP (Advanced Modular Programming) is for C only
9. why do we need so many file formats .HEX, S-REC to represent exe.
This depends if you are using big endian or little endian.
Chris,
Please make sure what you post is accurate.
in Ans 1, You use a scope and not a logic analyzer.
^^^^^
On Tue, 27 Dec 2005 12:03:37 -0700, Dan Henry wrote:
I have also found that if you
lower the temperature it tends to shorten your Johnson to Jhnsn.
Then you need to recalibrate with a Johnson Counter.
There really is a lot to learn, isn't there?
On Tue, 27 Dec 2005 12:03:37 -0700, Dan Henry wrote:
I have also found that if you
lower the temperature it tends to shorten your Johnson to Jhnsn.
Then you need to recalibrate with a Johnson Counter.
There really is a lot to learn, isn't there?
Chris Hills wrote:
In article <1135704412.650597.123420@f14g2000cwb.googlegroups.com>,
#define <u4karsh@gmail.com> writes
Hello All,
Some questions were bugging me from quite some time. Any answers!
please share.
1. GIven an .EXE is there a way to find how many global varibale it
uses?
Yes, use a Logic Analyser with a read through trace. (Must be read
through not read back)
2. Given 2 Strings char *str1 = "JHONSON";
char *str2 = "O";
what is the fastest way to remove all occurences of letter O from str1.
Don't use any O in str1 when you write it. I have also found that if you
lower the temperature it tends to shorten your Johnson to Jhnsn.
3. Given 2 STACKS, how to implement a QUEUE?
Tell them there is a 2 for 1 special offer. Seriously it depends of your
stacks are in system, supervisor or user space.
4. what are MAK files? where are they used (Not quite C related but
just in case.)
MAK files are in fact a form of EXE files. These are used on a MAC
computer as executables. ie PC uses .EXE and MAC uses .MAK
5. what does .OBJ files contains?
OBJects.... these files contain the classes or OBJects in C++
programming. They are sometimes seen in C programming when doing
Advanced Modular Programming (AMP)
6. how does DLL link on runtime?
By using the fourth pass of the linker
A Linking is the executable
B Linking is the standard library
C linking is the user library
D linking is the Dynamic Library
7. what is ELF format?
This is a joke from the K&R Unix team and dates back to the 1950's it is
an uprated version of the cut down format for 8 bit processors. The cut
down version was the Dwarf version and the one with the twist of "magic"
was the Elf version for 16 bit processors.
8. what is COFF format? what's it for?
This is the C Object Format "F" This is the other method for doing OO
type work in C. This makes it possible to link C to C++. The other
method AMP (Advanced Modular Programming) is for C only
9. why do we need so many file formats .HEX, S-REC to represent exe.
This depends if you are using big endian or little endian.
Chris,
Please make sure what you post is accurate.
in Ans 1, You use a scope and not a logic analyzer.
:-)
Chris Hills wrote:
In article <1135704412.650597.123420@f14g2000cwb.googlegroups.com>,
#define <u4karsh@gmail.com> writes
Hello All,
Some questions were bugging me from quite some time. Any answers!
please share.
1. GIven an .EXE is there a way to find how many global varibale it
uses?
Yes, use a Logic Analyser with a read through trace. (Must be read
through not read back)
2. Given 2 Strings char *str1 = "JHONSON";
char *str2 = "O";
what is the fastest way to remove all occurences of letter O from str1.
Don't use any O in str1 when you write it. I have also found that if you
lower the temperature it tends to shorten your Johnson to Jhnsn.
3. Given 2 STACKS, how to implement a QUEUE?
Tell them there is a 2 for 1 special offer. Seriously it depends of your
stacks are in system, supervisor or user space.
4. what are MAK files? where are they used (Not quite C related but
just in case.)
MAK files are in fact a form of EXE files. These are used on a MAC
computer as executables. ie PC uses .EXE and MAC uses .MAK
5. what does .OBJ files contains?
OBJects.... these files contain the classes or OBJects in C++
programming. They are sometimes seen in C programming when doing
Advanced Modular Programming (AMP)
6. how does DLL link on runtime?
By using the fourth pass of the linker
A Linking is the executable
B Linking is the standard library
C linking is the user library
D linking is the Dynamic Library
7. what is ELF format?
This is a joke from the K&R Unix team and dates back to the 1950's it is
an uprated version of the cut down format for 8 bit processors. The cut
down version was the Dwarf version and the one with the twist of "magic"
was the Elf version for 16 bit processors.
8. what is COFF format? what's it for?
This is the C Object Format "F" This is the other method for doing OO
type work in C. This makes it possible to link C to C++. The other
method AMP (Advanced Modular Programming) is for C only
9. why do we need so many file formats .HEX, S-REC to represent exe.
This depends if you are using big endian or little endian.
Chris,
Please make sure what you post is accurate.
in Ans 1, You use a scope and not a logic analyzer.
:-)
But be shure not to set it to auto trigger mode. Otherwise you will only
In article <dos4hn$h543@cliff.xsj.xilinx.com>, Kunal Shenoy
kunals@xilinx.com> writes
Chris Hills wrote:
In article <1135704412.650597.123420@f14g2000cwb.googlegroups.com>,
#define <u4karsh@gmail.com> writes
Hello All,
Some questions were bugging me from quite some time. Any answers!
please share.
1. GIven an .EXE is there a way to find how many global varibale it
uses?
Yes, use a Logic Analyser with a read through trace. (Must be read
through not read back)
2. Given 2 Strings char *str1 = "JHONSON";
char *str2 = "O";
what is the fastest way to remove all occurences of letter O from str1.
Don't use any O in str1 when you write it. I have also found that if you
lower the temperature it tends to shorten your Johnson to Jhnsn.
3. Given 2 STACKS, how to implement a QUEUE?
Tell them there is a 2 for 1 special offer. Seriously it depends of your
stacks are in system, supervisor or user space.
4. what are MAK files? where are they used (Not quite C related but
just in case.)
MAK files are in fact a form of EXE files. These are used on a MAC
computer as executables. ie PC uses .EXE and MAC uses .MAK
5. what does .OBJ files contains?
OBJects.... these files contain the classes or OBJects in C++
programming. They are sometimes seen in C programming when doing
Advanced Modular Programming (AMP)
6. how does DLL link on runtime?
By using the fourth pass of the linker
A Linking is the executable
B Linking is the standard library
C linking is the user library
D linking is the Dynamic Library
7. what is ELF format?
This is a joke from the K&R Unix team and dates back to the 1950's it is
an uprated version of the cut down format for 8 bit processors. The cut
down version was the Dwarf version and the one with the twist of "magic"
was the Elf version for 16 bit processors.
8. what is COFF format? what's it for?
This is the C Object Format "F" This is the other method for doing OO
type work in C. This makes it possible to link C to C++. The other
method AMP (Advanced Modular Programming) is for C only
9. why do we need so many file formats .HEX, S-REC to represent exe.
This depends if you are using big endian or little endian.
Chris,
Please make sure what you post is accurate.
in Ans 1, You use a scope and not a logic analyzer.
:-)
Depends on method. I assume you mean a Digital memory scope. If you are
looking for the Scope of the Global variables this is correct. However
if the globals are in file scope it is easier (if less correct) to use a
Logic analyser and "cheat" by using the read through trace.
IT won't work with the read-back trace which confuses some people and
they think a analyser can't be used for this. So perhaps you are right
that the simple answer is a scope. This is why most lecturers go on
about the scope of variables so much.
Bob Stephens wrote:
On Tue, 27 Dec 2005 12:03:37 -0700, Dan Henry wrote:
I have also found that if you lower the temperature it tends
to shorten your Johnson to Jhnsn.
Then you need to recalibrate with a Johnson Counter.
There really is a lot to learn, isn't there?
I kept confusing it with a Johnson Bar.
Jim Stewart wrote:
Bob Stephens wrote:
On Tue, 27 Dec 2005 12:03:37 -0700, Dan Henry wrote:
I have also found that if you lower the temperature it tends
to shorten your Johnson to Jhnsn.
Then you need to recalibrate with a Johnson Counter.
There really is a lot to learn, isn't there?
I kept confusing it with a Johnson Bar.
No, that's Johansson, and is what Ingemar opened after winning the
heavyweight championship from Floyd Patterson.
Hello All,
Some questions were bugging me from quite some time. Any answers!
please share.
1. GIven an .EXE is there a way to find how many global varibale it
uses?
2. Given 2 Strings char *str1 = "JHONSON";
char *str2 = "O";
what is the fastest way to remove all occurences of letter O from str1.
3. Given 2 STACKS, how to implement a QUEUE?
Assume Stack S1,S2;
4. what are MAK files? where are they used (Not quite C related but
just in case.)
5. what does .OBJ files contains?
6. how does DLL link on runtime?
7. what is ELF format?
8. what is COFF format? what's it for?
9. why do we need so many file formats .HEX, S-REC to represent exe.
Best Regards,
#define
Users browsing this forum: No registered users and 0 guests