473,503 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Seeking advise - first C# project

Hi,

I'm a C++ programmer, currently working with VC6. I would like to join
the rest of the world and progress to the .NET era. There's this
non-commercial project I'm thinking about, and I thought it would be a
good chance for me to experience a bit with C# and a newer compiler.
The problem is this: the project involves some database work and some
intense CPU work (I'll be using a minimax tree with many options). I'd
like to get your advise about these matters:

1. How difficult is it to work with SQL databases in C#? (I know SQL,
but not ADO - I also work with PowerBuilder)
2. Will the C# code run *a lot* slower than native C++?

I know these are very general questions, and I'm obviously looking for
not more than general answers. I'll be doing this on my spare time, and
I'd really hate finding out I wasted weeks on trying to use the
database, or that the application is too slow because it runs on a
virtual machine. Would you recommend this kind of project as a first?

Thanks!

Sep 12 '06 #1
1 1004
kalevet,

1) I think it is very easy, especially if you are using VS.NET. It walks
you through creating the appropriate command and connection objects that you
can use to access your data.

2) Generally speaking, no, it will not. However, that doesn't mean that
you shouldn't know the differences between how managed code and unmanaged
code runs. If screwed up badly enough, you can make C# run MUCH slower than
C++, and vice versa.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"kalevet" <ka*****@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi,

I'm a C++ programmer, currently working with VC6. I would like to join
the rest of the world and progress to the .NET era. There's this
non-commercial project I'm thinking about, and I thought it would be a
good chance for me to experience a bit with C# and a newer compiler.
The problem is this: the project involves some database work and some
intense CPU work (I'll be using a minimax tree with many options). I'd
like to get your advise about these matters:

1. How difficult is it to work with SQL databases in C#? (I know SQL,
but not ADO - I also work with PowerBuilder)
2. Will the C# code run *a lot* slower than native C++?

I know these are very general questions, and I'm obviously looking for
not more than general answers. I'll be doing this on my spare time, and
I'd really hate finding out I wasted weeks on trying to use the
database, or that the application is too slow because it runs on a
virtual machine. Would you recommend this kind of project as a first?

Thanks!

Sep 12 '06 #2

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

Similar topics

0
1086
by: Bonj | last post by:
I'm mainly experienced in VB6, haven't really got to grips with .NET very much. I'd like to create, more as a practice project than anything, a simple ASP.NET web application that will just do...
1
1071
by: A P | last post by:
I am a beginner in VS .Net using VB.Net. I use Data Form Wizard to create a sample project that will list records from my access database. After Finishing the wizard, I ran the file, after running...
8
1317
by: y1799 | last post by:
I have a problem with creating new Web project I use Win XP pro. I installed VS 2003 and after installation ran "aspnet_regiis.exe /i " I got error message: "The web server reported the...
28
1705
by: Caleb | last post by:
I've just learned the basics of C++, and as my first real project I am attempting to construct a text adventure, like back in the good old days of Commodore 64 BASIC. This is my code so far: ...
10
2059
by: KDawg44 | last post by:
Hi, I am new to Python and am trying to write a little front end to another application in Python. What I want is to have a gui pop up listing some items with several buttons. The guts of...
1
911
by: Sydney Mwenda | last post by:
I am a Microsoft Access Programmer. I have been given a task to do a system in Vb6. What is the first thing to do?
9
1538
by: jcopeland38053 | last post by:
MSAccess 2003 / XP / Oracle 9.2 backend Before I get started explaining it will be helpful to see my code snipet: ------------------------------------------- tablename = 1 On Error...
0
7093
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
7287
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
7353
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...
1
7011
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
7468
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...
0
5596
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,...
1
5023
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...
0
3170
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
401
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...

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.