Thursday, September 21, 2017
Trivial Lex program to tokenize a C program
Trivial Lex program to tokenize a C program
/*
* Copyright (c) 2012-13 Jobin Raju George <jobin.rv@gmail.com>
*
* Licensed under the GNU General Public License Version 2
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* A copy of the GNU General Public License is available at
* <http://www.gnu.org/licenses/>.
*/
%{
#include <stdio.h>
%}
DIGIT [0-9]
NUMBER {DIGIT}+
REAL {DIGIT}*"."{DIGIT}+
TEXT [a-zA-Z ]+
TEXT_NUMBERS [a-zA-Z0-9]
CONDITIONALS "if"|"else"|"else if"|"switch"|"case"
KEYWORD "break"|"continue"|"goto"|"printf"|"scanf"|"sprintf"|"sscanf"|"fopen"|"fwrite"|"fread"|"fclose"|"write"|"read"|"open"|"close"|"return"|"int"|"float"|"char"|"unsigned"|"signed"|"short"|"long"|"double"
ITERATORS "for"|"while"|"do"
PREPROCESSOR "#"|"#line"|"#undef"|"#error"|"#elif"|"#else"|"#endif"|"#if"|"#define"|"#include"|"#pragma"|"#ifndef"|"#ifdef"
DELIMITER [; : ()"]
IDENTIFIER [a-zA-Z]{TEXT_NUMBERS}*|[a-zA-Z]{TEXT_NUMBERS}*[[{NUMBER}+]]
NON_IDENTIFIER {NUMBER}+[A-Za-z]+
FORMAT_SPECIFIER "%"{TEXT_NUMBERS}+
FILE "<"{IDENTIFIER}.h">"
COMMENT "/*"[a-zA-Z0-9 ;.~!@#$%^&*()_+=<>?:"{}]*"*/"
AOPERATOR "+"|"-"|"*"|"/"|"="
BLOCK_BEGINS "{"
BLOCK_ENDS "}"
UNARY "++"|"--"
LOPERATOR "&"|"|"|"&&"|"~"|"||"|">"|"<"|">="|"<="|"=="
FUNCTION {IDENTIFIER}+"("{DELIMITER}*{TEXT}{TEXT_NUMBERS}*{DELIMITER}*")"
%%
{CONDITIONALS} { printf("%s is a conditional ", yytext); }
{ITERATORS} { printf("%s is an iterator ", yytext); }
{DIGIT} { printf("%s is a digit ", yytext); }
{NUMBER} { printf("%s is a number ", yytext); }
{REAL} { printf("%s is a real number ", yytext); }
{PREPROCESSOR} { printf("%s is a preprocessor directive ", yytext); }
{DELIMITER} { printf("%s is a delimiter ", yytext); }
{KEYWORD} { printf("%s is a keyword ", yytext); }
{NON_IDENTIFIER} {printf("Could not process %s", yytext); }
{IDENTIFIER} { printf("%s is an identifier ", yytext); }
{COMMENT} { printf("%s is a comment ", yytext); }
{AOPERATOR} { printf("%s is a mathematical operator ", yytext); }
{LOPERATOR} { printf("%s is a logical operator ", yytext); }
{BLOCK_BEGINS} { printf("Block begins ", yytext); }
{BLOCK_ENDS} { printf("Block ends ", yytext); }
{FILE} { printf("%s is a file ", yytext); }
{UNARY} { printf("%s is a unary operator ", yytext); }
{FUNCTION} { printf("%s is a function ", yytext); }
{FORMAT_SPECIFIER} {printf("%s is a format specifier ", yytext); }
%%
int main(int argc, char *argv[]) {
yylex();
return 0;
}
cc lex.yy.c -ll
./a.out
download file now
Wednesday, September 20, 2017
UNC basketball C B McGrath to take UNC Wilmington head coach
UNC basketball C B McGrath to take UNC Wilmington head coach
Elite Eight: UNC survives against Kentucky
Before the Tar Heels play Oregon in the Final Four, news has broken out that North Carolina will be losing one of their coaches for the 2017 season. Just like the football team has lost several of their staff in the offseason, the basketball team will soon be without assistant coach C.B. McGrath. The long-time coach is reportedly in agreement to be the next head coach of the UNC Wilmington Seahawks.
McGrath has gone everywhere Roy Williams has gone for the last 20 years. After playing under Williams for Kansas from 1994-1998, he joined the coaching staff there through the 2003 season. When Roy Williams was hired by North Carolina, he made the leap to Chapel Hill alongside his former coach.
This move became possible after NC State fired head coach Matt Gottfried after six seasons without much hope in sight for the program. UNC Wilmington head coach Kevin Keatts was hire to fill the vacancy earlier this month. Now McGrath is shifting over to replace Keatts.
In his time with UNC, McGrath has assisted in recruiting and scouting, while also providing bench coaching duties. He oversaw the teams coaches clinic and the autographed basketball program, which supported local charities. McGrath was a big part of Carolina basketball, and he will certainly be missed.
Not only will North Carolina be losing a strong coach, but they have lost one of their best recruiters. McGrath built himself a reputation as a strong recruiter after working with stars like Marcus Paige, Brice Johnson, Joel Berry, Kennedy Meeks, and Isaiah Hicks. He also helped to bring in guys like Luke Maye and Seventh Woods, who have bright futures ahead of them.
This is probably not the greatest time for the news to come out, since the team is in the middle of a run at the National Championship. The players will have to look past something like this, which can create unwanted distractions, in order to overcome the Ducks and whoever they might face next.
Source: http://www.tarheelblog.com/unc-tar-heels-basketball/2017/4/1/15142134/unc-tar-heels-basketball-c-b-mcgrath-wilmington-head-coach-job
download file now
Saturday, September 2, 2017
Turbo C For Windows 7 64bit 32bit
Turbo C For Windows 7 64bit 32bit
Turbo C++ For Windows 7 (64bit&32bit)

Password: khattaksoftwarezone
Download Link:
download file now
Saturday, August 26, 2017
Turbo c on ubuntu using Dosbox
Turbo c on ubuntu using Dosbox

The objective of this article is to help students to run Turbo c++ under Ubuntu (Linux) O/S.
Turbo c++ is a very widely used compiler for C and C++ in most Indian schools and colleges. Though there are many other compilers like Eclipse CPP (not to be confused for Eclipse IDE for Java), CINT etc.. available for free and offer better useful and interesting IDE features, many schools and colleges are still using Turbo c++ which is an outdated compiler. As students are never exposed to such new technology updates, they are not confident in using latest C++ compilers.
The reason why Turbo C++ cannot run under Ubuntu is because turbo C++ is built for DOS. But there is a way of doing it. The solution to this problem is using Dosbox, which is a DOS emulator for Linux O/S. Dosbox has a repution of being very light and stable emulator for DOS based programs and was developed with the intension of using it to emulate DOS games and programs on linux systems.
You may be wondering why I chose Dosbox instead of WINE, well thats because wine cannot handle dos programs like Turbo C++, and in my experience wine is heavy on the system as it is basically meant for Windows based programs.
Steps to get it going
Step 1) INSTALLATION
Run this command in terminal(Ctrl+Alt+T):
code:
sudo apt-get install dosbox
Once your done installing Dosbox you will now need the turbo C++ installation file which can be downloaded from here(download).
Now open up Dosbox and Type in the below code (in separate lines):
Code:
mount c ~
c:
cd setup
install.exe 
This will start the setup of Turbo C++.

Here choose the destination drive as c and source path as setup in the next window.


Select "Start Installation" in the below window.

Turbo C++ is now installed on Dosbox. You may consider checking it by executing the following code on Dosbox (in separate lines):
c:
cd TC in
tc.exe
Step 2) Creating the configuration file

Run this command in DOSBOX to generate the configuration file which will be stored as: /home/user-name/dosbox.conf.
Ensure you enter your system user-name in place of "your-username" in the below code:
code:
config -writeconf /home/your-username/dosbox.conf Step 3) Creating auto-mount and emulating in fullscreen.

Open dosbox.conf that we created earlier in any text editor, which you will find it under home/your-username, and configure DOSBOX for auto-mount.

Add the following lines at the end of the configuration file as shown in the above highlight.
code:
mount c ~ /home/your-username/
C:
CD TC
CD BINNow to set the default screen size to full-screen, find the word fullscreen in the same file (dosbox.conf) and change its value to true:

Now you are done setting up the configuration file for Dosbox to auto-mount and emulate in fullscreen. Save the file and close it.
Step 4) Deleting Ctrl+F9 key to avoid shutdown of Dosbox
And in the end you will have to delete a key from the Dosbox keymapper : Ctrl+F9
Since Ctrl+F9 is a Shutdown key in Dosbox you may feel very irritated with it, as the same key is used to compile a program in Turbo C++.
To work-around this issue, open dosbox and hold Ctrl+F1. Now in the window, select the shutdown option on the right hand side bottom, click on delete and then save and exit. This should remove the keymap to Shutdown DOSBOX.

