473,399 Members | 2,278 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,399 software developers and data experts.

How can I improve my C++?

Hi,
now I've known the basics about C++. What I can do is pretty limited.
I've known something in Java:
1.Networking(Socket, RMI, Servlet)
2.Database(JDBC)
3.GUI (Java Swing)
4.and some others APIs...
I'm wondering how can I do all of the above in C++.
And I've heard that reading source codes can help one
improve its programming skills, but I don't know how to
read them.
Please help me! Thank you!
Jun 17 '07 #1
8 1437
tony wrote:
Hi,
now I've known the basics about C++. What I can do is pretty limited.
I've known something in Java:
1.Networking(Socket, RMI, Servlet)
2.Database(JDBC)
3.GUI (Java Swing)
4.and some others APIs...
I'm wondering how can I do all of the above in C++.
And I've heard that reading source codes can help one
improve its programming skills, but I don't know how to
read them.
Please help me! Thank you!
Well the big difference between Java and C++ is that Java is paltform
independent and C++ isn't (or, as they say, Java is a platform). All of
those things can be done in C++ but they would be done differently if
you were programming Windows, Linux or whatever.

So the best thing is to decide what platofrm you want to program for,
and then take your question to the appropriate group.

comp.os.linux.deveopment.apps or comp.os.ms-windows.programmer.win32

for instance.

I would have thought that reading books would help more than reading
source code, but perhaps that is just me.

john
Jun 17 '07 #2
On Jun 17, 5:31 pm, tony <tonywinslow1...@gmail.comwrote:
Hi,
now I've known the basics about C++. What I can do is pretty limited.
I've known something in Java:
1.Networking(Socket, RMI, Servlet)
2.Database(JDBC)
3.GUI (Java Swing)
4.and some others APIs...
I'm wondering how can I do all of the above in C++.
And I've heard that reading source codes can help one
improve its programming skills, but I don't know how to
read them.
Please help me! Thank you!
The difference with Java is that you're given all of these API's as
part of Java itself, whereas in C++ you have various different
libraries to achieve these things. I'm from Java myself (er sounds
like a planet...) and plan to use WxWidgets, although I'm told it's a
very Java-like library, but I didn't have much choice. I wanted to use
Sockets and Threads using VS 2005 Express (no MFC...) and it seems to
have a good reputation.

If you have money to burn you might try MFC and other MS
libraries, .NET is very similar to Java, but covers more languages.
Although NET C++ is managed so it's not "real" C++. There are other
libraries like Qt and the like, I'm sure there are tons of open source
ones to choose from for GCC (can run on Win and Linux).

Gordy

Jun 17 '07 #3
John Harrison wrote:
tony wrote:
>Hi,
now I've known the basics about C++. What I can do is pretty limited.
I've known something in Java:
1.Networking(Socket, RMI, Servlet)
2.Database(JDBC)
3.GUI (Java Swing)
4.and some others APIs...
I'm wondering how can I do all of the above in C++.
And I've heard that reading source codes can help one
improve its programming skills, but I don't know how to
read them.
Please help me! Thank you!

Well the big difference between Java and C++ is that Java is paltform
independent and C++ isn't (or, as they say, Java is a platform). All of
those things can be done in C++ but they would be done differently if
you were programming Windows, Linux or whatever.
I think I would like to programme on Linux.
So the best thing is to decide what platofrm you want to program for,
and then take your question to the appropriate group.

comp.os.linux.deveopment.apps or comp.os.ms-windows.programmer.win32

for instance.

I would have thought that reading books would help more than reading
source code, but perhaps that is just me.

john
Actually, I don't know what books are good and suitable for me to read.
Do you have any suggestions?
Jun 17 '07 #4
>
Actually, I don't know what books are good and suitable for me to read.
Do you have any suggestions?
Without knowing more your current knowledge and what you're looking for
it's hard to be sure.

But you say you know the basics of C++, when I was in that position I
found the 'Effective' books by Scott Meyers extremely useful. In fact
say I'd those books taught me more C++ than anything else I've read.

'Effective C++' and 'More Effective C++' by Scott Meyers.

