Hello,
I seem to be having some C language probs. I just need insight on how I can write this program:
a program that reads input , and can replace a char with another one(e.g if I type k, it should replace it with a) using getchar and switch.. case only.
Thanks for the help. i'm still trying to figure it out myself too.
the.future.zone
0
Newbie Poster
Recommended Answers
Jump to PostYou might want to read this, taken directly from the top of the forum. Granted, it refers to "homework help", which may or may not be the case in your situation, but the same principals apply.
Jump to PostPost your best attempt at the problem so far.
Being able to just copy stdin to stdout without any of the substitutions would be a start at least.
All 8 Replies
aeinstein
79
Team Member - aka kaynine
Team Colleague
the.future.zone
0
Newbie Poster
Salem
5,138
Posting Sage
the.future.zone
0
Newbie Poster
Dave Sinkula
2,398
long time no c
Team Colleague
the.future.zone
0
Newbie Poster
Bench
212
Posting Pro
Lerner
582
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.