473,396 Members | 1,933 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.

Some java-like utilities?

Hi,

Coming back from java to c++. I wondering if there's a standard set of
utilities for c++ like there is for java. In particular, I'm looking for a
way to read from a URL, to send an EMail, and save a PNG or a JPEG.

Many thanks in advance!

Bura
Jul 19 '05 #1
9 1496
<Bura Tino>
Coming back from java to c++. I wondering if there's a standard set of
utilities for c++ like there is for java. In particular, I'm looking for a
way to read from a URL, to send an EMail, and save a PNG or a JPEG.

</>

Nope. None of that in C++ unless you write it yourself.

-X
Jul 19 '05 #2
WW
Agent Mulder wrote:
<Bura Tino>
Coming back from java to c++. I wondering if there's a standard set
of utilities for c++ like there is for java. In particular, I'm
looking for a way to read from a URL, to send an EMail, and save a
PNG or a JPEG.

</>

Nope. None of that in C++ unless you write it yourself.


Actually you don't usually need to. There is either support from you
operating system or you can download and use libraries. So th e"write it
yourself" part means it is not part of the standardized language.

--
WW aka Attila
Jul 19 '05 #3

"Agent Mulder" <mb*******************@home.nl> wrote in message
news:bl**********@news3.tilbu1.nb.home.nl...
<Bura Tino>
Coming back from java to c++. I wondering if there's a standard set of
utilities for c++ like there is for java. In particular, I'm looking for a way to read from a URL, to send an EMail, and save a PNG or a JPEG. </>

Nope. None of that in C++ unless you write it yourself.


OK, if no Sun-like entity wrote it -- someone must have written it! For own
personal use if not for the greater public good!

-X

Jul 19 '05 #4
> > > Coming back from java to c++. I wondering if there's a standard set of
utilities for c++ like there is for java. In particular, I'm looking
for
a way to read from a URL, to send an EMail, and save a PNG or a JPEG. </>

Nope. None of that in C++ unless you write it yourself.


OK, if no Sun-like entity wrote it -- someone must have written it! For

own personal use if not for the greater public good!


For most common things there C++ libraries available, so usually there is no
need to write one yourself. However many of those libraries are tied to one
particular platform (or only a few platforms) because standard C++ has no
builtin support for platform specific I/O functionality like sockets,
graphics...etc. The best place to ask for the kind of libraries you are
looking for is a newsgroup dedicated to your particular platform, or use
Google to find one.

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl


Jul 19 '05 #5
"Bura Tino" <bu*****@yahoo.com> wrote in message
news:uxvdb.605594$Ho3.118792@sccrnsc03...
Coming back from java to c++. I wondering if there's a standard set of
utilities for c++ like there is for java. In particular, I'm looking for a
way to read from a URL, to send an EMail, and save a PNG or a JPEG.


Some ideas:
- http://curl.haxx.se/libcurl/
A bunch of utilities for all kinds of TCP/IP transfers.
- http://www.libpng.org/
The reference implementation for PNG (& more)
- http://www.ijg.org/ - a working free jpeg library
Also:
- http://perso.wanadoo.fr/pierre.g/xnview/engfl.html
Support for >360 image formats (!), free for non-commercial
use (and more upon 'agreement').
- http://www.cs.wustl.edu/~schmidt/ACE.html
For advanced multi-platform networked applications...

hth,
Ivan
--
http://ivan.vecerina.com
Jul 19 '05 #6
<Bura Tino>
Coming back from java to c++. I wondering if there's a standard set of
utilities for c++ like there is for java. In particular, I'm looking for a
way to read from a URL, to send an EMail, and save a PNG or a JPEG.

</>

Qt from TrollTech has support for PNG and JPEG, if I remember well.

-X
Jul 19 '05 #7
yep it has been written, it is called Python! :-)

Jul 22 '05 #8
yep it has been written, it is called Python! :-)

Jul 22 '05 #9
yep it has been written, it is called Python! :-)

Jul 22 '05 #10

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

Similar topics

15
by: Torsten Mohr | last post by:
Hi, i'd like to pass a reference or a pointer to an object to a function. The function should then change the object and the changes should be visible in the calling function. In perl this...
10
by: Mark | last post by:
Hello, I need a some help. I am not a java programmer. I mostly do VB and C#. Here is my problem I have sever side text boxes and when a user tabs off or presses enter I need to have the...
56
by: richard | last post by:
So I wrote PyPI back a couple of years ago. It was just a simple cgi script and some distutils code. I needed to call it *something* and "Python Package Index" seemed like a fairly obvious name....
0
by: Angelos | last post by:
Hello on my second post ! As I said I am new to the servlets development and almost new in Java. I've done a bit of java in uni but I continued working on PHP and I don't remember a thing from...
6
hirak1984
by: hirak1984 | last post by:
I write java codes a little ,they run and everything is ok.But still I cant understand what it means by OOPS.I fill very sorry when after seeing my codes my seniors tell that,"it runs,but this is...
6
by: Bobby Knight | last post by:
I'm not a coder, and this is the only suggestion I've had for a forum to help me. I'm having a problem with java on my browsers...mainly IE, but Netscape, Firefox and to a lesser degree Opera. ...
5
by: PeaceLovinHippy | last post by:
Hello im new to java & im working on some mods for a game - below is a small part which im working on . however im getting errors due to something wrong in the code - can anyone please help me...
2
raveendrabikkina
by: raveendrabikkina | last post by:
03/17 15:45:40 error Error creating form bean of class epost.form.BpUploadForm java.lang.InstantiationException: epost.form.BpUploadForm at java.lang.Class.newInstance0(Class.java:291) ...
1
thatos
by: thatos | last post by:
When I run this program import au.id.jericho.lib.html.*; import java.util.*; import java.io.*; import java.net.*; public class DisplayAllElements { public static void main(String args)...
20
by: cowboyrocks2009 | last post by:
Hi, I need help to automate my code to take data from input file. Also I need to create it as a function so that I can pass it to some other program. I am new to Java so having a bit limitation to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.