john
Jun 17 '07 #5
On Jun 17, 8:06 am, John Harrison <john_androni...@hotmail.comwrote:
tony wrote:
now I've known the basics about C++. What I can do is pretty limited.
I've known something in Java:
1.Networking(Socket, RMI, Servlet)
2.Database(JDBC)
3.GUI (Java Swing)
4.and some others APIs...
I'm wondering how can I do all of the above in C++.
And I've heard that reading source codes can help one
improve its programming skills, but I don't know how to
read them.
Well the big difference between Java and C++ is that Java is paltform
independent and C++ isn't (or, as they say, Java is a platform). All of
those things can be done in C++ but they would be done differently if
you were programming Windows, Linux or whatever.
Not completely. The real difference is that Java provides
standard libraries for all of these things, where as in C++, you
need third party libraries. If I had to do a GUI in C++, for
example, I certainly wouldn't program Windows or X specific; I'd
use wxWidgets, or something along those lines.

--
James Kanze (Gabi Software) email: ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Jun 17 '07 #6
John Harrison wrote:

>
'Effective C++' and 'More Effective C++' by Scott Meyers.
Just a clarification here please. One should read both of them
or just one of them? 'More Effective C++' is the sequel of 'Effective C++'
or is just the improved version?
Jun 17 '07 #7
In article <f5***********@ulysses.noc.ntua.gr>, vo***@booho.com says...
John Harrison wrote:


'Effective C++' and 'More Effective C++' by Scott Meyers.

Just a clarification here please. One should read both of them
or just one of them? 'More Effective C++' is the sequel of 'Effective C++'
or is just the improved version?
It's a sequel. The "improved version" is the third edition of _Effective
C++_.

--
Later,
Jerry.

The universe is a figment of its own imagination.
Jun 17 '07 #8
John Harrison wrote:
>>
Actually, I don't know what books are good and suitable for me to read.
Do you have any suggestions?

Without knowing more your current knowledge and what you're looking for
it's hard to be sure.

But you say you know the basics of C++, when I was in that position I
found the 'Effective' books by Scott Meyers extremely useful. In fact
say I'd those books taught me more C++ than anything else I've read.

'Effective C++' and 'More Effective C++' by Scott Meyers.

john
Thank you for your advice!

Tony
Jun 18 '07 #9

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

Similar topics

0
by: Allyson Griffin | last post by:
--__A455_55B08..702A Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html>helloooo Men improve your LUV life with these nohc <br> <body> <br>Quality purr^scriptions for...
10
by: pembed2003 | last post by:
Hi all, I asked this question in the C group but no one seems to be interested in answering it. :-( Basically, I wrote a search and replace function so I can do: char source = "abcd?1234?x";...
3
by: Anand | last post by:
Hi Iam keen interested to improve my skills in c programming. Now Iam familiar with all the syntax and concepts. My main idea is to know how entire c compiler behaves in all circumstances(i.e...
9
by: Peng Jian | last post by:
I have a function that is called very very often. Can I improve its efficiency by declaring its local variables to be static?
6
by: Jéjé | last post by:
Hi, hoew can I improve the compilation process of a sharepoint website? my server is: 2 * P3 Xeom 1ghz 4go ram 2 * 36gb (mirror for OS and website) 2 * 36 Raid 0 (stripping; for temp files...
0
by: Laurence Parry | last post by:
Some people over on Wikipedia seem to have the idea that VB.NET is not a major programming language: http://en.wikipedia.org/wiki/Template_talk:Major_programming_languages_small#Visual_Basic_.NET ...
2
by: swannyfeng | last post by:
I have the idea about the web engine, it can improve the experience for the web searcher I have the idea about the web engine, it can improve the experience for the web searcher But I don't...
16
by: weidongtom | last post by:
Hi, I have just finished reading some tutorials on C, I am wondering how I could improve my skill. Is there any advice? Is reading others' codes the best way? If so, what type of codes are...
11
by: Peted | last post by:
Im using c# 2005 express edition Ive pretty much finished an winforms application and i need to significantly improve the visual appeal of the interface. Im totaly stuck on this and cant seem...
2
by: sdanda | last post by:
Hi , Do you have any idea how to improve my java class performance while selecting and inserting data into DB using JDBC Connectivity ......... This has to work for more than 8,00,000...
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?
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
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
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...
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.