Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. fflush

fflush

Scheduled Pinned Locked Moved Managed C++/CLI
c++tutorialquestionlearning
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Demian Panello
    wrote on last edited by
    #1

    Hi. How could I flush the input buffer in C++/CLI? :doh:(in a Console Application of course):->. Like fflush(stdin) does in C. Thank you.

    Demian. "I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." -Bjarne Stroustrup, computer science professor, designer of C++ programming language (1950- )

    P 1 Reply Last reply
    0
    • D Demian Panello

      Hi. How could I flush the input buffer in C++/CLI? :doh:(in a Console Application of course):->. Like fflush(stdin) does in C. Thank you.

      Demian. "I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." -Bjarne Stroustrup, computer science professor, designer of C++ programming language (1950- )

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      Demian Panello wrote:

      Like fflush(stdin) does in C.

      What about using System::IO::FileStream::Flush() ?

      Prasad Notifier using ATL | Operator new[],delete[][^]

      D 1 Reply Last reply
      0
      • P prasad_som

        Demian Panello wrote:

        Like fflush(stdin) does in C.

        What about using System::IO::FileStream::Flush() ?

        Prasad Notifier using ATL | Operator new[],delete[][^]

        D Offline
        D Offline
        Demian Panello
        wrote on last edited by
        #3

        Thank you Prasad.

        Demian. "I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." -Bjarne Stroustrup, computer science professor, designer of C++ programming language (1950- )

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups