Closed Thread Icon

Preserved Topic: VC++ vs C++ (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=15772" title="Pages that link to Preserved Topic: VC++ vs C++ (Page 1 of 1)" rel="nofollow" >Preserved Topic: VC++ vs C++ <span class="small">(Page 1 of 1)</span>\

 
JakeB
Paranoid (IV) Inmate

From: us
Insane since: Oct 2000

posted posted 02-04-2001 16:37

does anyone know what the differences between c++ and vc++ are? I need to make dll's for games i make in directX in Visual Basic.

Jestah
Maniac (V) Mad Scientist

From: Long Island, NY
Insane since: Jun 2000

posted posted 02-04-2001 22:33

Now Im probably way off here but I was always under the impression that C++ was just the code, an Visual C++ was the software to actually make the code run and transform it into machine...

JakeB
Paranoid (IV) Inmate

From: us
Insane since: Oct 2000

posted posted 02-04-2001 22:43

I think they are different languages, but maybe they are similar.

silence
Maniac (V) Inmate

From: soon to be "the land down under"
Insane since: Jan 2001

posted posted 02-05-2001 08:54

If by vc++, you mean visual c++, jestah's right, Visual Studio is just another compiler like gnu or borland. It was specifically made for windows. A "normal" program in visual c++ links to a bunch of libraries needed to run in a windows environment. You can write code without these libraries, but it will run in a dos box.

Code wise, they should both follow the ansi c++ standard, like all compilers, with a few exceptions. What those exceptions are depends on the compiler implementation and you just have to figure out what that is.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 02-05-2001 21:12

What about C# (C sharp), MS's newest creation. That language will be used in their upcoming .NET platform...

[peer]
Bipolar (III) Inmate

From: Ottawa, Ontario, Canada
Insane since: Apr 2000

posted posted 02-05-2001 22:31

C# !? BWAHAHAHAHAHA!@#!

----

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 02-05-2001 22:37

[peer], C# is not a joke, believe me...

mr.maX

[This message has been edited by mr.maX (edited 02-05-2001).]

JakeB
Paranoid (IV) Inmate

From: us
Insane since: Oct 2000

posted posted 02-05-2001 23:34

i heard about c# a while ago, but i'll probably using vb6 and maybe visual c++ because i'm just a student, ya know i'm kinda short on the money thing.

I was just gonna use vc++(if it'll work that way) to make dll's for math in games since vb can be slow even with dx.

hyperbole
Paranoid (IV) Inmate

From: Madison, Indiana, USA
Insane since: Aug 2000

posted posted 02-05-2001 23:46

Viusal C++ is just MircoSoft's implementation of C++. As usual, they have add a few things they wanted and left out a few things they didn't want to impliment.

You can think of Visual C++ as being C++.

Drakkor
Maniac (V) Inmate

From: Seatte, Warshington, USA
Insane since: Dec 2000

posted posted 02-06-2001 19:17

JakeB, you know you can write dll's in vb also.

Max, C# is gonna be sweet, I hope it catches on (like I even have to hope).

-D

JakeB
Paranoid (IV) Inmate

From: us
Insane since: Oct 2000

posted posted 02-06-2001 23:15

i didn't know you could. Are they faster if made with c?

Das
Maniac (V) Inmate

From: Houston(ish) Texas
Insane since: Jul 2000

posted posted 02-07-2001 00:05

Note that VB5 and later are much, much faster than previous incarnations of VB. It now compiles down to code that is comperable in speed to VC++ (not quite as fast, but close). You have to avoid using certain things in VB, though. VB string handling, for instance, is not very efficient at all.

Visual C++ is indeed Microsoft's C++ compiler. It is customized to the Windows environment (all C++ compilers have to be targetted to a specific platform). You can generate simple apps/dlls, the same as any other ANSI C++ compiler would do, or you can make them with all of Microsoft's MFC bells and whistles. MFC is usually easier to develop, but tends to make for bloated code.

A simple dialog app using MFC might take up 200kb. The same program, made with ATL libraries, might take up 20kb.

A VB app, for comparison, would take up 20kb PLUS the VB runtime libraries (2.5MB, about). All VB programs on the machine can share the runtime, though.

« BackwardsOnwards »

Show Forum Drop Down Menu