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
doctoc_lang_syntax(n)						Documentation tools					     doctoc_lang_syntax(n)

__________________________________________________________________________________________________________________________________________________

NAME
doctoc_lang_syntax - doctoc language syntax DESCRIPTION
This document contains the formal specification of the syntax of the doctoc markup language, version 1.1 in Backus-Naur-Form. This document is intended to be a reference, complementing the doctoc language command reference. A beginner should read the much more informally writ- ten doctoc language introduction first before trying to understand either this document or the command reference. FUNDAMENTALS
In the broadest terms possible the doctoc markup language is like SGML and similar languages. A document written in this language consists primarily of markup commands, with text embedded into it at some places. Each markup command is a just Tcl command surrounded by a matching pair of [ and ]. Which commands are available, and their arguments, i.e. syntax is specified in the doctoc language command reference. In this document we specify first the lexeme, and then the syntax, i.e. how we can mix text and markup commands with each other. LEXICAL DEFINITIONS
In the syntax rules listed in the next section [1] <TEXT> stands for all text except markup commands. [2] Any XXX stands for the markup command [xxx] including its arguments. Each markup command is a Tcl command surrounded by a matching pair of [ and ]. Inside of these delimiters the usual rules for a Tcl command apply with regard to word quotation, nested commands, continuation lines, etc. [3] <WHITE> stands for all text consisting only of spaces, newlines, tabulators and the comment markup command. SYNTAX
The rules listed here specify only the syntax of doctoc documents. The lexical level of the language was covered in the previous section. Regarding the syntax of the (E)BNF itself [1] The construct { X } stands for zero or more occurrences of X. [2] The construct [ X ] stands for zero or one occurrence of X. The syntax: toc = defs TOC_BEGIN contents TOC_END { <WHITE> } defs = { INCLUDE | VSET | <WHITE> } contents = { defs entry } [ defs ] entry = ITEM | division division = DIVISION_START contents DIVISION_END BUGS, IDEAS, FEEDBACK This document, will undoubtedly contain bugs and other problems. Please report such in the category doctools of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have. SEE ALSO
doctoc_intro, doctoc_lang_cmdref, doctoc_lang_faq, doctoc_lang_intro KEYWORDS
doctoc commands, doctoc language, doctoc markup, doctoc syntax, markup, semantic markup CATEGORY
Documentation tools COPYRIGHT
Copyright (c) 2007-2009 Andreas Kupries <andreas_kupries@users.sourceforge.net> doctools 1.0 doctoc_lang_syntax(n)
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy