473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

java programmer does c++ have an "API" like library list of std functions?

It seems a need a paradime shift in understanding how C++ use
libraries. Sun keeps is together under their API. And Javadoc enables a
neat way of displaying functions of a local program to display like an
API. does C++ have an easy to use an API for standard functions
anywhere? and Is their a Javadoc implementation of sorts?

Nubee from java

Jul 28 '06 #1
8 2089
rupert wrote:
It seems a need a paradime shift in understanding how C++ use
libraries. Sun keeps is together under their API.
C++ has its International Standard.
And Javadoc enables
a neat way of displaying functions of a local program to display like
an API.
Huh?
does C++ have an easy to use an API for standard functions
anywhere?
I guess I don't understand the question. Standard functions *are* API.
What would be "an API for standard functions"?

Are you looking for something like Microsoft's Intellisense? Use their
IDE, you will get it. C++ is a *language*, it is not (and it does not
include or define) a *development environment*. Development environments
are products and there are many successful ones on the market.
and Is their a Javadoc implementation of sorts?
What's Javadoc?

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jul 28 '06 #2

Victor Bazarov wrote:
rupert wrote:
It seems a need a paradime shift in understanding how C++ use
libraries. Sun keeps is together under their API.

C++ has its International Standard.
And Javadoc enables
a neat way of displaying functions of a local program to display like
an API.

Huh?
does C++ have an easy to use an API for standard functions
anywhere?

I guess I don't understand the question. Standard functions *are* API.
What would be "an API for standard functions"?

Are you looking for something like Microsoft's Intellisense? Use their
IDE, you will get it. C++ is a *language*, it is not (and it does not
include or define) a *development environment*. Development environments
are products and there are many successful ones on the market.
and Is their a Javadoc implementation of sorts?

What's Javadoc?
I think he's looking for an on-line source of "official" documentation
for the c++ standard library functions. Since Java is Sun's
proprietary language, there is a centralized location available to
access this sort of thing in Java.

Jul 28 '06 #3
I think he's looking for an on-line source of "official" documentation
for the c++ standard library functions. Since Java is Sun's
proprietary language, there is a centralized location available to
access this sort of thing in Java.
yeah, that's what I meant shadowman. I just want to read up on what's
available, and know enough about it at a glance to use it. eg:
"a list of std io commands to read off a line ... okay this list has
'cin' ... what does it do ... oh yeah it reads in ... this should be it
....yay, it works"

I often use
http://java.sun.com/j2se/1.5.0/docs/api/
to program. does c++ have anything like this?

Jul 28 '06 #4
In article <11**********************@p79g2000cwp.googlegroups .com>,
"rupert" <ru****@web-ideas.com.auwrote:
It seems a need a paradime shift in understanding how C++ use
libraries. Sun keeps is together under their API. And Javadoc enables a
neat way of displaying functions of a local program to display like an
API. does C++ have an easy to use an API for standard functions
anywhere? and Is their a Javadoc implementation of sorts?

Nubee from java
Try <http://www.dinkumware.com/manuals/>
Jul 28 '06 #5

rupert wrote:
It seems a need a paradime shift in understanding how C++ use
libraries. Sun keeps is together under their API. And Javadoc enables a
neat way of displaying functions of a local program to display like an
API. does C++ have an easy to use an API for standard functions
anywhere? and Is their a Javadoc implementation of sorts?

Nubee from java
In general there are Javadoc-style tools for C++ but they are not used
as consistently as Javadoc is.

C++ has a standard library, but the quality and presentation of its
documentation will depend on the provider;a library implementation
should come with your compiler, but there are also third party
implementations available. A paradigm shift indeed - there is no
equivalent of the god-like Sun handing down the one true implementation
as there is in the Java world.

You also need to be aware of the difference between the "standard
library" and the "STL" (standard template library).

Here are some other links to get you started:
http://www.sgi.com/tech/stl/
http://media.wiley.com/product_ancil...74841_bc01.pdf

And finally, as a Java refugee, welcome to the premier league mate ;-)

Jul 28 '06 #6
rupert posted:
does C++ have an easy to use an API for standard functions
anywhere?

I use the C++ Standard from time to time. Here's a quick excerpt:

25.3.9

template<class BidirectionalIterator>
bool next_permutation(BidirectionalIterator first,
BidirectionalIterator last);

