User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 362,352 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,802 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:

Enter string to the next line

Join Date: Feb 2007
Posts: 7
Reputation: ctrohana is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ctrohana ctrohana is offline Offline
Newbie Poster

Enter string to the next line

  #1  
Feb 28th, 2007
Hi guys,
I need ur help.
If I have character strings (data array file) as below:

X001234
X001345Y002323
X00142
X001567

How do i program, if I want to enter Y002323 to the next line? and how I can add '0' character after X00142 so that the the array is like this:

X001234
X001345
Y002323
X001420
X001567

thanks a lot .

-ct
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 11:23 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC