Board index » cppbuilder » RAD Studio help files on C RTL
Randall Parker
CBuilder Developer |
Randall Parker
CBuilder Developer |
RAD Studio help files on C RTL2008-03-24 11:29:25 PM cppbuilder94 In CG CB 2007 with the latest updates if in help you go here: ms-help://borland.bds5/devwin32/cruntimelibrarypart_xml.html you will see listed mem.h and alloc.h but no memory.h. Someone here told me to use memory.h to get malloc/free sorts of functions. I do not see memory.h there in CodeGear's help. The alloc.h has malloc/free. The mem.h has memcpy/memset/etc. Does anyone know either a better place in Borland's help for which RTL include files to use or the best place on the web for which RTL include files to use? |
Jason Cipriani
CBuilder Developer |
2008-03-25 12:00:00 AM
Re:RAD Studio help files on C RTL
"Randall Parker" < XXXX@XXXXX.COM >wrote in message
Quote
QuoteThe alloc.h has malloc/free. The mem.h has memcpy/memset/etc. www.cplusplus.com/reference/clibrary/ Go to cplusplus.com. The header you want is <cstdlib>. For C, you can look on opengroup.org: www.opengroup.org/onlinepubs/009695399/functions/malloc.html www.opengroup.org/onlinepubs/009695399/ Jason |
Jason Cipriani
CBuilder Developer |
2008-03-25 12:03:30 AM
Re:RAD Studio help files on C RTL
"Jason Cipriani" < XXXX@XXXXX.COM >wrote in message
Quote"Randall Parker" < XXXX@XXXXX.COM >wrote in message so you don't even need to go all the way into the help... Quote
{smallsort} |
Randall Parker
CBuilder Developer |
2008-03-25 01:31:39 AM
Re:RAD Studio help files on C RTL
"Jason Cipriani" < XXXX@XXXXX.COM >wrote:
QuoteAnd, of course, you could try highlighting malloc() in your code editor and |
Duane Hebert
CBuilder Developer |
2008-03-25 02:27:30 AM
Re:RAD Studio help files on C RTL
"Randall Parker" < XXXX@XXXXX.COM >wrote in message
Quote
Typing malloc in the search field gets a hit for stdlib.h (after references to new() BTW) I usually use this for MS as well as it seems better than the normal MSDN help. |
Randall Parker
CBuilder Developer |
2008-03-25 02:34:17 AM
Re:RAD Studio help files on C RTL
Here's the best way I've found to consistently get help on functions of all kinds:
In the CodeGear RAD Studio help click on Index. Then type in the function name in the "Look for:" control on the left. That master list of function names has good entries in it. Other ways to reach function name info are more hit-and-miss. This way works best. |
Leo Siefert
CBuilder Developer |
2008-03-25 03:58:32 AM
Re:RAD Studio help files on C RTL
Randall Parker wrote:
QuoteF1 does not work on sprintf or free. In both cases the IDE takes me help. Unfortunately the Dinkumware help does also appear to be provided and I know of no way to eliminate it selectively. Dinkumware STL is included, so you don't want to ignore all of the Dinkumware help - my guess is that they provide their help as a single package, so CodeGear had the option to include it all or none of it. You can quickly become familiar with what headers are provided by Dinkumware, as they are in a separate include folder - there are 66 in all. - Leo |
Leo Siefert
CBuilder Developer |
2008-03-25 04:00:51 AM
Re:RAD Studio help files on C RTL
Duane Hebert wrote:
QuoteBorland uses dinkumware. So you can try: - Leo |
Duane Hebert
CBuilder Developer |
2008-03-25 04:06:56 AM
Re:RAD Studio help files on C RTL
"Leo Siefert" < XXXX@XXXXX.COM >wrote in message
QuoteDuane Hebert wrote: |
Jason Cipriani
CBuilder Developer |
2008-03-25 04:07:25 AM
Re:RAD Studio help files on C RTL
"Randall Parker" < XXXX@XXXXX.COM >wrote in message
Quote
|