what

Non-platform specific questions.

Re: what

Postby EvanBlack » Mon Oct 17, 2011 2:11 am

A Char is a single element in a string array, such as 'A'

When you define a string you define it as a 1D array of chars such as:

char buffer[27] = "My String";

When you define a STRING Array, you define a multi dimensional char array, such as:

char buffer[3][27] = { "Element 1", "Element 2", "Element 3" };

Which you get the string from the array like:

buffer[0] == "Element 1";
buffer[1] == "Element 2";
buffer[2] == "Element 3";
(\__/) ( Soon... The world)
(O.o )< will be mine!____)
(> < )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bunny Overlord 2012!
EvanBlack
 
Posts: 202
Joined: Fri Sep 30, 2011 10:17 am
Score: 19 Give a positive score

Re: what

Postby Agusstosus15 » Mon Oct 17, 2011 3:45 am

no more today, thank you for everything
i know that i know nothing and this is all i know but...

it's not end, see ya soon :)
Agusstosus15
 
Posts: 59
Joined: Sun Oct 09, 2011 7:59 pm
Score: 0 Give a positive score

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest