Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Jan 8th, 2008, 7:39 AM   #1
Caitu
Newbie
 
Join Date: Jan 2008
Posts: 1
Rep Power: 0 Caitu is on a distinguished road
CPP newbie, any way to make a call to a file for references?

For example, if I wanted to create something that would send a set amount of messages to mIRC, and I wanted the program to look in the text document fff.txt for this information.

A similar example is shown below, with notations.

"Hi, I'm a bot // First line, what I want it to say first. I do not want it to repeat this line.
This is an example // Second line, to be sent immediately after the first, I don't want this to be repeated either
Of how hopeless I am! // Third line, to be sent immediately after the second, nor this, etc.."

Using the postmessage function with calls to a text document, would this be possible?

And by the way, I know that there are easier ways to do this, especially since IRC already has a built in scripting tool. I want to do it that hard way.
Caitu is offline   Reply With Quote
Old Jan 8th, 2008, 10:03 AM   #2
Salem
Programmer
 
Join Date: Nov 2007
Posts: 33
Rep Power: 0 Salem is on a distinguished road
Re: CPP newbie, any way to make a call to a file for references?

Yes, I think it would be possible for you to do that.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Salem 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a file downloadable only from my page? leo1502 PHP 14 Oct 20th, 2006 1:25 PM
Newbie prob:how to make combinations without repeatition veiga2 C++ 4 Aug 16th, 2006 5:02 AM
How to make a file bigguy Visual Basic 4 Sep 21st, 2005 10:55 AM
Make the newbie feel welcome! TeamElement3 Community Introductions 22 Jul 17th, 2005 11:09 PM
Newbie: How to make simple Timer programe smith000monday Assembly 0 May 17th, 2005 2:54 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:52 PM.

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