473,938 Members | 16,561 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2128
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************ **********@p79g 2000cwp.googleg roups.com>,
"rupert" <ru****@web-ideas.com.auwro te:
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 BidirectionalIt erator>
bool next_permutatio n(Bidirectional Iterator first,
BidirectionalIt erator last);

template<class BidirectionalIt erator, class Compare>
bool next_permutatio n(Bidirectional Iterator first,
BidirectionalIt erator 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 lexicographical ly 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.auwro te:
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************ *******@newssvr 12.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
2432
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 to use wxPython to create a decent Unix opensource frontend. Is it possible to Interface python to a java application easily ??? Assuming yes to above, would something like Jython or SWIG or some other
0
1966
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
1079
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 api you can find it quickly. How can I do this in .net api? I do not know which namespace it is. I think under .net framework->reference->class library-> should have a class alphabetic list
6
2236
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 resource? That tells me which function is in what library, and what its purpose is? For instance, I have been trying to figure out what this statement does:
46
3815
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 time. Therefore, my assumption that using Declare statement or DllImport attribute is NOT an option in such a case. I can use LoadLibrary() and GetProcAddress() from Kernel32 to get the addreses, but is there a way to actually call an API method...
4
1514
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
1219
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. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/cpref_start.asp Not only does this seem to be for an older version of .NET, it doesn't seem specific to C#. Is this for ALL .NET languages?
0
916
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
3946
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 have found is NewJ from pure-native.com. It looks good, but it is not open source. Can anyone provide some pointers? Zhang
7
4203
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 GetShortPathName. How do I call API functions in PHP ? The documentation says there is an extension called w32api, but if you read its documentation you find a
0
9963
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11104
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11285
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9854
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6072
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6292
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4444
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3498
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.