Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Sizeof | Topic profile

Topic profile page for Sizeof. This page has aggregated data from forum posts, threads, listings, online discussions, newsgroups, messageboards, and other online sources which contain user generated content for the term: Sizeof.
Topic "Sizeof" was discussed 8,318 times on 401 sites in last 3 months
Search discussions, forums, images, videos, about "Sizeof" on BoardReader!
 

BoardReader Trendy!

Topic 1:

Topic 2:

Topic 3:

Domain Profile
Domain:

Posting activity graph on sizeof:

Posts by:  day  week  month 

 

Related topics:


sizeof was discussed on the following sites:

Forums de Developpez.com Forums de Developpez.com - 1,052 Forums de Developpez.com - site profile
C Board - Your resource for C and C++. C Board - Your resource for C and C++. - 1,025 C Board - Your resource for C and C++. - site profile
www.daniweb.com - IT Tech Talk www.daniweb.com - IT Tech Talk - 485 www.daniweb.com - IT Tech Talk - site profile
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions CodeGuru Forums - A Developer.com Community for... - 445 CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions - site profile
MSDN Forums MSDN Forums - 318 MSDN Forums - site profile

 

Related threads on sizeof:

robmyers Today's C++ fail: a class that is 3 bytes bigger to...  robmyers - Identi.ca - site profile robmyers - forum profile  Go to this thread  Today's C++ fail: a class that is 3 bytes bigger to sizeof() in its constructor than it is to new() . about a year ago from Twhirl
C++ Programming Difference between strlen() and sizeof()  C Board - Your resource for C and C++. - site profile C++ Programming - forum profile  Go to this thread  Difference between strlen() and sizeof()
microsoft.public.vc.language sizeof in microsoft.public.vc.language  Discussions in microsoft.public.vc.language - site profile microsoft.public.vc.language - forum profile  Go to this thread  sizeof in microsoft.public.vc.language
C Programming wt is output of sizeof('a');?  C Board - Your resource for C and C++. - site profile C Programming - forum profile  Go to this thread  wt is output of sizeof('a');?
esnoeijs the about page of @ sizeof might be the coolest one I've...  Twitter / esnoeijs - site profile esnoeijs - forum profile  Go to this thread  the about page of @ sizeof might be the coolest one I've seen in a long while. Might even start doing it myself ;) http://julien.palard.fr/ 5:16 AM Oct 28th from web

Latest threads on sizeof:

