Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me write a C program that exchanges a string of letters to another one

Status
Not open for further replies.

vkekk

Full Member level 3
Joined
Mar 30, 2007
Messages
159
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,298
Activity points
2,211
How to write the below problem in C language...

* The forum is going on and administartor find that some people use abusing or
bad lnaguage in discussion.so he decided that when he uses such language it
was replacedc with beap.

like
some string is given and it contain word idiot and bla bla ba....
you have to replace the word with ###

the word is listed in some look up table.
in Max_list_word

I think u got idea.


thanks in advance.......
 

Re: program in C ....

vkekk,

C standard library <strings.h> have several APIs to handle strings...

+++
 

    vkekk

    Points: 2
    Helpful Answer Positive Rating
Re: program in C ....

Iam not getting your point. Can u please give few algorithm steps to understand the logic of the problem. thanks in advance
 

program in C ....

It is like pattern matching.Read the string from the forum, compare the string with you list and when u have match replace them with ###. It is String manipulation.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top