Blog Stats
- 159,139 hits
Top Posts & Pages
- Program to recognize strings 'aaab', 'abbb', 'ab', 'a' , aabb using the grammer (an bn ,n>=0).
- A program to find FIRST of NON TERMINALS of the given grammar
- Stack implementation using Linked List
- Queue implementation using Linked List
- Program to find out FOLLOW of NONTERMINALS of given productions
- Program to evaluate an arithmetic expression involving operators +, -, *,/
Categories
Twitter Updates
Tweets by Devesh299Meta
Tag Archives: blank spaces
Program to count the number of lines, number of words, number of blank spaces and number of character in a file
Sample Input\Output:[united@localhost ~]$ vi lexpart.l [united@localhost ~]$ lex lexpart.l [united@localhost ~]$ gcc lex.yy.c [united@localhost ~]$ vi file.c [united@localhost ~]$ ./a.out file.c no of lines are 3 no of words are 9 no of blanks are 8 no of character are … Continue reading
Posted in C, Compiler Design
Tagged blank spaces, c++, characters, count, file, number of lines, source code, words
2 Comments