C Programming
Started 3 days, 16 hours ago (2009-11-26 22:06:00)  by nkrao123@gmail.
" The sizeof('x') constants do not return expected results. In C, the return value is 4 for the sizeof character constant and 2 for the sizeof multicharacter constant " i got output for 4 for printf("%d ",sizeof('x'); .but i am not understand how output 2 for this statement "2 for the sizeof multicharacter constant ". please give any one example for this output 2
Source: C Board - Your resource for C and C++. More from this site C Board - Your resource for C and C++. - site profile 
Forum:  C Programming  C Programming - forum profile
Thread:  Show this thread (6 posts) More from how sizeof() return 2 for multicharacter constant  Thread Thread info: how sizeof() return 2 for multicharacter constant Size: 581 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "how sizeof() return 2 for multicharacter constant :: C Programming :: C Board - Your resource for C and C++."
Started 4 days, 10 hours ago (2009-11-26 04:18:00)  by Nidhin KR
Hi Team, I am using sizeof() in c# I need to find the memory size required by the array which is of the type strut. Please see the snippet.   using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Globalization; namespace sizeOfDemo {     struct Vertex     {         public float r;         public float g;         public float b;         public ...
Source: C# Forum : C#, VB.NET, WCF, WPF, Silverlight, WF, ... More from this site C# Forum : C#, VB.NET, WCF, WPF, Silverlight, WF, XAML, .NET 3.0, .NET 3.5,
Visual Studio 2008 Forums - site profile 
Forum:  C# Language  C# Language - forum profile
Thread:  Show this thread (2 posts) More from Using sizeof() in c# with arrays  Thread Thread info: Using sizeof() in c# with arrays Size: 3,960 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Using sizeof() in c# with arrays :: C# Language :: C# Forum : C#, VB.NET, WCF, WPF, Silverlight, WF, ..."
C Programming
Started 4 days, 14 hours ago (2009-11-26 00:28:00)  by nkrao123@gmail.
Code: int main() { char ch='a'; printf("%d ",sizeof(ch)); printf("%d ",sizeof('a')); return 0; } ouput 1 4 i am littlebit confusing on the output of sizeof('a') is 4. can you clear my confusion?
Source: C Board - Your resource for C and C++. More from this site C Board - Your resource for C and C++. - site profile 
Forum:  C Programming  C Programming - forum profile
Thread:  Show this thread (6 posts) More from wt is output of sizeof('a');?  Thread Thread info: wt is output of sizeof('a');? Size: 678 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "wt is output of sizeof('a');? :: C Programming :: C Board - Your resource for C and C++."
yangman
Started 1 week, 6 days ago (2009-11-16 23:32:40)  by yangman
Source: yangman - Identi.ca More from this site yangman - Identi.ca - site profile 
Forum:  yangman  yangman - forum profile
Thread:  Show this thread (1 post) More from Apparently, until you load some code, #gdb is in 32-bit mode, so sizeof(X*) will be wrong on a 64-bit machine.  Good to know.  Thread Thread info: Apparently, until you load some code, #gdb is in 32-bit mode, so sizeof(X*) will be wrong on a 64-bit machine.  Good to know. Size: 203 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Apparently, until you load some code, #  gdb   is in 32-bit mode, so sizeof(X*) will be wrong on a 64-bit... :: yangman :: yangman - Identi.ca"
Kernel
Started 2 weeks, 4 days ago (2009-11-12 03:10:00)  by Julia Lawall
( From: Julia Lawall As observed by Joe Perches, sizeof of a constant string includes the trailing 0. If what is wanted is to check the initial characters of another string, this trailing 0 should not be taken into account. If an exact match is wanted, strcmp should be used instead. The semantic patch that makes this change is as follows: \(http://coccinelle....
Source: Lockergnome Forums More from this site Lockergnome Forums - site profile 
Forum:  Kernel  Kernel - forum profile
Thread:  Show this thread (10 posts) More from [PATCH 4/4] fs/qnx4: decrement sizeof size in strncmp  Thread Thread info: [PATCH 4/4] fs/qnx4: decrement sizeof size in strncmp Size: 4,844 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "[PATCH 4/4] fs/qnx4: decrement sizeof size in strncmp :: Kernel :: Lockergnome Forums"
C Programming
Started 2 weeks, 5 days ago (2009-11-10 19:42:00)  by Ploe
I'm trying to get to grips with malloc however the sizeof function - no matter what I do, always returns 4. Can someone explain to me what is up? Code: #include #include int main() { int *ptr = malloc(sizeof(int) * 10); int len = sizeof(ptr); printf("Len: %i", len); }
Source: C Board - Your resource for C and C++. More from this site C Board - Your resource for C and C++. - site profile 
Forum:  C Programming  C Programming - forum profile
Thread:  Show this thread (6 posts) More from sizeof always returns 4.  Thread Thread info: sizeof always returns 4. Size: 760 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "sizeof always returns 4. :: C Programming :: C Board - Your resource for C and C++."
Kevin Isom
Started 2 weeks, 6 days ago (2009-11-10 03:59:00)  by kev_nz
Source: Twitter / kev_nz More from this site Twitter / kev_nz - site profile 
Forum:  Kevin Isom  Kevin Isom - forum profile
Thread:  Show this thread (1 post) More from RT @sizeof: Google Closure ? I'm Not Impressed http://ff.im/-beD7K  Thread Thread info: RT @sizeof: Google Closure ? I'm Not Impressed http://ff.im/-beD7K Size: 619 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RT @ sizeof : Google Closure ? I'm Not Impressed  http://ff.im/-beD7K     about 11 hours ago    from  DestroyTwitter :: Kevin Isom :: Twitter / kev_nz"
lorenzowood
Started 3 weeks, 4 days ago (2009-11-05 07:44:00)  by lorenzowood
Source: Twitter / lorenzowood More from this site Twitter / lorenzowood - site profile 
Forum:  lorenzowood  lorenzowood - forum profile
Thread:  Show this thread (1 post) More from :-) This is why I talk on a boggo cheap and light Nokia RT @sizeof CNET UK
Names iPhone the World’s Worst [phone] http://ff.im/-b1TqL  Thread Thread info: :-) This is why I talk on a boggo cheap and light Nokia RT @sizeof CNET UK
Names iPhone the World’s Worst [phone] http://ff.im/-b1TqL Size: 680 bytes
Related Threads: Same Site | All Sites
Customize:  Customize ":-) This is why I talk on a boggo cheap and light Nokia RT @ sizeof  CNET UK Names i... :: lorenzowood :: Twitter / lorenzowood"
esnoeijs
Started 1 month ago (2009-10-28 05:16:00)  by esnoeijs
Source: Twitter / esnoeijs More from this site Twitter / esnoeijs - site profile 
Forum:  esnoeijs  esnoeijs - forum profile
Thread:  Show this thread (1 post) More from the about page of @sizeof might be the coolest one I've seen in a long
while. Might even start doing it myself ;) http://julien.palard.fr/  Thread Thread info: the about page of @sizeof might be the coolest one I've seen in a long
while. Might even start doing it myself ;) http://julien.palard.fr/ Size: 627 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "the about page of @ sizeof  might be the coolest one I've seen in a long while. Might even s... :: esnoeijs :: Twitter / esnoeijs"
C Programming
Started 1 month, 1 week ago (2009-10-17 16:41:00)  by hugo2x
I was wondering if there was a way to makea function, that like the sizeof() function returning the byte number, it returns the bit number? Code: //for example printf("%d bytes",sizeof(int)); //prints 4 bytes Code: // I want to make a function modification, or a new function that prints amount of bits printf("%d bits",sizeofbits(int)); //a new functions //prints 32...
Source: C Board - Your resource for C and C++. More from this site C Board - Your resource for C and C++. - site profile 
Forum:  C Programming  C Programming - forum profile
Thread:  Show this thread (10 posts) More from A different sizeof()?  Thread Thread info: A different sizeof()? Size: 1,663 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "A different sizeof()? :: C Programming :: C Board - Your resource for C and C++."
 

