Results 1 to 3 of 3

Thread: iostream for windows apps

  1. #1

    Thread Starter
    Hyperactive Member MPrestonf12's Avatar
    Join Date
    Jun 1999
    Location
    NY
    Posts
    330
    In this book im reading, it talks about the C++ I/O. The stream is uses for instance to set flags is cout.setf(ios::showpos) for example. Thats great but whats the stream for windows? Thanks
    Matt

  2. #2

    Thread Starter
    Hyperactive Member MPrestonf12's Avatar
    Join Date
    Jun 1999
    Location
    NY
    Posts
    330
    so I could say ofstream.setf(ios::showpos)? And then any output for exapmle to a messagebox for something would have the showpos flag?
    Matt

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    No. Those classes are for stream input/output and are in no way related to the Windows display and notification functions.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width