Step 5) Creating Launcher
To make things more convenient, we will create a launcher so that you can run your compiler just by double clicking on it. Heres how you can do it:
Right click on the desktop and select create launcher.
Name: Turbo c++
command: dosbox -c TC.EXE -c EXIT
Update: For creating launchers on Ubuntu 11.10 follow this post

and now its all set for you to enjoy Turbo C++ on Ubuntu.
Note: Since we have set Dosbox to open in fullscreen you may consider the Alt+Enter key to use it under seamless mode .
If you have any trouble on the installation procedures contact me on www.facebook.com/solancer
download file now
Saturday, August 19, 2017
Turbo C 4 5 Version Free Full Download
Turbo C 4 5 Version Free Full Download

Information:
Turbo C++ is a legendary name when it comes to C++ compilers, one of the most popular C language compiler and integrated development environment from Borland, the name is still in-demand for educational purposes in schools and colleges. The original Turbo C++ product line was put on hold after 1994, Turbo C++ is now succeeded by C++Builder but if you are looking for the old-is-gold earlier version we have digged out the legacy software which is fine-tuned and modded to work with newer Windows 7, Vista and XP computers which lack the native MS-DOS support required by the software to work.Borland Turbo C++ Running Successfully On Windows 7




download file now
Wednesday, August 16, 2017
Turbo C Free Download for Windows 7 and Windows 8
Turbo C Free Download for Windows 7 and Windows 8


Turbo C++ (pronounced �see plus plus�) is a statically typed, free-form, multi-paradigm, compiled, general purpose programming language. It is regarded as an intermediate-level language, as it comprises both high-level and low-level language features. Developed by Bjarne Stroustrup starting in 1979 at Bell Labs, C++ was originally named C with Classes, adding object oriented features, such as classes, and other enhancements to the C programming language. The language was renamed C++ in 1983, as a pun involving the increment operator.

download file now
Tuesday, August 15, 2017
Turbo C Latest Windows 7 Ready
Turbo C Latest Windows 7 Ready







download file now
Thursday, August 10, 2017
TWEAK PERFORMA KHUSUS ANDROMAX C
TWEAK PERFORMA KHUSUS ANDROMAX C
Tweaksaya buat khusus untuk Andromax C ,karena banyak banget yang ngeluh kalau Andromax C adalah Andromax yangromax Paling lelet dari Anddromax Series Lainya ,ya memang wajar karena tau sendiri dengan perkembangan Dunia semartphone Android sampai Detik ini Andromax C tergolong Seri Andromax Jadul Dengan Spesifikasi paling Rendah .

- Andromax C ICS / JB
- Rotted
- Terpasang CWM
- Download Bahanya diatas
- Masuk ke Cwm
- Wipe Cache
- Instal Zip
- Instal Tweak
- Reboot
- Finnis
download file now
Friday, February 20, 2015
Ford C Max Energi electric car
21 miles on battery (+ gas range)
5 seats
USA
Ford C-Max Energi —Market price is $31,635