Hot threads on sizeof:

C and C++
little help DWORD  - 2 new posts Read thread in new window
Started 1 week, 1 day ago (2009-11-22 06:05:00)  by lmf
HI! i'm trying to read the registry get value DWORD Code: HKEY hKey; DWORD dwDisp = 0; LPDWORD lpdwDisp = &dwDisp; DWORD dwVersion; DWORD dwType=REG_DWORD; DWORD dwSize=sizeof(DWORD); LONG iSuccess = RegCreateKeyEx( HKEY_CURRENT_USER, "Path", 0L,NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hKey,lpdwDisp); if(iSuccess == ERROR...
Source: VBForums - Visual Basic and VB .NET Discussions an... More from this site VBForums - Visual Basic and VB .NET Discussions and More! - site profile 
Forum:  C and C++  C and C++ - forum profile
Thread:  Show this thread (2 posts) More from little help DWORD  Thread Thread info: little help DWORD Size: 1,331 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "little help DWORD :: C and C++ :: VBForums - Visual Basic and VB .NET Discussions an..."
microsoft.public.windowsce.platbuilder
Started 3 days, 20 hours ago (2009-11-26 18:22:00)  by Windows Programmer
  From a Windows CE 6.0 user mode process, I'm trying to get information about kernel memory using VirtualQueryEx(). The code goes something like this: hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pidOfNKdotEXE); if (hProc) { rc = VirtualQueryEx(hProc, 0xd0000000, &mbi, sizeof(mbi))...
microsoft.public.windowsce.embedded.vc
Started 3 days, 20 hours ago (2009-11-26 18:22:00)  by Windows Programmer
  From a Windows CE 6.0 user mode process, I'm trying to get information about kernel memory using VirtualQueryEx(). The code goes something like this: hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pidOfNKdotEXE); if (hProc) { rc = VirtualQueryEx(hProc, 0xd0000000, &mbi, sizeof(mbi))...
Visual C++ / MFC
Started 1 week ago (2009-11-22 22:19:00)  by tyftyftyf
Hi, I allocated a struct from a heap, the struct may be like this one: struct abc{ int tmp1; string tmp2; int tmp3; }*pabc; pabc=(abc*)malloc(sizeof abc); And when I initialize the string(pabc-> tmp2="1234"), an "Illegal Pointer" exception occured. It seems that the size of the string is changed, so I decided to allocate a bigger size. pabc=(abc*)malloc(sizeof abc+4); But the error still ...
Source: CodeProject: Discussion Boards. Free source code a... More from this site CodeProject: Discussion Boards. Free source code and programming help - site profile 
Forum:  Visual C++ / MFC  Visual C++ / MFC - forum profile
Thread:  Show this thread (2 posts) More from The exact size of "string" problem [modified][Solved]  Thread Thread info: The exact size of "string" problem [modified][Solved] Size: 728 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "The exact size of "string" problem [modified][Solved] :: Visual C++ / MFC :: CodeProject: Discussion Boards. Free source code a..."
Visual C++ / MFC
Started 5 days, 21 hours ago (2009-11-24 17:06:00)  by Anthony Appleyard
I know well how to ask the user to choose a file: BOOL GetFileName(HWND wn,char*file,char*t,char*f,short write/*=1*/) {short j; strcpy(file,tit); ofn.lStructSize=sizeof(OPENFILENAME); ofn.hwndOwner=wn; ofn.lpstrFilter=f; ofn.lpstrCustomFilter=0; ofn.lpstrFile=file; ofn.nMaxFile=128; ofn.lpstrFileTitle=tit; ofn.nMaxFileTitle=256; ofn.lpstrInitialDir=0; ofn.lpstrTitle=t; ofn.Flags=write?OFN_...
Source: CodeProject: Discussion Boards. Free source code a... More from this site CodeProject: Discussion Boards. Free source code and programming help - site profile 
Forum:  Visual C++ / MFC  Visual C++ / MFC - forum profile
Thread:  Show this thread (2 posts) More from How to ask the user to choose a directory/folder?  Thread Thread info: How to ask the user to choose a directory/folder? Size: 886 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "How to ask the user to choose a directory/folder? :: Visual C++ / MFC :: CodeProject: Discussion Boards. Free source code a..."
Programming
Array within struct  - 1 new post Read thread in new window
Started 3 days, 23 hours ago (2009-11-26 15:41:00)  by sDoky
Hi, I am writing a program in C, which should work with matrixes. I want to have dynamic array within a structure. Something like this: Code: Select all typedef struct input { int x; int y; int array[][]=malloc(x*y*sizeof(int)); } Tinput; Because first two values I am gonna load is a size of the matrix, then I should be able to load the matrix correctly. I do not know how to put it there...
Source: Debian User Forums More from this site Debian User Forums - site profile 
Forum:  Programming  Programming - forum profile
Thread:  Show this thread (6 posts) More from Array within struct  Thread Thread info: Array within struct Size: 579 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Array within struct :: Programming :: Debian User Forums"
New to Solaris Development
Started 6 days, 11 hours ago (2009-11-24 03:34:00)  by opriyer
Hello, Here is a sample code that is giving problems: while ( true ) { readBufPtr = fgets (buf, sizeof(buf), stdin); if (readBufPtr) syslog (LOG_INFO, buf); else if (EINTR != errno) { syslog (LOG_ERR, "[ESReadStdin] read from stdin failed. Reason: [%s]. Exiting." , strerror (errno)); exit(-1); } } The fgets call gives the ...
Source: Sun Forums More from this site Sun Forums - site profile 
Forum:  New to Solaris Development   New to Solaris Development
 - forum profile
Thread:  Show this thread (3 posts) More from fgets from stdin - Bad file number  Thread Thread info: fgets from stdin - Bad file number Size: 1,171 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "fgets from stdin - Bad file number :: New to Solaris Development
 :: Sun Forums"
microsoft.public.windowsce.app.development
Started 3 days, 20 hours ago (2009-11-26 18:22:00)  by Windows Programmer
  From a Windows CE 6.0 user mode process, I'm trying to get information about kernel memory using VirtualQueryEx(). The code goes something like this: hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pidOfNKdotEXE); if (hProc) { rc = VirtualQueryEx(hProc, 0xd0000000, &mbi, sizeof(mbi))...
Základné
nacitanie cisel  - 1 new post Read thread in new window
Started 1 day, 4 hours ago (2009-11-29 10:05:00)  by jarcialgo.webovastranka.sk
include include using namespace std; int main(int argc, char *argv[]) { int a[5]; int *p_a; p_a=(int*)malloc(sizeof(int)*10); for(int i=0;i
Source: jarcialgo.webovastranka.sk More from this site jarcialgo.webovastranka.sk - site profile 
Forum:  Základné  Základné - forum profile
Thread:  Show this thread (1 post) More from nacitanie cisel  Thread Thread info: nacitanie cisel Size: 218 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "nacitanie cisel :: Základné :: jarcialgo.webovastranka.sk"
C++
Started 2 days, 22 hours ago (2009-11-27 16:16:00)  by Arzar
Citation: Envoyé par camboui std::string n'est pas POD alors. Et toute structure contenant des std::string ne l'est pas non plus. Comme tu dis les PODs sont donc des struct "C like". Je me demande dans quel cas ça peut-être utile ce genre d'info. Par exemple dans la STL de VS ou celle de GCC un appel à std::...
Source: Forums de Developpez.com More from this site Forums de Developpez.com - site profile 
Forum:  C++  C++ - forum profile
Thread:  Show this thread (32 posts) More from sizeof() et preprocesseur - Page 3 - Forum des professionnels en
informatique  Thread Thread info: sizeof() et preprocesseur - Page 3 - Forum des professionnels en
informatique Size: 6,143 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: sizeof() et preprocesseur - Page 3 - Forum des professionnels en informatique :: C++ :: Forums de Developpez.com"
C Programming
Started 3 days, 15 hours ago (2009-11-26 23:39:00)  by nkrao123@gmail.
HI Programers thanks for your suggestions.thanks allot
Source: C Board - Your resource for C and C++. More from this site C Board - Your resource for C and C++. - site profile 
Forum:  C Programming  C Programming - forum profile
Thread:  Show this thread (6 posts) More from how sizeof() return 2 for multicharacter constant  Thread Thread info: how sizeof() return 2 for multicharacter constant Size: 119 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: how sizeof() return 2 for multicharacter constant :: C Programming :: C Board - Your resource for C and C++."