Go to Post Courtesy and kindness should be the words for the weekend. - IndySam [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 20-01-2010, 12:34
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Search for text in a file

As I said, this is the "C way" to do it, but all the C libraries work perfectly well in C++. This won't put you at a disadvantage in any way. If you want to do it the "C++ way," just read your data into the buffer with ifstream. That's all you have to change.
__________________
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB 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
Logging console data to text file on crio Kingofl337 Programming 3 09-04-2009 18:57
Robotics Text needed for new course... JB987 Robotics Education and Curriculum 11 11-09-2008 11:43
Can the robot read a text file? CyDrive Programming 22 07-09-2007 15:43
Text Plugin for Inventor 5 sanddrag Inventor 1 20-01-2004 22:11
Anyway to make it easier for readers to search for important info's? Ken Leung CD Forum Support 10 30-06-2001 14:47


All times are GMT -5. The time now is 12:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi