Click here to Skip to main content
15,889,834 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,

may u help me please how can i convert ' * ' to ' . ' and inverse in c?

many thanks

-lida
Posted
Comments
Sergey Alexandrovich Kryukov 2-Dec-12 0:53am    
I cannot understand purpose of your question. Next time you will need to "convert" "apple" to "orange", will ask another question? Stop wasting time! Get to work! I saw all of your questions -- no one will help you.
--SA
lida zar 2-Dec-12 1:21am    
u behave with a student very bad ... u r so bad-tempered Mr. Sergey ... to be a good software developer u first need to correct ur behavior ...
Sergey Alexandrovich Kryukov 2-Dec-12 1:28am    
I am trying to help you. To me, it's to late to become a good software developer -- probably I won't ever be, so don't worry about it.

And please think about your own behavior: you probably think that you are polite, but in fact you just spam the site. Do you think it's nice? This is just immoral, as well as such laziness. I'm trying to convince you, for your own good, but afraid it's useless. I have too much patience to you, because you apparently not learning from criticism.

--SA
lida zar 2-Dec-12 1:37am    
thanks anyways , but its not spam ... i'm only a student and i 'm learning from here everything ... so why u wanna ged rid of me by ur messages ... u thought only advanced program should share here ... its not square :(
Sergey Alexandrovich Kryukov 2-Dec-12 13:54pm    
OK, right, this is not spam, but my point is: you will start getting help from questions when you realize that your previous questions were spam. You just need to start working by yourself, that's the key.
--SA

1 solution

C++
char convert(char input) {
    if (input == '*')
       return '.'
    else
       return input; // or something else
} // :-)


and visa versa...

—SA
 
Share this answer
 
v2
Comments
lida zar 2-Dec-12 1:29am    
thanx very much
Sergey Alexandrovich Kryukov 2-Dec-12 13:55pm    
Anytime, but thing about efficiency of your questions. :-)
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900