You are here:

C++/Please give me answer of my Question

Advertisement


Question
I am biginner in C++.
Question 2:  Write a program in C++ that transforms an extended name into its initial form, for example Sudhansh Kumar Sharma to S. K. Sharma.  

Answer
This is a straightforward application of string manipulation. I wont write the complete program. Instead I would refer you to:
1. This tutorial on string manipulation: http://www.mochima.com/tutorials/strings.html
2. Bruce Eckel's "Thinking in C++" which has both online and print versions.

Just search on google "string manipulation C++ example".

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Amit Kumar

Expertise

I can answer Cplusplus language and library questions, including STL, ACE, Boost. I have a good background in Mathematics.

Experience

Programming in CPP for about 8 years. Industry experience of 4 years.

Education/Credentials
Bachelors and Masters in Computer Science from Indian Institute of Technology Delhi.

©2016 About.com. All rights reserved.