Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 560 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 560 Bytes

SSOS-Lab-Programs

SSOS Lab Programs VTU 6th Sem


How to run programs in Windows OS:

  • Follow this video to download VirtualBox and Ubuntu ISO file

  • Run, in Ubuntu VM : sudo apt-get install flex bison to install the required packages

Compile Lex Programs :

gedit pgm.l
lex pgm.l
cc lex.yy.c
./a.out

Compile LEX & YACC both :

gedit pgm.l
gedit pgm.y
lex pgm.l
yacc -d pgm.y
cc lex.yy.c y.tab.c 
./a.out

Compile C Programs :

gedit pgm.c
cc pgm.c
./a.out