473,624 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Table of Differences Between C++ and C#

Hey all,
I'm a hobbyist programmer who usually codes in C++ or Java. I don't
claim to be experts at either, and I'm not familiar with different types
of variables, inheritance systems, etc. I've decided to play around with
C# and .NET 2.0 a little bit, but I'm still not completely certain about
the differences between C++ and C#. All I know is that there are some
limitations that aren't on C++ (which is probably a good thing... I
think the saying goes "C will let you shoot yourself in the foot; C++
makes it harder, but when you do you blow your whole leg off.").
Does anyone know where I can find a list of the differences with
examples as opposed to just vocabulary that a self-taught programmer
like myself wouldn't know?
Thanks in advance. I'm still not sure of what I think about visually
designing the interface (as in most C++ apps and Java apps you code the
interface), but C# and .NET both look very powerful. I only hope I'll be
able to tap some of that power.

MF
Apr 23 '06 #1
4 4835
Here is a comparison between Java and C#
http://www.25hoursaday.com/CsharpVsJava.html

Apr 23 '06 #2
Hi MF,

I have a couple of recommnded resources for you. First, the Microsoft .Net
SDK, which contains the entire reference for the .Net platform, including
all of the languages that Microsoft supports for it (VB.Net, C++, C#, and
J#):

http://msdn.microsoft.com/netframewo...s/default.aspx

Second, if that's a bit more than you want to chew on, here's a link to the
specification for C#:

http://msdn.microsoft.com/library/de...pspecstart.asp

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

"Matt F" <ma************ ********@gmail. com> wrote in message
news:GvD2g.2281 3$IZ2.14823@duk eread07...
Hey all,
I'm a hobbyist programmer who usually codes in C++ or Java. I don't
claim to be experts at either, and I'm not familiar with different types
of variables, inheritance systems, etc. I've decided to play around with
C# and .NET 2.0 a little bit, but I'm still not completely certain about
the differences between C++ and C#. All I know is that there are some
limitations that aren't on C++ (which is probably a good thing... I think
the saying goes "C will let you shoot yourself in the foot; C++ makes it
harder, but when you do you blow your whole leg off.").
Does anyone know where I can find a list of the differences with
examples as opposed to just vocabulary that a self-taught programmer like
myself wouldn't know?
Thanks in advance. I'm still not sure of what I think about visually
designing the interface (as in most C++ apps and Java apps you code the
interface), but C# and .NET both look very powerful. I only hope I'll be
able to tap some of that power.

MF

Apr 23 '06 #3
This is a very interesting link. It is also a good tutorial on C#.

Natrajk wrote:
Here is a comparison between Java and C#
http://www.25hoursaday.com/CsharpVsJava.html

Apr 23 '06 #4
Matt F wrote:
Hey all,
I'm a hobbyist programmer who usually codes in C++ or Java. I don't
claim to be experts at either, and I'm not familiar with different types
of variables, inheritance systems, etc. I've decided to play around with
C# and .NET 2.0 a little bit, but I'm still not completely certain about
the differences between C++ and C#. All I know is that there are some
limitations that aren't on C++ (which is probably a good thing... I
think the saying goes "C will let you shoot yourself in the foot; C++
makes it harder, but when you do you blow your whole leg off.").
Does anyone know where I can find a list of the differences with
examples as opposed to just vocabulary that a self-taught programmer
like myself wouldn't know?
Thanks in advance. I'm still not sure of what I think about visually
designing the interface (as in most C++ apps and Java apps you code the
interface), but C# and .NET both look very powerful. I only hope I'll be
able to tap some of that power.

MF


Matt

Since you didn't appear to get an answer giving "difference s with
examples" this may be of some use - a table of differences between the
various C languages, Java and D - from the D web site (digitalmars.co m).

http://www.digitalmars.com/d/comparison.html

IMHO I see C# as being like Delphi - ie it's a good language that excels
in RAD with a GUI - whereas I find C/C++, while great for helper
routines and console programs, somewhat painful for RAD/GUI. Then, of
course, there are ways around these apparent limitations (eg wxWidgets,
SDL etc etc). I would think C# would be ideal for a "hobbyiist programmer".

Eddie
Apr 25 '06 #5

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

Similar topics

61
24456
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will 'stretch'</td> <td valign="top" width="300">some data that won't 'stetch'</td> </tr> </table>
5
3111
by: Patient Guy | last post by:
In my reading of the Strict and Transitional DTD for HTML 4.0, the table row (TR) elements are contained within table section elements: THEAD, TFOOT, and TBODY. The table section elements are the defined contents of the TABLE element. The TR element is not defined as an "immediate" or "direct" contained element of TABLE. Given that
4
3484
by: jane | last post by:
HI, I try to create summary table like following: create table summary (a int, b int, c int) (select a.aa, b.bb, b.cc from table_a a ,table_b b where a.key=b.key) data initially deferred refresh immediate enable query optimization in tablespace_test replicated;
1
473
by: Nothing | last post by:
I have a field, Y, in table A that I need to update from table B, matching on comman field X in both tables. Table A has 10K+ records with field X in it (Field X multipul times). Table B has only disctinct records in it based field X. Table B also has a colume Y that I need to copy to table A's column Y. So basically I want all of column Y's data in Table B copied to table A's column Y.
4
2814
by: rdemyan via AccessMonster.com | last post by:
I have to import building information from another system. I've decided to keep track of each set of data downloaded by including a Download_Date. That way I keep historical data. My table has 25 fields in addition to Download_Date. My question. I'd like the user to be able to find differences between downloads. The primary key on the table is Building_ID and Download_Date. I'd like a user to be able to select two values for...
11
3092
by: designkitt | last post by:
Hello, I am having a problem aligning a cell in a table and have tried everything I can think of to correct this without any luck: It appears that the white area, which is an image in the background of this table within a table is shifted slightly to the right. It's driving me crazy. Any help would be greatly appreciated. Here is the url and the code for the whole page: http://kittelbergerdesign.com/indextest.html <html> <head>...
5
1546
by: Regnab | last post by:
I have a table "tblSprayApplication" in a project for a nursery. Each record refers to a single spray application across the nursery, recording which groups had been sprayed. Multiple applications (in different parts of the greenhouse) can occur targetting the same set of pests. My question is how should I best record this? Originally I was going to have just the two tables recording the pests targetted for each application. However, there...
40
2520
by: rdemyan via AccessMonster.com | last post by:
I have two databases, db1 and db2, with the same table, TableA. I want to select the records from TableA in db1 that have a LAST_UPDATE SomeDate. Then I want to get the identical records in TableA from db2. However the LAST_UPDATE dates will be different between db1 and db2. That's the point. If they are different, then there were changes made to the record in db1. I'm going to then process this further to find out what the changes were. ...
0
1166
by: Chris | last post by:
I have a DataGridView in a form that will display the information from various DataTables in my DataSet. The user is provided a list of tables and when they select a table name, the DataGridView displays the appropriate DataTable. When a user changes some of the settings in my program, I sometimes have to recreate some of the DataTables, however, the DataGridView will still somehow display the original DataTable even if the DataGridView...
0
8234
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8172
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
8677
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8474
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
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...
1
6110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4079
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
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1482
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.