|
|
||||||
|
#1
|
|
|
|
|
Hi,
I am looking for a documentation of the build in functions. Example: I know there is a function rand(), as it looks like the random number is of type int. Is there somewhere a documentation where I can look up things like that? Maybe with some additional information e.g. how to get a random no of type double or how to restrict the random number to a certain intervall? For rand it might for most people easy to guess, but I am sure I will find more functions where it is harder to see their usage. Thanks, Jochen |
|
|
|
#2
|
|
|
|
|
"Jochen Rundholz" <jochen_r> wrote in message
news:54u2 | Hi, | | I am looking for a documentation of the build in functions. | | Example: | | I know there is a function rand(), as it looks like the random number is of | type int. Is there somewhere a documentation where I can look up things | like that? Maybe with some additional information e.g. how to get a random | no of type double or how to restrict the random number to a certain | intervall? | | For rand it might for most people easy to guess, but I am sure I will find | more functions where it is harder to see their usage. It sounds like you want a reference book for 'C', and possibly 'C++' - We discuss both languages here, as defined by their respective ISO Standards. You can purchase the ISO Standard for either language (for a very small fee), or purchase a good reference book - Look here: http://www.accu.org for book recommendations. There is also an reasonable on-line reference here: http://www.dinkumware.com/ Good luck. Chris Val |
|
#3
|
|
|
|
|
spective ISO Standards.
> > You can purchase the ISO Standard for either language (for > a very small fee), Does a bookshop sell them? or purchase a good reference book - Look > here: [..] for book recommendations. > I know this list, unfortunately "my" bookstore has only the books availabe which are not recommended. Before I order a book (and have to pay for it) I would like to know if this C++ reference is inside. Do you have a specific title of a book? Where do you look things like this up? Regards, Jochen |
|
#4
|
|
|
|
|
On Thu, 06 Jan 2005 18:55:34 +0800, Jochen Rundholz wrote:
> > I am looking for a documentation of the build in functions. You run Linux, right? The standard C functions will be documented in the manual pages on the system. For example: man 3 rand should give you what you want. You might also find this page helpful: <http://kahuna.sdsu.edu/kdehelp/kdehelp/> Alwyn |
|
#5
|
|
|
|
|
"Jochen Rundholz" <jochen_r> wrote in message
news:gcu1 | spective ISO Standards. | > | > You can purchase the ISO Standard for either language (for | > a very small fee), | | Does a bookshop sell them? | | or purchase a good reference book - Look | > here: http://www.accu.org for book recommendations. | > | I know this list, unfortunately "my" bookstore has only the books availabe | which are not recommended. Before I order a book (and have to pay for it) I | would like to know if this C++ reference is inside. Do you have a specific | title of a book? Where do you look things like this up? "The C++ Standard Library - A Tutorial and Reference", by: Nicolai Josuttis is an *excellent* book to have, and recommended by everyone as one of the best, and I agree. There is also this on-line (again reasonable) reference here: http://www.sgi.com/tech/stl/ Btw, what was wrong with the 'Dinkumware' site ? Cheers. Chris Val |
|
#6
|
|
|
|
|
>
> "The C++ Standard Library - A Tutorial and Reference", > by: Nicolai Josuttis is an *excellent* book to have, and > recommended by everyone as one of the best, and I agree. > > There is also this on-line (again reasonable) reference > here: [..] > > Btw, what was wrong with the 'Dinkumware' site ? Neither on the sgi.com nor on the Dinkumware site I can find what I am looking for, I am looking for somekind of output "man 3 rand" would give I could find this on these pages. And this not only for rand() but for other functions as well. Things on the both web pages doesn't say anything to me as a newbie (I hope thats not too bad). Anyway I bookmarked them, when I am a bit advanced I might find them useful. Thanks, Jochen |
|
#7
|
|
|
|
|
"Jochen Rundholz" <jochen_r> wrote in message
news:54u2 > Hi, > > I am looking for a documentation of the build in functions. ITYM 'built-in' functions, that is those of the standard library. Does your compiler documentation not have this? > > Example: > > I know there is a function rand(), as it looks like the random number is of > type int. Is there somewhere a documentation where I can look up things > like that? Maybe with some additional information e.g. how to get a random > no of type double or how to restrict the random number to a certain > intervall? > > For rand it might for most people easy to guess, but I am sure I will find > more functions where it is harder to see their usage. http://www.eskimo.com/~scs/C-faq/top.html See sections 13.15 through 13.20 -Mike |
|
#8
|
|
|
|
|
> Does your compiler documentation not have this?
> I am using g++ on Linux, somebody else just worte that man 3 rand gives some help. Does g++ delivers some more documentation somewhere? (Only that you are not surprised, I just started learning c++). Thanks for the link, was a very good one. Regards, Jochen |
|
#9
|
|
|
|
|
<posted & mailed>
Jochen Rundholz wrote: > >> Does your compiler documentation not have this? >> > I am using g++ on Linux, somebody else just worte that man 3 rand > gives some help. Does g++ delivers some more documentation somewhere? <off-topic> On a Unix/Linux system, you can find all the documentation about standard C functions using the 'man' command. </off-topic> > (Only that you are not surprised, I just started learning c++). > > Thanks for the link, was a very good one. > > Regards, > Jochen Bart v Ingen Schenau |
|
#10
|
|
|
|
|
"Jochen Rundholz" <jochen_r> wrote in message
news:mku1 >> Neither on the sgi.com nor on the Dinkumware site I can find what I am > looking for, I am looking for somekind of output "man 3 rand" would give I > could find this on these pages. And this not only for rand() but for other > functions as well. http://www.dinkumware.com/manuals/re...dlib.html#rand Also note the 'search' box on each page. > Things on the both web pages doesn't say anything to me as a newbie (I hope > thats not too bad). Well, they won't 'say' anything, you need to read them. :-) -Mike |
|
|
| Similar Threads | |
| How To Build The FreeBSD Documentation Tree? Is it sufficient to do 'make buildworld' or do I have to go to /usr/doc and do a make of some kind there separately? Thanks, |
|
| Could not build html documentation for Ruby with rdoc19 I'm trying to build html documentation for ruby-1.9.1-p129. I have extracted source code and run command: rdoc19 -o /tmp/rdoc --inline-source --line-numbers -f html But it... |
|
| gem build documentation for new gems? Dr Brain? Anyone? Formerly happy-path gem specs are now issuing warnings for me: WARNING: no rubyforge_project specified WARNING: deprecated autorequire specified Google... |
|
| How to build offline documentation about FileUtils ?? for the time being i'm indirectly connected to the net then, i need a way to build ruby documentation about standard libs as FileUtils. gem_server is ok only for the... |
|
| Documentation to build a plug in I've read all through the SDK and while it talks about using plug ins, there is little or no documentation on creating one. Can anyone point me to some documentation for... |
|
|
All times are GMT. The time now is 03:02 PM. | Privacy Policy
|