Question about clearing prompt

This is a discussion on Question about clearing prompt within the C Programming forums, part of the General Programming Boards category; Nevermind, can be removed. just figured it out...

  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    62

    Question about clearing prompt

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

  2. #2
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    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, 11: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, 10:26 AM
  5. Prompt Box Ad
    By JaWiB in forum Tech Board
    Replies: 6
    Last Post: 07-28-2003, 12:00 PM

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