Thread: input asteriks to substitute characters

  1. #1
    Registered User
    Join Date
    Dec 2012
    Posts
    2

    Thumbs up input asteriks to substitute characters

    Hello everyone,
    I stumbled upon a new problem.
    I was asked to make a program using only C
    where the user will enter characters/strings but on screen only asteriks will show up.... example given below

    program:
    enter string : ************************************
    you entered : Hello world i am new to C programming!!

    like that so plz help!!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    It depends on your operating system and compiler.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Let's practice some searching skills. You can find an answer to your exact question somewhere on here: Cprogramming.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Take input characters and reverse
    By Passa in forum C Programming
    Replies: 2
    Last Post: 09-21-2010, 11:41 PM
  2. Reading input and removing characters
    By comp1911 in forum C Programming
    Replies: 5
    Last Post: 04-26-2010, 01:32 AM
  3. Ignoring certain characters in input
    By Mentallic in forum C Programming
    Replies: 2
    Last Post: 03-27-2010, 11:06 PM
  4. Read from input skipping characters
    By karimallen in forum C++ Programming
    Replies: 4
    Last Post: 11-07-2007, 08:12 PM
  5. any substitute for conio.h(turbo c++) in g++ compiler?
    By aditya1 in forum C++ Programming
    Replies: 6
    Last Post: 03-08-2005, 04:10 PM