Using fstream.h or stdio.h in WinApps

This is a discussion on Using fstream.h or stdio.h in WinApps within the Windows Programming forums, part of the Platform Specific Boards category; Hello ~ I wrote a set of functions that read and write ID3 tags for a console mode application recently ...

  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    32

    Question Using fstream.h or stdio.h in WinApps

    Hello ~

    I wrote a set of functions that read and write ID3 tags for a console mode application recently using stdio.h for the file I/O. Could I use these functions in the WinAPI created Windows Application? It's all in C++. If not, how could I attempt do do the same thing for a WinApp?

    I hope that I have been clear. Thanks;

    ~ Chris Howarth

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,344
    You can still use the standard file I/O for manipulating the file system.

    But you have to use the likes of DrawText() for actually displaying text on screen, in a window.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    32
    Oh good, that fine.. Thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. error: stdio.h: No such file or directory
    By MindLess in forum C Programming
    Replies: 9
    Last Post: 12-20-2007, 07:11 AM
  2. stdio.h
    By Vertex34 in forum C Programming
    Replies: 2
    Last Post: 07-12-2004, 10:18 AM
  3. error in -stdio.h __VALIST
    By JaWiB in forum C++ Programming
    Replies: 3
    Last Post: 09-20-2003, 12:22 PM
  4. taylor series using only stdio.h
    By faruque in forum C Programming
    Replies: 1
    Last Post: 02-13-2003, 11:50 AM
  5. Modifying stdio.h
    By Spectrum48k in forum C Programming
    Replies: 10
    Last Post: 05-29-2002, 08:30 AM

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