by: Albert Yan Qing Ge |
last post by:
typedef struct AA {
} A;
when use gcc compiles, sizeof(A) is 0
when use g++ compiles, sizeof(A) is 1
So I can known the length of this pointer is 1
but when I add one member to the...
|
by: MSReddy |
last post by:
Hi Group,
I have a structure than has other structures in it. I added 3 members
to a strucuture and my program started behaving very strangly. When I
printed sizes of the strucutures the values...
|
by: Abdul Samad |
last post by:
banfa just said that it is because so the compiler may not assign the same memory to two variables
but my question is WHY DOES COPILER ASSIGNMS MEMORY WHEN THERE IS NO NEED OF IT?
as the...
|
by: Anonymous |
last post by:
I need to refresh my memory on this one.
If have a struct defined like this:
typedef struct
{
char guid ;
char version ;
char srcId ;
|
by: arindamnitd |
last post by:
How to determine the size of a structure without using the sizeof() operator
|
by: ashusharma82 |
last post by:
plz check following code pMe i an structure pointer,in which char *linewisechar
is made.
pMe->linewisechar=(pMe->newcchar+STRLEN(pMe->newcchar)-1);
here i am assigning...
|
by: sriathma |
last post by:
How to Copy empty structure using Postgres.
Sridharan
|
by: AnagJohari |
last post by:
hello guys, Can u tell me how to find the size of structure.
Please explain by giving some example.
Thank you
|
by: Markus |
last post by:
Hi, all.
I've been doing some work with the Windows API (icky, real icky). Often times when setting the members of a structure, you have to also store the size of the structure; for example, the...
|
by: priyaagarwal |
last post by:
struct st
{
char a;
short b;
char c;
}
what will be size of structue.
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|