Hi Rowel,

> 4) Standard C/C++ libraries dont have online documentation! As far as I
> can tell you only STL is documented. So you have to make Stroustrup' book
> handy. I think this is a major problem for any programming language. It is
> like learning a new spoken language without a dictionary that will explain
> you the usage of words. Just imagine that I am more familiar with QString
> than the standard "string" data type in C/C++ because Qt makes a nice
> documentation. Java makes a very nice web browsable documentation .

I actually haven't seen comprehensive docs for C/C++ on Linux except within
Kylix.  On Windows, both Borland and Microsoft compilers contain full
documentation in winhelp format.  Also, you can always visit
msdn.microsoft.com to get detailed C/C++ docs over the web.

> I beg to disagree at this point. In my own experience there are
> things a certain programming language without too much effort that will
> take a lot of effort in doing it in another language. I am going to give
> two simple scenarios:
> 1) Conversion from int to string or from string to int takes no
> effort in perl and Java. C/C++ can do it using atoi() but there is no
> itoa() in the standard C/C++ library. You have to code it by yourself and
> that is error prone. Another case, suppose you are given this string:
>
> "234,23,879,234,224"
>
> where each the data is a csv and I ask you to extract the data and
> put them in an array of int. Again this is effortless in perl and java but
> too painful in C/C++. That's why I have applications written in C/C++
> where I embed perl scripts to parse strings like these.

You have a point.  But I must say, most C/C++ programmers already have
pre-built classes that handle these trivial tasks.

From,
Carlos Yu



_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to