Top Comments
All Comments (25)
-
u teach very well
-
@Decepticons211 is the number of characters u will be able to put in the array
-
@Decepticons211 Just like any other array, it means that the value you enter for the char array can only be 10 characters long. This includes the terminating null character /0 so in reality the string you want in your char array can only be n-1 characters long, where n is the array size.
-
Just a question, What is the meaning of the ten in the brackets next to your char variable name. PLZ SOME ONE HELP ME!!!! PLZ REPLY!
-
Why??? For what reason you use char instead std::string???
-
seriously I love you
-
@matrixITALIA Seriously? Did you not learn?
int stringLength = strlen(myString);
// Add one for null-terminator.
char* fullString = new char [stringLength + 1];
That should give the result you're looking for.
-
tnx for the tut. again
-
@1rescen1 What is the point in saying CHar. All of my instructors and professors have always said char, 'Car'. Because that is how it is pronounced in the word Character.
-
@TheRaelykSky char
Thank you, thank you, thank you.
+5
PrawdaUnia 2 years ago 17
Good job! 5/5!
OlloX3 2 years ago 15