|
|
 |
 |
 |
 |
Online "flat" ISO C resource wanted.
Can anyone recommend a good online resource listing all C keywords, standard system calls, defines etc in a "flat" hierarchy. I wish to set up some bindings in order to bring up "hints and tips" on using such keywords/functions from ISO C in an IDE I am working on. So I would bring up a function and use the current word as the search criteria to locate an online library/faq e.g http://resources.c.all/malloc http://resources.c.all/typedef http://resources.c.all/EXIT_SUCCESS etc Links to any and all of your favorite online C resources appreciated.
On May 30, 5:09 pm, Richard <rgr@gmail.com> wrote: > Can anyone recommend a good online resource listing all C keywords, > standard system calls, defines etc in a "flat" hierarchy. > I wish to set up some bindings in order to bring up "hints and tips" on > using such keywords/functions from ISO C in an IDE I am working on. So I > would bring up a function and use the current word as the search > criteria to locate an online library/faq > e.g > http://resources.c.all/mallochttp://resources.c.all/typedefhttp://res... > etc > Links to any and all of your favorite online C resources appreciated.
http://www.dinkumware.com/manuals/ Keywords: auto break case char const continue default do double else enum extern float for goto if int long register return short signed sizeof static struct switch typedef union unsigned void volatile while C99 adds: inline _Imaginary _Complex _Bool restrict
user923005 <dcor @connx.com> writes: > On May 30, 5:09 pm, Richard <rgr @gmail.com> wrote: >> Can anyone recommend a good online resource listing all C keywords, >> standard system calls, defines etc in a "flat" hierarchy. >> I wish to set up some bindings in order to bring up "hints and tips" on >> using such keywords/functions from ISO C in an IDE I am working on. So I >> would bring up a function and use the current word as the search >> criteria to locate an online library/faq >> e.g >> http://resources.c.all/mallochttp://resources.c.all/typedefhttp://res... >> etc >> Links to any and all of your favorite online C resources appreciated. > http://www.dinkumware.com/manuals/
This is a nice resource. A shame though that the functions are URL'd based on their include file name though. e.g http://www.dinkumware.com/manuals/?manual=compleat&page=stdio.html#FILE This url would not be trivial to construct. Where did you find the keyword list though? I didnt see them - eyes are a bit glazed at the moment :-;
> Keywords: > auto > break > case
Richard wrote: > Can anyone recommend a good online resource listing all C keywords, > standard system calls, defines etc in a "flat" hierarchy. > I wish to set up some bindings in order to bring up "hints and tips" on > using such keywords/functions from ISO C in an IDE I am working on. So I > would bring up a function and use the current word as the search > criteria to locate an online library/faq
The C standard specifies all that. Try: <http://cbfalconer.home.att.net/download/n869_txt.bz2> (and don't forget to expand the download with bzip2) -- <http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt> <http://www.securityfocus.com/columnists/423> <http://www.aaxnet.com/editor/edit043.html> <http://kadaitcha.cx/vista/dogsbreakfast/index.html> cbfalconer at maineline dot net -- Posted via a free Usenet account from http://www.teranews.com
On Wed, 30 May 2007 21:29:29 -0400, CBFalconer <cbfalco@yahoo.com> wrote: >Richard wrote: >> Can anyone recommend a good online resource listing all C keywords, >> standard system calls, defines etc in a "flat" hierarchy. >> I wish to set up some bindings in order to bring up "hints and tips" on >> using such keywords/functions from ISO C in an IDE I am working on. So I >> would bring up a function and use the current word as the search >> criteria to locate an online library/faq >The C standard specifies all that. Try: > <http://cbfalconer.home.att.net/download/n869_txt.bz2> >(and don't forget to expand the download with bzip2)
I forgot to expand the download with bzip2 and instead expanded it with WinZip 11.1 under Windows Vista and it extracted just fine. Thanks for the link. -- jay http://www.microsoft.com/vista/ http://www.winzip.com/
On Thu, 31 May 2007 02:09:14 +0200, Richard <rgr @gmail.com> wrote: > a "flat" hierarchy. That's either a contradiction or perhaps a tower block. Tony
CBFalconer <cbfalco @yahoo.com> writes: > Richard wrote: >> Can anyone recommend a good online resource listing all C keywords, >> standard system calls, defines etc in a "flat" hierarchy. >> I wish to set up some bindings in order to bring up "hints and tips" on >> using such keywords/functions from ISO C in an IDE I am working on. So I >> would bring up a function and use the current word as the search >> criteria to locate an online library/faq > The C standard specifies all that. Try: > <http://cbfalconer.home.att.net/download/n869_txt.bz2>
I don't see how that addresses what I was looking for. You snipped the example of the format I needed to bring up the info from an IDE for some reason. How would you automate an IDE to open that file and find a programmers guide to "typedef" for example? The example I gave for what I was looking for was something like http://xxx.yyy/c/typedef.htm > (and don't forget to expand the download with bzip2)
Would you like to explain how I should tie my shoelaces too? In addition, why do you not put a proper extension on the compressed file content so that most of us can use default applications to view the thing? No one uses underscore followed by type definition. It is "." (period) followed by extension type. <signature snipped manually>
Tony Mc <a @btinternet.com> writes: > On Thu, 31 May 2007 02:09:14 +0200, Richard <rgr @gmail.com> wrote: >> a "flat" hierarchy. > That's either a contradiction or perhaps a tower block. > Tony
You're quite right - when typing I couldn't think of any other. But I think flat hierarchies do exist. Anyway, the examples should have clarified :)
Richard wrote: > CBFalconer <cbfalco @yahoo.com> writes: >> Richard wrote: >>> Can anyone recommend a good online resource listing all C keywords, >>> standard system calls, defines etc in a "flat" hierarchy. >>> I wish to set up some bindings in order to bring up "hints and >>> tips" on using such keywords/functions from ISO C in an IDE I am >>> working on. So I would bring up a function and use the current >>> word as the search criteria to locate an online library/faq >> The C standard specifies all that. Try: >> <http://cbfalconer.home.att.net/download/n869_txt.bz2> > I don't see how that addresses what I was looking for. You snipped > the example of the format I needed to bring up the info from an IDE > for some reason. > How would you automate an IDE to open that file and find a > programmers guide to "typedef" for example?
If you read the standard you will have some idea of the capabilities (and limitations) of the C language. There are very few limitations, rather constraints. With an adequate knowledge of the language you can then write your own utilities, list the keywords, etc. They are all in the standard. -- <http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt> <http://www.securityfocus.com/columnists/423> <http://www.aaxnet.com/editor/edit043.html> <http://kadaitcha.cx/vista/dogsbreakfast/index.html> cbfalconer at maineline dot net -- Posted via a free Usenet account from http://www.teranews.com
CBFalconer <cbfalco @yahoo.com> writes: > Richard wrote: >> CBFalconer <cbfalco @yahoo.com> writes: >>> Richard wrote: >>>> Can anyone recommend a good online resource listing all C keywords, >>>> standard system calls, defines etc in a "flat" hierarchy. >>>> I wish to set up some bindings in order to bring up "hints and >>>> tips" on using such keywords/functions from ISO C in an IDE I am >>>> working on. So I would bring up a function and use the current >>>> word as the search criteria to locate an online library/faq >>> The C standard specifies all that. Try: >>> <http://cbfalconer.home.att.net/download/n869_txt.bz2> >> I don't see how that addresses what I was looking for. You snipped >> the example of the format I needed to bring up the info from an IDE >> for some reason. >> How would you automate an IDE to open that file and find a >> programmers guide to "typedef" for example? > If you read the standard you will have some idea of the > capabilities (and limitations) of the C language. There are very > few limitations, rather constraints. With an adequate knowledge of > the language you can then write your own utilities, list the > keywords, etc. They are all in the standard.
Did you even try to read and understand my request? I am looking for a resource that I can bring up in a context sensitive manner in an IDE. I know what the standard is. I know where I can find it. I know how to open a compressed file. Do try and *read* the request. You can not blindly throw the "standard" is everyones face.. It might keep you fascinated in the bathroom but its not necessarily the best resource for real life, live programming jobs using a real IDE on a real code base. --
Richard wrote, On 31/05/07 01:09: > Can anyone recommend a good online resource listing all C keywords, > standard system calls, defines etc in a "flat" hierarchy. > I wish to set up some bindings in order to bring up "hints and tips" on > using such keywords/functions from ISO C in an IDE I am working on. So I > would bring up a function and use the current word as the search > criteria to locate an online library/faq > e.g > http://resources.c.all/malloc > http://resources.c.all/typedef > http://resources.c.all/EXIT_SUCCESS
You could work on adding the information to the Wiki at http://clc-wiki.net/ Just create yourself an account and go to pages of the form http://clc-wiki.net/wiki/else and add in the appropriate information. The URLs for the library are slightly different. If you go this route then discussion about formatting etc belongs on the Wiki, although obviously questions about correctness of the information are fine here. -- Flash Gordon
Richard wrote: > Can anyone recommend a good online resource listing all C keywords, > standard system calls, defines etc in a "flat" hierarchy. > I wish to set up some bindings in order to bring up "hints and tips" on > using such keywords/functions from ISO C in an IDE I am working on. So I > would bring up a function and use the current word as the search > criteria to locate an online library/faq > e.g > http://resources.c.all/malloc > http://resources.c.all/typedef > http://resources.c.all/EXIT_SUCCESS > etc > Links to any and all of your favorite online C resources appreciated.
Yes, writing an IDE implies writing the documentation. The Ide I wrote has a documentation for all the C library. Each time I added a function to the library of lcc-win32, I wrote the documentation for it in html format. Then, a simple table in the IDE allows you to get at all those definitions without the chore of accessing the internet. Years of work, mostly for no tangible reward but the joy of having written a good system. jacob
Richard <rgr @gmail.com> writes: > CBFalconer <cbfalco @yahoo.com> writes: [...] >> The C standard specifies all that. Try: >> <http://cbfalconer.home.att.net/download/n869_txt.bz2> > I don't see how that addresses what I was looking for. You snipped the > example of the format I needed to bring up the info from an IDE for some > reason. > How would you automate an IDE to open that file and find a programmers > guide to "typedef" for example?
Well, if I were going to use n869.txt for that purpose, I'd probably create an index specifying where the information on "typedef" appears (an offset, suitable for fseek(), and the length of the relevant material). The IDE could then extract and display the appropriate text. Admittedly, it's not clear that displaying direct excerpts of the standard (or rather of a draft of the standard) is the best thing to do in general -- but for some users (me, for example), it could be. [snip] >> (and don't forget to expand the download with bzip2) > Would you like to explain how I should tie my shoelaces too?
Sheesh, are you *trying* to be offended? If you already know how to use bzip2, just ignore the advice. We've already seen that at least one person had trouble with the concept. Chuck didn't imply ignorance on your part. > In addition, why do you not put a proper extension on the compressed > file content so that most of us can use default applications to view the > thing? No one uses underscore followed by type definition. It is "." > (period) followed by extension type.
Some operating systems don't allow more than one '.' character in a file name. Having said that, I agree that "n869.txt.bz2" would be a better name. But I assume you're able to rename the file yourself after you download it. > <signature snipped manually>
Good for you. Would you like to tell us how you tied your shoelaces too? -- Keith Thompson (The_Other_Keith) k@mib.org <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"
|
 |
 |
 |
 |
|