how to Get the screen to a still

This is a discussion on how to Get the screen to a still within the C++ Programming forums, part of the General Programming Boards category; Hello everybody, this is ayush a new member of this forum, guyz i also share this new word wid some ...

  1. #1
    Registered User
    Join Date
    Jan 2007
    Location
    @t home, off course!! i.e. New Delhi, India
    Posts
    3

    Question how to Get the screen to a still

    Hello everybody,
    this is ayush a new member of this forum, guyz i also share this new word wid some other stuff n dat is C++, so that is why i hav this very very basic question.
    for compiling my files in c++ i m using Dev-C++, which is offcourse not a turbo product, n it jus not supports conio.h n clrscr() function plz help me attaining equivalent in this product also, thank u.

    Regards,
    Ayush.

  2. #2
    Registered User IdioticCreation's Avatar
    Join Date
    Nov 2006
    Location
    Lurking about
    Posts
    229
    Try:
    system("cls");

  3. #3
    Registered User
    Join Date
    Jan 2007
    Location
    @t home, off course!! i.e. New Delhi, India
    Posts
    3
    bro i think 4 this solution, i'll need 2 place my program in to d command folder of windows, also i need d solution for getch() fuction as it is also a conio service.

  4. #4
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Speek english.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  5. #5
    Registered User
    Join Date
    Jan 2007
    Location
    @t home, off course!! i.e. New Delhi, India
    Posts
    3
    Quote Originally Posted by manutd
    Speek english.
    i think d language in which i m writtin is english only, n by d way buddy thats' "speak", not "speek".

  6. #6
    The larch
    Join Date
    May 2006
    Posts
    3,573
    Quote Originally Posted by manutd
    Speek english.
    That would be: Speak English.

    If you are learning programming, just forget about all the conio stuff. Text-based programs are good for learners for the very reason that they keep the distraction of making a user interface to the minimum.

    Most of my text-based programs are either written to test out ideas that might later go into a GUI program, or run without any screen output at all. So I see no point in learning how to dress up console output (unless you have to write a professional console application)..

    If you really need coloured text and other fancy stuff, you might find it in <windows.h>. Search MSDN for console-related topics.

    (By the way, I'm non-English, but they didn't teach me that "and" is spelled "n" and "the" "d".)
    Last edited by anon; 01-17-2007 at 08:32 AM.

  7. #7
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    I should be capitalized, am has two letters, writting has a g, that's has an apostrophe after the t, guys has a s not a z, with has th not d, have has an e, for should be capitalized, of course does not equal offcourse, just has a t, please is not plz, and you is not u. Plus, this sentence makes no sense:
    Quote Originally Posted by ayush
    Hello everybody,
    this is ayush a new member of this forum, guyz i also share this new word wid some other stuff n dat is C++, so that is why i hav this very very basic question.
    Get my point?
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  8. #8
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,435
    There's a conio port for mingw here... http://conio.sourceforge.net/
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Render text
    By Livijn in forum C++ Programming
    Replies: 6
    Last Post: 07-06-2007, 03:32 PM
  2. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 03:56 PM
  3. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 09:18 PM
  4. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  5. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM

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