![]() |
|
#1
|
|||
|
|||
Removing Vowels.I'm a noob and I've just been introduced to programming and C/C++, within the last month.
I've been tasked to write a program (I'm using Visual Studio btw) that reads the standard input file, and writes to the standard output file, deleting all vowels. i.e. Prompt user to input text: Wow, this is fun. Output: Ww, ths s fn. press any key to continue... Any help would be great, I don't even know where to start. Thanks |
|
#2
|
|||
|
|||
Re: Removing Vowels..CPP / C++ / C Code:
Ok, after hours of work, I think I figured it out. Now how do I pretty it up by printing "YOUR TEXT WITHOUT VOWELS IS:" before the output and ending the program with "PRESS ANY KEY TO CONTINUE..."? Thanks |
|
#3
|
|||
|
|||
Re: Removing Vowels..I'm learning this stuff (C++) as well and I use this and other forums, the questions asked, in order to cement my learning. I wrote a little program which is one particular way of solving the 'removing characters from a string'. I was about to post my attempt and then realized this is a C forum/thread.
My solution can be found here http://superjacent.net/cms/?q=node/742. I can post here but doesn't really address the C issues. ps. why don't links work? |
|
#4
|
|||
|
|||
Re: Removing Vowels..Your work pays off. Good getchar() / putchar() examples. I like the function.
re: "pretty it up" Some ideas: CPP / C++ / C Code:
|
|
#5
|
|||
|
|||
Re: Removing Vowels..Thanks for the input, I will toy around with these ideas..
SRTeasy |
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Odd behavior when removing #include statement from source file | earachefl | C++ Forum | 5 | 09-Feb-2007 11:36 |
| Removing installed program onto usb | jamier1985uk | Computer Software Forum - Windows | 1 | 16-Jan-2007 10:51 |
| Removing "Please enter an integer" message | lti2000 | MS Visual C++ / MFC Forum | 2 | 02-Dec-2006 22:04 |
| Removing Characters from a "String" in a Linked List | Dave Sinkula | C Programming Language | 0 | 02-Jun-2005 09:02 |
| Removing the " underline pointer?" and advance clrscr()? | leitz | C Programming Language | 7 | 14-Nov-2004 11:53 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The