hint on ansi c


 
Thread Tools Search this Thread
Top Forums Programming hint on ansi c
# 1  
Old 06-15-2006
Question hint on ansi c

I am a student. And need help on following program. I want to make a c program.

I have to scan a sentence and I have to interchange a word from that sentence.
Example: Scan the sentence is " Drilling machine and Milling machine " . Replace the word "machine" by "operation". And output should be " Drilling operation and Milling operation"

Can any one help ?
# 2  
Old 06-15-2006
Check the rules here. No homework problems please.
# 3  
Old 06-15-2006
Check the rules here. No homework problems please.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

C fdopen with and without -ansi

I have very little experience with gcc compilation under different environments, so please bear with me. I carried over 20 years old project into Ubuntu 18.04, it has old style K&R parameters, no function declarations to speak of, many functions without return are not declared void, and on and... (8 Replies)
Discussion started by: migurus
8 Replies

2. Shell Programming and Scripting

Hint needed for incrementing numbers

Hi All Been trying to get something working but having some trouble in unix bash or ksh scripting. Im trying to increment once a condition has been met Say I have a file that contains: apple orange banana grapes dates kiwi What im after is once a counter has reached every second... (3 Replies)
Discussion started by: chandika_diran
3 Replies

3. Programming

why the implementatoin of Bakery algorithm in ANSI C does not work in ANSI C

I follow the description of wiki (Lamport's bakery algorithm - Wikipedia, the free encyclopedia), then implement that algorithm in C, but it doesn't work, Starving is still here, is the implementation worry? Only print out: Thread ID: 0 START! Thread ID: 0 END! Thread ID: 0 START!... (2 Replies)
Discussion started by: sehang
2 Replies

4. Windows & DOS: Issues & Discussions

Give Win Explorer a hint to graphics files w/o extensions?

All: Benjamin Fournier wrote a plug-in for the graphics application PhotoFiltre Studio that inspired me, since I also happen to use the XnView Shell Extension and have seen what it can do, to look into the possibility of getting Windows XP Pro SP3's Explorer file navigator to "hazard a guess at"... (1 Reply)
Discussion started by: SilversleevesX
1 Replies

5. HP-UX

HP-UX ansi c precompiler

Hi, How can i find which ansi c precompiler are installed on my hp-ux b11.23 itanuim machine ? Thanks (3 Replies)
Discussion started by: yoavbe
3 Replies

6. HP-UX

Unix_ANSI to PC-ANSI

I want to convert a file from Unix-ANSI to PC-ANSI format. How can i achieve that? (0 Replies)
Discussion started by: ssmallya
0 Replies

7. Shell Programming and Scripting

Convert file from Unix - ANSI to PC - ANSI

Hi, I am creating a file in Unix using a shell script. The file is getting created in the Unix - ANSI format. My requirement is to convert it to the PC - ANSI format. Can anyone tell me how to do this? Thanks, Sunil (0 Replies)
Discussion started by: ssmallya
0 Replies

8. UNIX for Dummies Questions & Answers

SSLSessionCache hint

Folks; I just installed Apache2.2.6 on Solaris 10 & when i try to start it, i got this message in the error.log file: Init: Session Cache is not configured Any help? Thanks in advance (2 Replies)
Discussion started by: moe2266
2 Replies

9. Programming

Ansi C

Dear All, I have to develope some C functions in Unix for a Magic program. The original MSE code which compiles the attached C program uses a +z option, but the cc compiler don't know this. The complete command in the compiler script is 'cc -c -Aa +z myfile.c'. The warning message is 'The -z... (4 Replies)
Discussion started by: Frankie
4 Replies
Login or Register to Ask a Question