Thread: open file in c++ (wild card)

  1. #1
    Unregistered
    Guest

    Angry open file in c++ (wild card)

    how do i put an open file(wild card)

  2. #2
    Unregistered
    Guest

    what is a "wild Card"

    or is it the file you want to open??

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    1
    do you mean something like:

    somefile.open("somefile.blah");

    That would open a file with in a program or if you are talking about inputing a filename I think it's something like:


    cin >> filename;

    somefile.open("filename.cstr()"); //or something like that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  2. Formatting a text file...
    By dagorsul in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 03:53 AM
  3. Segmentation Fault - aaaaaaaah!
    By yogibear in forum C Programming
    Replies: 6
    Last Post: 10-01-2007, 03:21 AM