Computing.Net > Forums > Unix > unix programs

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

unix programs

Reply to Message Icon

Name: sry_deep
Date: December 8, 2004 at 03:49:01 Pacific
OS: redhat linux 9
CPU/Ram: p3/128
Comment:

hi,
I am a student who just started learning unix. I was given with the following programs in my cirriculum. AS i am a new programmer is not able to solve them. can any one please give me the unix code for the below problems...

1. Display "Unix Programming Lab" N times using LIBRARY FUNCTION CALLS and user Defined function dsply(int). N is an integer given through keyboard upon prompting.

2. Display "Unix Programming Labs" N times using SYSTEM CALLS and user defined function dsply (char *). N is an integer given through keyboard upon prompting.

3. Write "Unix Programming Lab" N times in a file : outfile.txt in current directory using LIBRARY FUNCTION CALLS and user defined function writefile(int). N is an integer given through a file infile.txt

4. Write "Unix Programming Lab" N times in a file : outfile.txt in current directory using SYSTEM FUNCTION CALLS and user defined function writefile(char *). N is an integer given through a file infile.txt



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: December 8, 2004 at 13:41:35 Pacific
Reply:

The purpose of taking the class, is presumably, to learn how to solve these problems.

So pay attention in class, get out your book and start studying.

Those of us that already know how to write these programs had to do that (study).

What's the point of taking the class if you aren't going to learn anything. You won't learn anything if someone else does the work.

Be sure to come back and let us know if our suggestions helped!


0

Response Number 2
Name: Don Arnett
Date: December 8, 2004 at 13:42:52 Pacific
Reply:

Almost forgot - Click here!

Be sure to come back and let us know if our suggestions helped!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: unix programs

How do i dual boot w98 and unix sco program? www.computing.net/answers/unix/how-do-i-dual-boot-w98-and-unix-sco-program/1276.html

Help Needed by UNIX Programmers www.computing.net/answers/unix/help-needed-by-unix-programmers/2620.html

Unix security -- FTP service???? www.computing.net/answers/unix/unix-security-ftp-service/7149.html