Syncing the screen in a console?!

Discussion in 'C++' started by helpfullProgram, Oct 1, 2010.

  1. helpfullProgram

    helpfullProgram New Member

    Joined:
    Oct 1, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello everybody!

    This is an amazing place you have built up here and I have never ceased to be amazed by the knowledge available...

    I have just one question which might seem quite easy to the right person so here goes. I am working with the console in C++ so all skin and bones with no graphics library or anything and I want to refresh the screen when I ask through a function. At the moment I call printf for my tile map and it ends up flickering so I wondered if I could in theory queue up all the data to be printed and only "sync" the screen when I say so it does it all at once and relives me of the "flickering" as it is refreshing line by line.

    Thank you very much in advance!
    from helpfullprogrammer.
     
  2. techgeek.in

    techgeek.in New Member

    Joined:
    Dec 20, 2009
    Messages:
    572
    Likes Received:
    19
    Trophy Points:
    0
    Occupation:
    EOC (exploitation of computers)..i m a Terminator.
    Location:
    Not an alien!! for sure
    Home Page:
    http://www.techgeek.in
    Itz not possible without using GUI or graphics lib....
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice