plz i need some advice on c++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'VE JUST STARTED PROGRAMMING, WHICH I HAVEN'T DONE SINCE THE OLD BASIC.
I'VE CHOSEN C++ AS THE PROGRAMMING LANGUAGE BUT I DON'T KNOW IF I'VE CHOSEN
THE RIGHT PATH .
MY AIM IS TO CREATE DATABASES FROM SCRATCH WITHOUT HAVING TO USE ACCESS.
WHAT I NEED IS INFORMATION ON C++, WHICH COMPILERS TO USE AND IF IT IS OK TO
START WITH C++ OR BETTER TO WITH A DIFFERENT LANGUAGE BEFORE PASSING TO C++.
CAN YOU ADVISE ME?
 
snag said:
I'VE JUST STARTED PROGRAMMING, WHICH I HAVEN'T DONE SINCE THE OLD BASIC.
I'VE CHOSEN C++ AS THE PROGRAMMING LANGUAGE BUT I DON'T KNOW IF I'VE CHOSEN
THE RIGHT PATH .
MY AIM IS TO CREATE DATABASES FROM SCRATCH WITHOUT HAVING TO USE ACCESS.
WHAT I NEED IS INFORMATION ON C++, WHICH COMPILERS TO USE AND IF IT IS OK TO
START WITH C++ OR BETTER TO WITH A DIFFERENT LANGUAGE BEFORE PASSING TO C++.
CAN YOU ADVISE ME?

Do you have some problem with your "SHIFT"-Key?

For starting database programming, I would recommend C# and the
..NET-Framework, because the ADO.NET classes are easier that the C++
counterparts.

As development-environment I would either suggest the (currently free)
Visual C# Express 2005 Beta (or CTP)
http://lab.msdn.microsoft.com/express/vcsharp/default.aspx

or Visual Studio 2003
http://msdn.microsoft.com/howtobuy/vstudio/

or, to use a free environment: Sharp-Develop:
http://www.icsharpcode.net/opensource/sd/


For C++ and database you can start with
http://msdn.microsoft.com/library/en-us/
ado270/htm/mdmscusingadowithmicrosoftvisualc.asp

and many more ADO/C++ articles on the web.

As database I would suggest the free MSDE2000A or SQL Express Beta (for
non-production environment).

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
Jochen said:
For starting database programming, I would recommend C# and the
.NET-Framework, because the ADO.NET classes are easier that the C++
counterparts.


What are the "C++ counterparts"?
 
snag said:
I'VE JUST STARTED PROGRAMMING, WHICH I HAVEN'T DONE SINCE THE OLD BASIC.
I'VE CHOSEN C++ AS THE PROGRAMMING LANGUAGE BUT I DON'T KNOW IF I'VE CHOSEN
THE RIGHT PATH .
MY AIM IS TO CREATE DATABASES FROM SCRATCH WITHOUT HAVING TO USE ACCESS.
WHAT I NEED IS INFORMATION ON C++, WHICH COMPILERS TO USE AND IF IT IS OK TO
START WITH C++ OR BETTER TO WITH A DIFFERENT LANGUAGE BEFORE PASSING TO C++.
CAN YOU ADVISE ME?


It is OK to start with C++.


You can check this page of mine:

http://www23.brinkster.com/noicys/learningcpp.htm
 
Jochen said:
Mabe you have missed to read to the end:


..NET facilities are the *same* for all languages. So in .NET programs, C++ programmers use
ADO .NET too.
 
Hi Ioannis!
.NET facilities are the *same* for all languages. So in .NET programs,
C++ programmers use ADO .NET too.

Maybe I understood the question a little bit different than you... :->

I though about C++ programming "in general"; not only in managed worlds
(of course this is a managed C++ newsgroup...)

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
Jochen said:
Maybe I understood the question a little bit different than you... :->

I though about C++ programming "in general"; not only in managed worlds
(of course this is a managed C++ newsgroup...)


I can't understand your answer. :-) C# is not tied with ADO .NET, that is, ADO .NET is not
part of the language.

C# language (more accurately C#/CLI) is just the syntax that takes advantage of a CLI
compliant VM machine (CLI is a standard). Its constructs map directly to the high-level
provided constructs of CLI, and does not provide something more than this.


For example if you know C# you can take advantage of Mono facilities (another CLI
compliant VM), like GTK#.


C++ on the other hand provides more than these (it comes with additional facilities of its
own).


So, there is not any "C++ counterpart" of ADO .NET.
 
Hi Ioannis!
So, there is not any "C++ counterpart" of ADO .NET.

The origin question was about:
"Learnin an language to make database access"

Therefor I recommended C#, because from my point of view it is easier
than C++. But this is my private opinion; and you have an other; so this
is no problem.
The standard-way for accessiong databases in C# (or .NET) is ADO.NET;
therefor I recommended ADO.NET.

If you want to access databases from "native" C++, you need also some
database-interface. This is what I meant with "C++ counterpart of ADO.NET".
And one interface is ADO:
http://msdn.microsoft.com/library/en-us/ado270/htm/mdmscusingadowithmicrosoftvisualc.asp


Or use any other interface you want:
http://msdn.microsoft.com/library/en-us/dnanchor/html/anch_dataaccess.asp

But this is my personal opinion.

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
Back
Top