Skip to main content

Posts

Showing posts from February 6, 2012

How to install Turbo C++ on Windows 7 (C++ compiler from Borland)

How to install Turbo C++ on Windows 7 I am providing detailed procedure how to install  Turbo C++  on Windows 7. The very same procedure can be used on Win Vista. If you are running 32 bit version of Win 7. Installing Turbo C++ on Windows 7 1. Extract the zip files to: e.g. C:\TurboC 2. Run the install:                 C:\TurboC\INSTALL.EXE 3. Press Enter to continue 4.  Enter the Source drive:  e.g.C   and press Enter to continue 5. Enter the Source path:   \TURBOC    and press Enter to continue 6. In directories specify where Turbo C files are copied. E.g.  C:\TC . When done go to start instalation and press Enter 7. Succesfull instalation 8. First launch from your destination      e.g.   C:\TC\BIN\TC.EXE For Turbo C++ 3.0  setup  send me your email id on my Blog...

C Language Programs for beginners............

Simple C Programs 1. Program to Find Sum and Average of Three Real Numbers. #include<conio.h> #include<stdio.h> void main() { float a, b, c, sum, avg; clrscr(); printf("\nEnter value of three numbers: "); scanf("%f %f %f", &a, &b, &c); sum = a + b + c; avg = sum / 3; printf("\nSum = %.2f", sum); printf("\nAverage = %.2f", avg); getch(); }    2. Program to Find Area of Square and Circumference of a Circle. #include<stdio.h> #include<conio.h> #define PI 3.142 void main() { float len, r, area, circum; clrscr(); printf("\nEnter length of a square: "); scanf("%f", &len); area = len * len; printf("\nEnter radius of a circle: "); scanf("%f", &r); circum = 2 * PI * r; printf("\nArea of square = %.2f", area); printf("\nCircumference of circle = %.2f", cir

Lessons from Chak de

Lessons from Chak de.... Thoughts and Dialogue: Narayan Murthy