Dear i am very new in C++ and i am bit confuse also. i want to work on strings while searching about the functions of strings i found strcat strcopy strncat etc but every functions work with char *str not for strings for example when i wrtie
but if i declare
this works. i don't want to use char *str as string i want to use string str;
what is the difference between them and what is the difference in codes? can anyone explain please
i am using dev-cpp compiler.
thanks in advance