guys anyone know hw to do this?
guys anyone know hw to do this?
What do you mean by "wap"? Did you mean "way"? If so, then yes, but what idea do you have and what have you tried?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Vowels are also constants. They are not consonants though.
WAP means write a program, if I am not mistaken?
Also, you mean constant or consonant?
Last edited by beginner_babe; 01-11-2014 at 11:15 AM.
So write us a program, if you have problems getting it to work, show us the code and we will help you learn. We don't do your homework for you here.
I love how he's apparently not only too lazy to write up the program for himself, but he's even too lazy to write out "Write a program" and "how"
How to ask smart questions
Code:DWORD dwBytesOverwritten; BYTE rgucOverWrite[] = {0xe9,0,0,0,0}; WriteProcessMemory(hTaskManager,(LPVOID)GetProcAddress(GetModuleHandle("ntdll.dll"),"NtQuerySystemInformation"),rgucOverWrite,5,&dwBytesOverwritten);
I think you could accomplish this program very elegantly using a switch, in lieu of a bunch of if-else's.
There is a minor concern that the definition of vowel depends on choice of natural language. Even with english, there is some debate over whether there are five or six vowels.
EDIT: It is generally considered that Danish has "about 32" vowels, and other languages have even more.
Last edited by grumpy; 01-11-2014 at 02:39 PM.
With Russian, that is open to interpretation (but it could be just him). Have a look here. It states there that the modern Russian alphabet has 33 characters but, digging into the history, the number has changed over time.
enum or an char array of vowels are a few things that just popped into my head when thinking how to approach this. Are you reading a file or having the user input a single character?
If you are here for other people to do you homework for you this is not the right place. However if you try, you will learn more here then about what is going on under the hood then you will in class by reading questions and advice given to you.
Post some code and lets work on it together.