Thread: Read a Text File

  1. #1
    Registered User
    Join Date
    Nov 2001

    Question Read a Text File

    If this has been asked and answered don't yell. I couldn't find it.

    I'm new to c++ and I'm trying to convert a ASP script to work in c++. The script reads a text file and searches for a word. If the word exist then it displays a code if the word doesn't exists it displays an error messages. The only problem with it is that it can't be automated. I was wondering if this can be done using C++ and be fully automated and run in the background without being visible to the user?

    Any help would be appreciated.


  2. #2
    Registered User
    Join Date
    Aug 2001
    Theoretically, everything you seek is possible with C/C++. It is not likely to be beginner level stuff. But since it is something available in Windows and Windows is written in C/C++ then you _could_ write it yourself, in theory.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 04:14 AM
  2. [HELP] Read text file in vc++ 2005
    By sonnb in forum C++ Programming
    Replies: 1
    Last Post: 05-12-2007, 10:01 AM
  3. How to read chars from a text file and use them in TChart
    By Bachatero in forum C++ Programming
    Replies: 1
    Last Post: 08-29-2006, 04:03 PM
  4. getline function to read 1 line from a text file
    By kes103 in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2004, 06:21 PM
  5. simulate Grep command in Unix using C
    By laxmi in forum C Programming
    Replies: 6
    Last Post: 05-10-2002, 04:10 PM