template<class BidirectionalIterator, class Compare>
bool next_permutation(BidirectionalIterator first,
BidirectionalIterator last,
Compare comp);

Effects: Takes a sequence defined by the range [first, last) and transforms
it into the next permutation. The next permutation is found by assuming
that the set of all permutations is lexicographically sorted with respect
to operator< or "comp". If such a permutation exists, it returns true.
Otherwise, it transforms the sequence into the smallest permutation, that
is, the ascendingly sorted one, and returns false.

Complexity: At most (last - first)/2 swaps.
A lot of people like dinkumware, as mentioned elsethread.

--

Frederick Gotham
Jul 28 '06 #7

"rupert" <ru****@web-ideas.com.auwrote:
It seems a need a paradime shift in understanding how C++ use
libraries. Sun keeps is together under their API. And Javadoc enables a
neat way of displaying functions of a local program to display like an
API. does C++ have an easy to use an API for standard functions
anywhere? and Is their a Javadoc implementation of sorts?
Since Java is proprietary, they can perhaps give the documentation
away for free. Since C++ is not owned by any company, the language
documentation, ironically, tends to cost money (though some good
free documentation is available).

Here's the FAQ for this newsgroup, which is loaded with information on C++,
and it's free:

http://www.parashift.com/c++-faq-lite/

Here's the Ultimate Document for C++: the Standard; it's not free,
but a PDF copy is cheap at only $30 (you can get hardcopy if you
want, but that's $300, which is perhaps understandable if you
realize that this is a 758-page document):

http://webstore.ansi.org/ansidocstor...C+14882%2D2003

For a tutorial and reference on the standard library, read the book
"The C++ Standard Library" by Nicolai Josuttis, Addison-Wesley,
ISBN 0-201-37926-0, available used from $35 through Amazon.com (or
read it for free at a library).

--
Cheers,
Robbie Hatley
Tustin, CA, USA
lone wolf intj at pac bell dot net
(put "[usenet]" in subject to bypass spam filter)
home dot pac bell dot net slant earnur slant
Jul 28 '06 #8
In article <xT*******************@newssvr12.news.prodigy.com> ,
bo*********@no.spam.com says...

[ ... ]
Here's the Ultimate Document for C++: the Standard; it's not free,
but a PDF copy is cheap at only $30 (you can get hardcopy if you
want, but that's $300,
You can also get a printed copy in the form of ISBN 0470846747 for
around $75-80 (US). You only pay the $300 if you buy it directly from
ANSI.

--
Later,
Jerry.

The universe is a figment of its own imagination.
Jul 28 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Brendan J Simon | last post by:
Hi, I have a Java application from a company. They also provide an API in C++ (MSW platforms only) and Java (for all platforms) for developers that want to create their own front end. I want...
0
by: gwren | last post by:
Released a fully PGP 8.0 compatible c# api library You can find it the project section of my home page: Gwren's home page Gwren's
1
by: Fei Li | last post by:
Java api is html doc. 3 panels, one for namespace, one for class and one for class detail/methord detail. normally people only remember the class name or guess the class name could be. In java...
6
by: CS Tutor | last post by:
Hello, I am a Java programmer and I am used to finding out what functions are written out for me in the Java API provided by Sun on their website. Now for VB.NET is there a similar online...
46
by: Usenet User | last post by:
I need to be able to call the same API function from VB, which will reside in different DLLs. While all of the functions have the same signature and name, DLL file names are not known at compile...
4
by: Marc Melancon | last post by:
Are there java API that can be used to gain similar functionality as db2ilist, db2 CLP? Thanks, MarcM
4
by: TomC | last post by:
Coming from Java, I am looking for something similar to the online Java API pages. I did a search and found a thread from 2003 that listed the following link to an MSDN page....
0
by: joshik2 | last post by:
Is it possible to call a Java API from Visual C#.NET? I need to use functions from the Jena API. Thanks.
27
by: Generic Usenet Account | last post by:
Apologies if someone finds this OT I am looking for an open-source C++ implementation of Java API ---- something that does not require a Java run-time environment. So far the only thing that I...
7
by: Timothy Madden | last post by:
Hello I would like to use php-cli as a sort of shell scripting language or generic scripting language. I have php 5.2 on WindowsXP and I would like to call Win32 API functions like...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.