Default
Google

 

[ HOME ]   [ personal ]   [ articles ]   [ computing ]   [ projects ]   [ resume ]

 

 


 s e m e s t e r    6

Links

[06/01/03] "Parsing Techniques - A Practical Guide" (ebook)
[06/01/03]
Pat Terry's "Compilers & Compiler Generators using C++" (ebook)
[06/01/03]
Lex & Yacc Tutorial
 

System's Programming Lab

[22/03/03] Exam Prep (most lab programs)

[10/02/03] Parser:
     CPP
> Shift Reduce: shift.cpp

Usage:
  1) CPP version
      g++ shift.cpp -oshiftred
      ./shiftred     

[06/01/03] Lexical Analyzer:
     CPP
> cpplexan.cpp op.dat key.dat
     FLEX
> flexlexan.yy

Usage:
  1) CPP version
      g++ cpplexan.cpp -ocpplexan
      ./cpplexan cpplexan.cpp | more
     
  2) FLEX version
      flex -+ flexlexan.yy
      g++ lex.yy.cc -oflexlexan -lfl
      ./flexlexan < cpplexan.cpp

[28/12/02] ASM 85 ( 2-pass 8085 assembler )

Note that the source code uses STL and spans across three CPP files.

[28/12/02] ncurses guide by M Sankar Kumar

Quick reference guide to ncurses commands.


Networking Lab

[22/03/03] Exam Prep (most lab programs)

[10/02/03] Packet Capture/Checksum: packet.cpp

Usage:
  g++ packet.cpp -opacket

  ./packet                           [ NOTE: you _need to be_ root to run it. ]

[01/02/03] UDP Echo Server/Client: socks.cpp socks.h echoserv.cpp echocli.cpp

Usage:
  g++ echoserv.cpp socks.cpp -oserver
  g++ echocli.cpp socks.cpp -oclient

  ./server                           [ run echo server ]
  ./client 127.0.0.1              [ run echo client on localhost ]

[01/02/03] IP Address of Client: socks.cpp socks.h ipaddserv.cpp

Usage:
  g++ ipaddserv.cpp socks.cpp -oipserv

  ./ipserv
  telnet 127.0.0.1 3000

[28/12/02] IPC Pipes: pipe.cpp

Usage:
  g++ pipe.cpp -opipe

  ./pipe pipe.cpp

[28/12/02] Daytime client/server: socks.cpp socks.h dayclient.cpp dayserver.cpp

Usage:
  g++ dayclient.cpp socks.cpp -oclient
  g++ dayserver.cpp socks.cpp -oserver

  ./client localhost             [ test client with inbuilt daytime service ]
  ./server 3000                 [ setup server on port 3000 ]
  ./client localhost 3000     [ test client on server at port 3000 ]

[28/12/02] Socket Programming Tutorial by Jai Vasanth

Excellent guide for beginners to get into network programming using C/C++ in Linux. All commands are illustrated with complete code examples.

 



Acquiring image from ProHosting Banner Exchange