I am used to programming in Java and am doing something now which involves a little C++.
I am not actually learning C++, I am actually using assembly code, it is the C++ part that I have no idea about.
I have looked at past code from my lecturer (University), and to define a variable containing what I (being a Java developer) would call a String, he declared it as a char[] (I assume this means char/character array).
char get1[] = "Give me the first number:";
Does C++ use char arrays to mean Strings or are they different?
For the extremely limited C++ I am using, should I assume them to be the same and use char arrays as my lecturer does?
All I will be doing with this string is printing it to the screen as certain point (Using printf if any of you know intel x86 assembly). Should I be using char arrays?
Thank you.