470,815 Members | 1,313 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

function to reformat a text (get rid of spaces)

Hi, I need some help.
I need the code for a function that reformat a text meaning getting rid of spaces and putting everything together.
I also need a function to search a string in a file (how many times the string occurs).
Thank you guys
Nov 15 '06 #1
6 1642
MMcCarthy
14,534 Expert Mod 8TB
Hi, I need some help.
I need the code for a function that reformat a text meaning getting rid of spaces and putting everything together.
I also need a function to search a string in a file (how many times the string occurs).
Thank you guys
Hey guys I'm just posting to move this up the list as he's been PM'ing me.

Mary
Nov 16 '06 #2
r035198x
13,262 8TB
Hi, I need some help.
I need the code for a function that reformat a text meaning getting rid of spaces and putting everything together.
I also need a function to search a string in a file (how many times the string occurs).
Thank you guys
I need the code is a bad line. I need help is better. You'd then have to supply the codes that you have that you need help with.
Nov 16 '06 #3
I am new, I have been searching for the codes, but I don't have any.
I have no idea how to find the codes in C++.
Please help me!!!
Nov 18 '06 #4
Does anyone know about the deblank function?
Can you help me with that please?
Thank you
Nov 18 '06 #5
mohsin
19
Does anyone know about the deblank function?
Can you help me with that please?
Thank you
well i can help you just give some xplzination about ur programe or xample and what do u mean about deblank do u want to remove a printed word during execution reply i will check tomorrow
Nov 19 '06 #6
AricC
1,892 Expert 1GB
DEBLANK is a C++ program that makes a copy of a text file in which all blank lines have been removed.

I don't think that is what you want to do if you only want to remove spaces.

Please like r035198x said make some kind of attempt at this and post what you come up with, then we'll take a look and steer you in the right direction.
Nov 22 '06 #7

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by just1coder | last post: by
4 posts views Thread by Andy_Khosravi | last post: by
18 posts views Thread by Nick Keighley | last post: by
121 posts views Thread by swengineer001 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.