Sponsored Content
Full Discussion: Learning to program in c
Top Forums Programming Learning to program in c Post 8490 by mbb on Friday 12th of October 2001 10:12:48 AM
Old 10-12-2001
I know just what you mean!

Here are some ideas for you

1. Video shop database/booking system.

** A database can be just a bunch of flat text files.

2. Sorting routines.

** Try to write a sort routine that can handle any size of file.
Use temporary files to store intermediate results.

3. Experiment with simple screen displays.

e.g. write a menu program that use (by file or command line) a list of options and will return the selected option.

4. A mail merge program.

5. Try to emulate some Unix commands e.g. grep, ls, find

6. If you can manipulate graphics try writing a program that generates a tiled map of terrain.

** Try to make the map a realistic a possible. Keep it in as small amount of memory as possible. Allow the user to scroll about the map using cursor keys.

These are just a few ideas of the top of my head. I promise you that at when I was learning how to program I have written these programs for myself.

It is good that you are willing to take on programming. Remember the only way to get good is to pratice.

Regards

MBB
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

learning on my own

can i do this? i am learning this on my own..and from the book..simple unix i am not sure if the syntax would work if statement then statement do or for or while statement done else statement fi.... I dont know how else to explain that...I hope I... (2 Replies)
Discussion started by: jonas27
2 Replies

2. UNIX for Dummies Questions & Answers

Learning to program eBooks and CBTs

Hi Guys, I have recently started a new job at quite a large company. Part of my daily role is to grep for processes, kill them when they're failing and restart them etc. Also editing config files in Vi mode. I have become quite interested in Unix and am currently studying for the Sun Certified... (1 Reply)
Discussion started by: JayC89
1 Replies

3. UNIX for Dummies Questions & Answers

Script to open program and send/execute command in program

Hi, i want to write a script that executes a program (exec?) . this program then requires a filename as input. how do i give it this input in the script so the program will be complete run and close by the script. e.g. exec prog.exe program then asks for filename "enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies

4. UNIX for Dummies Questions & Answers

Text book / online resource for learning to program at system/kernel level

Is there any book/resource that one can refer to, to be able to write programs at kernel/system level.. I'm looking for a programming book that could serve as a guide to write kernel codes / system level programming etc.. I have Tannenbaum's Design and Implementation. It addresses theoretical... (2 Replies)
Discussion started by: vishwamitra
2 Replies

5. Shell Programming and Scripting

Learning Scripting

Hi All, I am facing an issue. I need your advise. I want to take my unix skills to the next level. I want to verse in scripting now. I got some understanding of programming. I did a little bit of C++, Assembly in College. I got some basics in perl. I am wondering if It would be best to... (3 Replies)
Discussion started by: Pouchie1
3 Replies

6. Shell Programming and Scripting

Learning Perl

Folks! Anyone please explain the behavior of this program step by step. Thanks. #! /usr/bin/perl $testfile = "./testfile2"; for ( $i = 1, $i <= 5, $i++) { open ($FILE, ">", $testfile); print ($FILE "Output 1 \n"); close ($FILE); } print "The value of (4 * 2) / 2 is "; print (4 * 2)... (1 Reply)
Discussion started by: huko99
1 Replies

7. Homework & Coursework Questions

Calling compiled C program with Perl program

Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Discussion started by: jdkirby
1 Replies

8. AIX

Learning AIX from zero.

Dear Sirs: Good afternoon, my name is Javier. I´m new to Unix and I am working as a Linux Server admin in an ISP from Argentina. I´m want to in learn AIX, and find interesting information about it on some IBM Redbooks. I would like to know if is there any possibility to Virtualize an AIX... (8 Replies)
Discussion started by: xavinux
8 Replies

9. Shell Programming and Scripting

Perl program get a response before the program quits

I created a program, so a kid can practice there math on it. It dispenses varies math problems and the kid must input an answer. I also want it to grade the work they have done, but I can't find the best place for it to print out the grade. I have: if ( $response =~ m/^/ ) { $user_wants_to_quit... (1 Reply)
Discussion started by: germany1517
1 Replies
ypcat(1)						      General Commands Manual							  ypcat(1)

NAME
ypcat - print values of all keys in a NIS database SYNOPSIS
ypcat [ -kt ] [ -d domain ] [ -h hostname ] mapname ypcat -x DESCRIPTION
ypcat prints the values of all keys from the NIS database specified by mapname, which may be a map name or a map nickname. OPTIONS
-d domain Specify a domain other than the default domain as returned by domainname(8). -h hostname Specify a hostname other than the default one as found by ypbind(8). -k Display map keys. This option is useful with maps in which the values are null or the key is not part of the value. -t This option inhibits map nickname translation. -x Display the map nickname translation table. FILES
/var/yp/nicknames map nickname translation table. SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypmatch(1), yppoll(8), ypserv(8), ypset(8), ypwhich(1) AUTHOR
ypcat is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>. YP Tools 2.14 April 2010 ypcat(1)
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy