Thread: Question about clearing prompt

  1. #1
    Registered User
    Join Date
    Feb 2011

    Question about clearing prompt

    Nevermind, can be removed. just figured it out
    Last edited by NinjaFish; 04-17-2011 at 03:48 AM.

  2. #2
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    London, United Kingdom
    Don't delete your posts please. The purpose of them is for people to learn from them.
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Clearing Prompt?
    By Yart in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2009, 10:29 AM
  2. A question regarding command prompt's look
    By Helgso in forum C++ Programming
    Replies: 13
    Last Post: 12-10-2008, 07:40 PM
  3. Noob question, command prompt
    By Gorillasnot in forum C Programming
    Replies: 8
    Last Post: 02-28-2006, 02:30 PM
  4. User prompt question
    By Joe_Gibbs in forum C++ Programming
    Replies: 6
    Last Post: 04-17-2004, 09:26 AM
  5. Prompt Box Ad
    By JaWiB in forum Tech Board
    Replies: 6
    Last Post: 07-28-2003, 11:00 AM