//:Written By: www.twitch.com/kanjicoder //: For: www.twitch.tv/v0lt13 #include //:for: printf(...) /** **************************************************** *** In Java or C# I think... (Don't quote me here, I write C) String my_string=("" + "here is the 1st line" + "\n" + "here is the 2nd line" + "\n" + "here is the 3rd line" + "\n" + "here is the 4th line" + "\n" + "here is the 5th line" + "\n" );; *** ***********************************8**************** **/ char str_001[]={ "here is the 1st line \n" "here is the 2nd line \n" "here is the 3rd line \n" "here is the 4th line \n" "here is the 5th line \n" }; char* str_002={ "here is the 1st line \n" "here is the 2nd line \n" "here is the 3rd line \n" "here is the 4th line \n" "here is the 5th line \n" }; //: Close but C# style //: char[] = {'H', 'E' , 'L', 'L', 'O'} char str_003[] ={ 'H', 'E' , 'L', 'L', 'O' }; char arr_004[ 256 ]={0}; int main( void ){ printf("[BEG:main]\n"); char* str_004=&(arr_004[0]); str_004[0]='H'; str_004[1]='E'; str_004[2]='Y'; str_004[3]=( 0 ); printf("[str_001]%s\n" , str_001 ); printf("[str_002]%s\n" , str_002 ); printf("[str_003]%s\n" , str_003 ); printf("[str_004]%s\n" , str_004 ); printf("[END:main]\n"); }