concatenating strings
#9

Код:
char str1[100] = "Hello,"; // is creating a variable of type char str1 call and is stored inside the word hello.
strcat(str1, " world!"); // is concatenating the str1 (Hello) with another string (World)
puts(str1); // printing in the console output: Hello World!
Simple.
Reply


Messages In This Thread
concatenating strings - by iLinx - 22.11.2009, 17:37
Re: concatenating strings - by dice7 - 22.11.2009, 17:47
Re: concatenating strings - by iLinx - 22.11.2009, 18:06
Re: concatenating strings - by -xy! - 23.11.2009, 12:39
Re: concatenating strings - by Enzo_Ferrari_V12 - 26.11.2009, 07:43
Re: concatenating strings - by Balon - 26.11.2009, 09:51
Re: concatenating strings - by -xy! - 26.11.2009, 11:09
Re: concatenating strings - by Enzo_Ferrari_V12 - 26.11.2009, 15:47
Re: concatenating strings - by -xy! - 27.11.2009, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)