Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 30th, 2004, 10:41 AM   #1
russell2002
Newbie
 
Join Date: Sep 2004
Posts: 2
Rep Power: 0 russell2002 is on a distinguished road
Hi,

Im looking for some means of automating a rather annoying job I often do.

I need the means to take a list of over 1000 strings in a txt files, take a
html template and have the first sentence in the list of the txt file replac
e every refrence of TEMP123 in the html file, save it as the variable name a
nd then take the same template but using variable 2 in the list, and save it
and so on.

Then complile a list of links to all documents created,

Anyone any ideas ?

Regards,
russell2002 is offline   Reply With Quote
Old Sep 30th, 2004, 1:18 PM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
sounds easy enough... you will need to include <fstream> and <string> in your program.

You already have the logic down fairly well... all you have to do is create the functions to read the data file, read the template, modifly the template, save the modified template as a new name, create links.

What problems are you having?
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 30th, 2004, 3:07 PM   #3
russell2002
Newbie
 
Join Date: Sep 2004
Posts: 2
Rep Power: 0 russell2002 is on a distinguished road
No probem, just wasnt to firstly check it was feasable.

Can I pay one of you guys to right it for me......
russell2002 is offline   Reply With Quote
Old Sep 30th, 2004, 4:30 PM   #4
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Yes, its feasible.

If you attempt it yourself and fail, we are always here to help you. That way, you save money and learn in the process.

My rates are fairly high, because my time is valuable. I will help you work out the bugs, etc for free. If you don't want to learn, I'm sure someone here will do it for a fee or you can try rent-a-coder.com
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 30th, 2004, 4:42 PM   #5
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
I don't think you'll find anybody on here that is cheap.....

But i think you'll find we're all willing to help you with anyproblems you might have while programming your script.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:59 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC