A Tutorial for C/C++ Programming on Linux

A Tutorial for C/C++ Programming on LinuxShort Description
C/C++ programming on Linux and answer any queries they have. This tutorial is to help them getting started. on their own. A lot of these students also tell …

Website: www.ghodechhap.net | Filesize: 240kb

Content
A Tutorial for
C/C++ Programming on Linux
Shridhar Daithankar
September 5th, 2004
Page 1 of 18Table of Contents
Introduction……………………………………………………………………………………………………………………………………3
Starting C programming with Linux……………………………………………………………………………………………………3
Basic Checks…………………………………………………………………………………………………………………………….3
The first encounter……………………………………………………………………………………………………………………..4
Summary…………………………………………………………………………………………………………………………………..5
C/C++ Compiler……………………………………………………………………………………………………………………………..5
Command-line Options……………………………………………………………………………………………………………….5
Libraries…………………………………………………………………………………………………………………………………..7
Using libraries in programs……………………………………………………………………………………………………..7
Types of libraries………………………………………………………………………………………………………………….7
Creating a library………………………………………………………………………………………………………………….8
Libraries and running a program………………………………………………………………………………………………8
The C/C++ programming environment…………………………………………………………………………………………10
Man pages for C calls…………………………………………………………………………………………………………..10
C/C++ standard library documentation……………………………………………………………………………………10
STL documentation……………………………………………………………………………………………………………..10
Debugging……………………………………………………………………………………………………………………………………10
Preparing and debugging the program…………………………………………………………………………………………..11
Breakpoints and variable values………………………………………………………………………………………………….12
Changing variable values…………………………………………………………………………………………………………..13
GDB command reference…………………………………………………………………………………………………………..13
What do I miss from Turbo C?…………………………………………………………………………………………………………13
Headers…………………………………………………………………………………………………………………………………..13
dos.h………………………………………………………………………………………………………………………………….13
conio.h………………………………………………………………………………………………………………………………14
Graphics………………………………………………………………………………………………………………………………….14
Whats next?………………………………………………………………………………………………………………………………….14
Further reading…………………………………………………………………………………………………………………………14
Make…………………………………………………………………………………………………………………………………14
Autoconf……………………………………………………………………………………………………………………………14
Automake…………………………………………………………………………………………………………………………..15
Version Control Systems……………………………………………………………………………………………………….15
Alternate Operating Systems……………………………………………………………………………………………………….15
Contact information………………………………………………………………………………………………………………….15
Editors…………………………………………………………………………………………………………………………………………15
Vi…………………………………………………………………………………………………………………………………………..16
Pico………………………………………………………………………………………………………………………………………..16
Joe………………………………………………………………………………………………………………………………………….16
Others…………………………………………………………………………………………………………………………………….16
Appendix……………………………………………………………………………………………………………………………………..17
Brief Vi command reference……………………………………………………………………………………………………….17
File Handling ……………………………………………………………………………………………………………………..17
Editing……………………………………………………………………………………………………………………………….17
Navigation………………………………………………………………………………………………………………………….17
Buffer Handling………………………………………………………………………………………………………………….17
Setting Options……………………………………………………………………………………………………………………18
Search and replace……………………………………………………………………………………………………………

Get the file Download here

AddThis Social Bookmark Button
Related Books:
  • Linux-HA Release 2 Tutorial
  • Advanced Linux Programming
  • Linux-HA Release 2 Tutorial
  • Programming in Linux Prerequisites - Basic Operating Systems …
  • Linux-PCI Support Programming PCI-Devices under Linux
  • Programming Linux Games
  • Network programming-Linux kernel - Introduction
  • Linux Kernel for System Programming

  • Related Searches: , , , ,



    Comments

    Leave a Reply