Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

convert c++ program to vb6

Visual Basic 4 / 5 / 6

  • Please log in to reply
3 replies to this topic

#1 avosoft

avosoft

    CC Regular

  • Just Joined
  • PipPipPip
  • 45 posts

Posted 26 August 2010 - 11:49 PM

Hello,

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

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

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

thanks
  • 0

#2 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 27 August 2010 - 08:36 AM

Do you know what the corresponding data types are? std::string would correspond to String, for example.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#3 avosoft

avosoft

    CC Regular

  • Just Joined
  • PipPipPip
  • 45 posts

Posted 27 August 2010 - 03:02 PM

i don't really know the language equivalent and wold appreciate it if you help me out
  • 0

#4 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 27 August 2010 - 03:48 PM

I gave you a hint. However, it's very important to start with the C++ program as a whole, and start working. Depending on what language features were used, this could be a very easy or hard process.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download