open file in c++ (wild card)

This is a discussion on open file in c++ (wild card) within the C++ Programming forums, part of the General Programming Boards category; how do i put an open file(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-22-2008, 12:19 AM
  2. Formatting a text file...
    By dagorsul in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 04:53 AM
  3. Segmentation Fault - aaaaaaaah!
    By yogibear in forum C Programming
    Replies: 6
    Last Post: 10-01-2007, 04:21 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21