string
[java] String parameter, text += "a" text += "b"
public class StringPlus { public static void main(String[] args) { String text = ""; text += "a"; System.out.println(text); text += "b"; System.out.println(text); } } result : hklee@hklee:~/Dropbox/java/string$ javac StringPlus.java && java StringPlus a ab
[c++] string combine
#include #include using namespace std; int main() { char *name; name = new char[5]; name = "asdf"; name = "asdf" "asdf"; cout
[c++] strlen function
#include #include using namespace std; int main() { char *name; char *name2; name = new char[5]; name = "asdf"; cout