dev-cpp-users Mailing List for Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
1
|
2
(1) |
3
|
4
(2) |
5
(1) |
6
|
7
|
8
|
9
(3) |
10
|
11
(1) |
12
|
13
|
14
|
15
|
16
|
17
(1) |
18
|
19
|
20
|
21
(1) |
22
(1) |
23
(3) |
24
|
25
|
26
(1) |
27
(1) |
28
|
|
|
|
|
|
From: William Mc C. <wil...@ms...> - 2011-02-27 07:34:42
|
http://actv-tec.co.il/FAT.html |
From: William Mc C. <wil...@ms...> - 2011-02-26 07:36:34
|
http://www.locandalemandriane.it/index04.html |
From: William Mc C. <wil...@ms...> - 2011-02-23 23:20:51
|
http://www.teichmannonline.de/index02.html |
From: William Mc C. <wil...@ms...> - 2011-02-23 21:25:50
|
http://barnaciber.net/index04.html |
From: Dropbox <no-...@dr...> - 2011-02-23 02:05:17
|
Deepesh Kapadia wants you to use Dropbox to sync and share files online and across computers. Get started here: http://www.dropbox.com/link/20.02B0p-c3XP/NjY5OTQ4NjU4Nw?src=referrals_bulk9 - The Dropbox Team ____________________________________________________ To stop receiving invites from Dropbox, please go to http://www.dropbox.com/bl/df1e87d8f4ca/dev-cpp-users%40lists.sourceforge.net |
From: William Mc C. <wil...@ms...> - 2011-02-22 10:59:29
|
http://giovaninzago.org/click/click.html |
From: William Mc C. <wil...@ms...> - 2011-02-17 20:39:24
|
http://sebastienlarousse.teria.org/OK.html/OK.html |
From: William Mc C. <wil...@ms...> - 2011-02-11 01:51:31
|
http://www.os-cerkno.si/OK.html/OK.html |
From: Per W. <pw...@ia...> - 2011-02-09 18:45:26
|
Note that virtual memory allows overcommit, i.e. the total amount of memory pages can be more than the total amount of physical memory. What doesn't fit in RAM will have to be swapped to disk. But an important issue is the address space of the computer. 32-bit Windows have a physical limitation of between 2 and 3 GB - actual figure depends a bit on what version of Windows. Between multiple applications, it's possible to allocate more memory than what may be physically allocated. But a single process can't do that. Variables within a process can't be overlapping so if the OS have a limitation of 2 GB addressable RAM, then a single process can't get past this (including stack) even if the machine have 4GB of physical RAM (some of which are used by the OS and some are wasted) and it also doesn't help if the swap file is 10 GB large. So a 32-bit Windows installation will never be able to create an array that requires more than about 2-3 GB before running out of physical address range to map in RAM to. Another thing is that a call to malloc() requesting a huge memory block can instantly return with a pointer - no swapping needed. But as soon as the program tries to fill the memory region, the OS may have to swap out other programs or variables just to find some RAM to map into the allocated memory region. When it is needed to work with structures that are larger than the addressable memory range the OS/hw combo can handle, then you must instead work with a physical file and either let the OS create a memory mapping between a region of the file and a memory buffer, or you must manually read/write/cache blocks of the file into RAM. So with a 3TB Western Digital HDD, you can work with a 3TB large array - but the running time of the application will be very, very large. /pwm On Wed, 9 Feb 2011, J Glassy wrote: > Daniel, > > Here is a quick shot at a reply to a complex issue, with this > disclaimer: fully understanding memory management in ANSI C/C++ takes > some people years. To REALLY understand it, you should become > acquainted with basic virtual-memory-management (VMM) theory and > practice as implemented on your operating system, and anything you > can learn about how OS kernels work will help very much. But in > practice, very few application programmers understand this beyond the > minimum they need to get every day work accomplished. > > -- There are many, many good books that address memory management in > ANSI C to some degree or other. Start with K&R's books, and P.J. > Plaugher's books are above average on this as well, including full > info on the standard library. When ready, you may want to read Peter > Van der Linden's Expert C , Deep C Secrets. This book is a-typical in > how well he addresses memory and pointer arithmetic much better than > most. Again, there are many others; just Google ANSI C memory > management and/or books. > > --Memory management on a Win32 environment can be complex depending on > what you're trying to accomplish. If you can afford it, the more > physical memory (RAM) you can add to your working PC the better, > especially given the size of problems you appear to be wanting to > address. Memory these days is the cheapest it has ever been, and time > is never cheap. > > --At an OS level, physical memory is exposed by the kernel to "user > processes" via layered abstractions, made possible by the OS' virtual > memory manager. Through swap memory (backing store actually managed > as a binary disk file), the OS can make more memory available to user > processes than actually exists as physical memory; this is generally > true for both Win32 as well as Linux, though each OS accomplishes this > via slightly different mechanisms. > > --It is possible on most OS to adjust the virtual memory high water > mark by increasing the size of the virtual memory paging file or > "space"; simplistically, on Linux one would increase the size of the > swap partition. This can be easily be done on Windows OS as well; here > is a link explaining one way to do this, though there are other ways: > > http://www.ehow.com/how_2226129_size-paging-file-windows-xp.html. > > Please keep in mind that when you simply increase the size of the > virtual paging space this way, you're not adding to physical memory, > and when a process USES this capability, it will result in typically > much slower memory accesses due to the need to page > least-recently-used blocks in and out of the portion of memory > implemented as a binary disk file. OS try their best to do this > efficiently, and today use very complex, multi-layered caching schemes > to try to optimize overall system wide performance -- but still, its > not magic and you see a performance hit. > > --From within an application, you generally request memory either from > two classes of memory -- the stack or the heap. > Stack memory and methods to work with this are typically referred to > as "static memory" and heap memory is typically referred to as > "dynamic memory". > > -- Dynamic memory is almost ALWAYS what application programmers want > to use. In ANSI C, as you know, you explicitly allocate blocks of > memory, per variable, using calloc(). Definitely avoid using malloc() > since memory returned by malloc() is NOT initialized and you > absolutely want to start each variables life-cycle in an application > in a known state (e.g. initialized). > > -- Dynamic memory MUST be released when you are done with it, in order > to be a polite OS citizen and return it to the free pool so that other > processes can get access to it. > - In a procedural language like ANSI C, or C++ (including Dev-C++ > etc), automatic variables are assigned memory off the stack, but this > is a very limited resource, sometimes as little as 10Kb for some > environments, but this can vary -- good rule of thumb: don't COUNT ON > USING STACK MEMORY. Here is a quick code-snippet example of an > automatic variable using stack memory, vs. dynamic memory. > > > #include <stdio.h> > #include <stdlib.h> > > int main(int argc,char *argv[]) > { > int a = 0 ; /* uses sizeof(int) bytes off the stack */ > float x = 0.0 /* uses sizeof(float) bytes (on a PC, an IEEE single > precision real is 4 bytes) from the stack */ > float y[100] = {0}; /* uses sizeof(float) * 100, so 400 bytes off > the stack */ > > /* here is an example of memory taken off the heap. this is often > called "dynamic memory allocation" */ > int r=0, c=0, k=0; > int nRows = 1024; > int nColumns = 768; > int nElements = nRows * nColumns; > double *array = NULL; > > /* request (dynamic) memory off the heap, and warn user if this > amount is not available */ > if((array = (double *)calloc(sizeof(double), nElements))==NULL) > { > printf("Failed memory request for %d elements of double\n",nElements); > exit(-1); > } > > /* do something with the array here ... dummy placeholder logic is here */ > for(k=0,r = 0; r < nRows; r++) > for(c=0; c < nCols; c++) > array[k++] = 999.9 ; > > /* later, when done, release it back to the free pool */ > free(array); > > exit(0); > } /* end:: main()*/ > > Hope this helps. > > cheers, > joe > > > On Wed, Feb 9, 2011 at 8:48 AM, Daniel Albrecht > <dan...@jr...> wrote: > > Hello, > > > > My PC is: Fujitsu-Siemens: CELSIUS model > > XEON(TM) CPU: 2.8 GHz + 1 Gbytes RAM > > running on XP Professional (2002) Service Pack: #3 > > > > I simply program in C language with Dev-C++ Bloodshed 4.9.9.2. > > It works beautifully !!! > > > > QUESTIONS: > > 1. WHERE can I find the standard library information ? > > I do NOT find it on: http://www.bloodshed.net/devcpp.html > > > > 2. WHERE can I find info or the best approach to understand memory > > allocation [malloc()] ? > > at: double array[524288][360] == ~1.5 Gbytes, it still works ! > > at: double array[1048576][360] == ~3.0 Gbytes, it seems to stop > > ! > > > > what about virtual memory behaviour/settings on my PC ? > > > > Best wishes. > > > > Daniel Albrecht > > > > > > -- > > Daniel Albrecht (PhD) > > JRC - IPSC - EAS Unit > > > >---------------------------------------------------------------------------- > > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > > Pinpoint memory and threading errors before they happen. > > Find and fix more than 250 security defects in the development cycle. > > Locate bottlenecks in serial and parallel code that limit performance. > > http://p.sf.net/sfu/intel-dev2devfeb > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > ------------------------------------------------------------ > Joseph Glassy > Lead Software Engineer, F/T & L4 C > NASA Measures (Freeze/Thaw),Rm CFC 424 > College of Forestry and Conservation > Univ. Montana, Missoula, MT 59812 > > Lupine Logic Inc. > www.lupinelogic.com > Scientific and Technical Programming > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: J G. <um....@gm...> - 2011-02-09 17:03:55
|
Daniel, Here is a quick shot at a reply to a complex issue, with this disclaimer: fully understanding memory management in ANSI C/C++ takes some people years. To REALLY understand it, you should become acquainted with basic virtual-memory-management (VMM) theory and practice as implemented on your operating system, and anything you can learn about how OS kernels work will help very much. But in practice, very few application programmers understand this beyond the minimum they need to get every day work accomplished. -- There are many, many good books that address memory management in ANSI C to some degree or other. Start with K&R's books, and P.J. Plaugher's books are above average on this as well, including full info on the standard library. When ready, you may want to read Peter Van der Linden's Expert C , Deep C Secrets. This book is a-typical in how well he addresses memory and pointer arithmetic much better than most. Again, there are many others; just Google ANSI C memory management and/or books. --Memory management on a Win32 environment can be complex depending on what you're trying to accomplish. If you can afford it, the more physical memory (RAM) you can add to your working PC the better, especially given the size of problems you appear to be wanting to address. Memory these days is the cheapest it has ever been, and time is never cheap. --At an OS level, physical memory is exposed by the kernel to "user processes" via layered abstractions, made possible by the OS' virtual memory manager. Through swap memory (backing store actually managed as a binary disk file), the OS can make more memory available to user processes than actually exists as physical memory; this is generally true for both Win32 as well as Linux, though each OS accomplishes this via slightly different mechanisms. --It is possible on most OS to adjust the virtual memory high water mark by increasing the size of the virtual memory paging file or "space"; simplistically, on Linux one would increase the size of the swap partition. This can be easily be done on Windows OS as well; here is a link explaining one way to do this, though there are other ways: http://www.ehow.com/how_2226129_size-paging-file-windows-xp.html. Please keep in mind that when you simply increase the size of the virtual paging space this way, you're not adding to physical memory, and when a process USES this capability, it will result in typically much slower memory accesses due to the need to page least-recently-used blocks in and out of the portion of memory implemented as a binary disk file. OS try their best to do this efficiently, and today use very complex, multi-layered caching schemes to try to optimize overall system wide performance -- but still, its not magic and you see a performance hit. --From within an application, you generally request memory either from two classes of memory -- the stack or the heap. Stack memory and methods to work with this are typically referred to as "static memory" and heap memory is typically referred to as "dynamic memory". -- Dynamic memory is almost ALWAYS what application programmers want to use. In ANSI C, as you know, you explicitly allocate blocks of memory, per variable, using calloc(). Definitely avoid using malloc() since memory returned by malloc() is NOT initialized and you absolutely want to start each variables life-cycle in an application in a known state (e.g. initialized). -- Dynamic memory MUST be released when you are done with it, in order to be a polite OS citizen and return it to the free pool so that other processes can get access to it. - In a procedural language like ANSI C, or C++ (including Dev-C++ etc), automatic variables are assigned memory off the stack, but this is a very limited resource, sometimes as little as 10Kb for some environments, but this can vary -- good rule of thumb: don't COUNT ON USING STACK MEMORY. Here is a quick code-snippet example of an automatic variable using stack memory, vs. dynamic memory. #include <stdio.h> #include <stdlib.h> int main(int argc,char *argv[]) { int a = 0 ; /* uses sizeof(int) bytes off the stack */ float x = 0.0 /* uses sizeof(float) bytes (on a PC, an IEEE single precision real is 4 bytes) from the stack */ float y[100] = {0}; /* uses sizeof(float) * 100, so 400 bytes off the stack */ /* here is an example of memory taken off the heap. this is often called "dynamic memory allocation" */ int r=0, c=0, k=0; int nRows = 1024; int nColumns = 768; int nElements = nRows * nColumns; double *array = NULL; /* request (dynamic) memory off the heap, and warn user if this amount is not available */ if((array = (double *)calloc(sizeof(double), nElements))==NULL) { printf("Failed memory request for %d elements of double\n",nElements); exit(-1); } /* do something with the array here ... dummy placeholder logic is here */ for(k=0,r = 0; r < nRows; r++) for(c=0; c < nCols; c++) array[k++] = 999.9 ; /* later, when done, release it back to the free pool */ free(array); exit(0); } /* end:: main()*/ Hope this helps. cheers, joe On Wed, Feb 9, 2011 at 8:48 AM, Daniel Albrecht <dan...@jr...> wrote: > Hello, > > My PC is: Fujitsu-Siemens: CELSIUS model > XEON(TM) CPU: 2.8 GHz + 1 Gbytes RAM > running on XP Professional (2002) Service Pack: #3 > > I simply program in C language with Dev-C++ Bloodshed 4.9.9.2. > It works beautifully !!! > > QUESTIONS: > 1. WHERE can I find the standard library information ? > I do NOT find it on: http://www.bloodshed.net/devcpp.html > > 2. WHERE can I find info or the best approach to understand memory > allocation [malloc()] ? > at: double array[524288][360] == ~1.5 Gbytes, it still works ! > at: double array[1048576][360] == ~3.0 Gbytes, it seems to stop > ! > > what about virtual memory behaviour/settings on my PC ? > > Best wishes. > > Daniel Albrecht > > > -- > Daniel Albrecht (PhD) > JRC - IPSC - EAS Unit > >---------------------------------------------------------------------------- > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > ------------------------------------------------------------ Joseph Glassy Lead Software Engineer, F/T & L4 C NASA Measures (Freeze/Thaw),Rm CFC 424 College of Forestry and Conservation Univ. Montana, Missoula, MT 59812 Lupine Logic Inc. www.lupinelogic.com Scientific and Technical Programming |
From: Daniel A. <dan...@jr...> - 2011-02-09 16:15:17
|
Hello, My PC is: Fujitsu-Siemens: CELSIUS model XEON(TM) CPU: 2.8 GHz + 1 Gbytes RAM running on XP Professional (2002) Service Pack: #3 I simply program in C language with Dev-C++ Bloodshed 4.9.9.2. It works beautifully !!! QUESTIONS: 1. WHERE can I find the standard library information ? I do NOT find it on: http://www.bloodshed.net/devcpp.html 2. WHERE can I find info or the best approach to understand memory allocation [malloc()] ? at: double array[524288][360] == ~1.5 Gbytes, it still works ! at: double array[1048576][360] == ~3.0 Gbytes, it seems to stop ! what about virtual memory behaviour/settings on my PC ? Best wishes. Daniel Albrecht -- Daniel Albrecht (PhD) JRC - IPSC - EAS Unit |
From: William Mc C. <wil...@ms...> - 2011-02-05 08:30:27
|
http://comix.hellospace.net/main_link.html |
From: William Mc C. <wil...@ms...> - 2011-02-04 16:20:21
|
http://ansan.dothome.co.kr/mainlink.html |
From: William Mc C. <wil...@ms...> - 2011-02-04 15:45:02
|
http://kuohsiang.com.tw/mainlink.html |
From: William Mc C. <wil...@ms...> - 2011-02-02 17:35:11
|
http://vicariomanguan.com/mainlink.html |