Visual Basic to C++ Syntax Translation
Hello,
I’m sorry for being off all the time (for nearly 2 years I guess) but I promise I won’t be again. When I was here for the first time I met TcM, he helped me translate something using a HEX-Editor and suggested me to start programming on Visual Basic 6 and I did so. For about 2 years I have been coding on VB6 and now I’m trying to start coding on C++. It doesn’t seem to be much hard because I have some C++ books but I can’t find some functions that I use on VB6 so I came back here to ask.
So, could anyone please tell me these functions on C++?
The VB6 functions:
Len()
Rigt()
Left()
Mid()
Chr() “or should I write my own?
Seems I have problems only with string functions. I don’t even know how to set a String Variable, only Char. As I read in one of my books C++ doesn’t support string variables longer than 1 characters so I have to use Arrays(wich I don’t know how in C++), I hope that’s not true.
Today I wrote a program for converting Base10 numbers to Base16 but I couldn’t print the output backwards.
The last question, do you suggest me C++ or Visual C++. I code only for Microsoft OS-es.
Thanks a lot,
Dren
|