@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.
@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.
u teach very well
tomcruise8419 3 weeks ago
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!
Decepticons211 7 months ago
@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.
irras88 7 months ago
@Decepticons211 is the number of characters u will be able to put in the array
SiNaiXXxx 2 months ago
Why??? For what reason you use char instead std::string???
gczobel 9 months ago
seriously I love you
mnthol 10 months ago
tnx for the tut. again
SshadyY2o1o 1 year ago 2
just a questinon, what happen if the name i enter is greater then 10? ummmm :-|
matrixITALIA 1 year ago
@matrixITALIA error
1rescen1 1 year ago
@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.
lxXTaCoXxl 11 months ago
Is there a way to make a game that's not in the cmd window?
ScreamoBaptism 1 year ago
Mine doesn't give me an error...what gives? If I put word[3] and put in 'hello' it still outputs the entire 'hello'. No error...why?
icekat83 1 year ago
Did he really say. "CHAR" and not car? as in character?
TheRaelykSky 1 year ago
@TheRaelykSky char
1rescen1 1 year ago
@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 1 year ago
more please
TutorialsAndTips101 2 years ago
more unmodern...
Ifrit0s 2 years ago
I wonder if you do more than this tutorial, like a school or book, because u are good, good
omahdezavalos 2 years ago 6
Great tutorial set, 5/5!
nekoballs 2 years ago
please, make an tutorials about basic socket programming for windows!
your tutorials are great!!!
schaapie21 2 years ago
but not winsock please :P
nickrohn93 2 years ago
ahhhhhhmazing! make more!
Wow nvm, you already made ALOT! lol
ok still make more
5/5
Eiltis 2 years ago
Thank you, thank you, thank you.
+5
PrawdaUnia 2 years ago 17
Good job! 5/5!
OlloX3 2 years ago 15
5 stars.
bdeland16 2 years ago 4