Click here to Skip to main content
11,923,046 members (62,459 online)
Rate this:
Please Sign up or sign in to vote.
See more: C Linux

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

many thanks

Posted 1-Dec-12 19:29pm
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.
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 ...
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.

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 :(
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.
lida zar 2-Dec-12 1:18am
i mean that in a line of reading file if there was '*' character i wanna convert it to ' . ' and if there was ' . ' i wanna convert it to ' * ' ... thanks.
lida zar 2-Dec-12 2:08am
thanx friend i got my reply but after complete my program i ask my problem ... many thanks for ur kindness :)

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

and visa versa...

lida zar 2-Dec-12 1:29am
thanx very much
Anytime, but thing about efficiency of your questions. :-)

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151125.3 | Last Updated 2 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100