Exforsys

Free Training

Conversion to Char

This is a discussion on Conversion to Char within the C and C++ forums, part of the Programming Talk category; Hello, vector<string> str; Is it possible to convert the above statement to char? If Yes, Kindly tell me how with ...

Go Back   Exforsys > Programming Talk > C and C++

Exforsys.com


C and C++ C and C++

Reply

 

LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 09-26-2006, 08:47 AM
Senior Member
 
Join Date: Apr 2005
Posts: 721
lokeshm is on a distinguished road
Conversion to Char

Hello,

vector<string> str;

Is it possible to convert the above statement to char?
If Yes, Kindly tell me how with an example program.

Thank in advance.
Lokesh M
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-07-2007, 08:12 AM
Senior Member
 
Join Date: Apr 2006
Posts: 138
Ralph is on a distinguished road
In your example stated the vector hold the string str. It is possible to get the size of vector in using the function str.size() and then you can access each character in the string by using the looping construct till the end of vector size.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Diff bet Interface ,Data conversion ,Data Migrations??? ashishapps Oracle Apps 0 07-27-2006 07:39 AM
Conversion Of Om Holds ! kittu Oracle Apps 0 02-11-2006 12:19 AM
Dharama Systems Sample Paper JobHelper Placement Papers 0 05-04-2005 08:50 AM
Problem with Object Conversion [in vb.net] Kartik Microsoft .NET Tutorials and Articles 1 12-28-2004 01:56 PM


All times are GMT -4. The time now is 05:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.