LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Where to begin? C/C++ string manipulation (https://www.linuxquestions.org/questions/programming-9/where-to-begin-c-c-string-manipulation-639915/)

amemait 05-04-2008 11:11 PM

Where to begin? C/C++ string manipulation
 
I've been programming professionally for 30+ years in just about every other language than C/C++ (BASIC, COBOL, FORTRAN, Pascal, APL, PL-1, Assembly: Z-80/x86/DEC, Perl, PHP, and more).

Now, I need to really get into C/C++ programming and specifically string manipulation (i.e. search a file for a string, replacing a string in a file with another string).

Does anyone have any recommended web sites or publications that have been very helpful in this particular area, especially with lots of examples. The last time I wrote anything in C was probably 12 to 15 years ago in my C class at the University. I've been hiding as a senior Unix admin since then. ;-)

Thanks in advance!

:Mike

Neuzen 05-04-2008 11:21 PM

Hi Mike,

I recommend you'll start with reading about glibc (it has naturally support for string manipulation).
I've list below the sites I think will help you get on track quickly:

http://www.gnu.org/software/libtool/...index.html#Topglibc

http://www.cs.cf.ac.uk/Dave/C/
http://www.cppreference.com/C/Cpp reference




Hope I helped little bit.
NeuZen.

amemait 05-07-2008 12:20 AM

Quote:

Originally Posted by Neuzen (Post 3142902)
Hi Mike,

I recommend you'll start with reading about glibc (it has naturally support for string manipulation).
I've list below the sites I think will help you get on track quickly:

http://www.gnu.org/software/libtool/...index.html#Topglibc

http://www.cs.cf.ac.uk/Dave/C/
http://www.cppreference.com/C/Cpp reference

Hope I helped little bit.
NeuZen.

Thanks! This is exactly what I was hoping for. Your help is much appreciated.

:Mike


All times are GMT -5. The time now is 03:27 PM.