tags:

views:

70

answers:

2

Hello,

I basically have a script in c++, and want to convert it to vb6. The help i need is something like this

dim SomeString as String '--> what is the c++ equivalent
#include<stdio.h> 
'// what is the vb6 equivalent
#define MAX_BUF_SIZE 1024

if i can get a syntax comparison sheet sort of that compares very well, i'ld be ok

thanks

+1  A: 

Does sound like it'll be tough if it's a non-trivial program. I stumbled upon http://rigaux.org/language-study/syntax-across-languages/Vrs.html#VrsCmprs - is that the kind of thing you're hoping for? Good luck!

Tony
This is a good start for me , thanks. But in general, i need a crash course in c++(like learn c++ in 24 hrs). am a pro in vb6
Smith
+1  A: 

if i can get a syntax comparison sheet sort of that compares very well, i'ld be ok

VB unfortunately misses lots of advanced constructs, thus C++ and many other programming languages generally can not be translated into it.

Normal practice in the case is to compile C++ code into an ActiveX component and use the component from VB.

Dummy00001