question about filenames

This is a discussion on question about filenames within the C++ Programming forums, part of the General Programming Boards category; My program reads and writes external files which I have coded .mf files (mf stands for My Files). In windows ...

  1. #1
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163

    Question question about filenames

    My program reads and writes external files which I have coded .mf files (mf stands for My Files). In windows explorer the files appear with a drab logo, does anyone know how to change the logo?

    Also, is there anyway of making a filename of what the user inputs? The code currently is ->
    mf = fopen("save.mf", "w+b");

    I have tried -> mf = fopen(name.mf, "w+b"); and slight variations but I can't seem to crack it
    My site to register for all my other websites!
    'Clifton Bazaar'

  2. #2
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    To change the icon associated with a file:
    go to my computer -> view -> folder options -> file types
    and set it up.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  3. #3
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163
    What I actually meant was how do I make the Icons in my program so they come up on another computer that is running my program?
    Sorry about the confusion.
    My site to register for all my other websites!
    'Clifton Bazaar'

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  2. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  3. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 08:22 PM
  4. Question about linked lists.
    By cheeisme123 in forum C++ Programming
    Replies: 6
    Last Post: 02-25-2003, 12:36 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 12:47 AM

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