codes.gif (2346 bytes)


Welcome to Code page. Here are few littele source codes for different compilers.

QUICK BASIC

CLS (Clean Screen)
Screen (Screen mode 1, 7, 9, 12, 13)
Circle(Drawing Cirlce)
Line (Drawing Line)
Input (Input)
Print (Output)
Please run compiler and press F1 to get more help.
Littele Quick basic program.
CLS
SCREEN 12
INPUT " FIRST NUMBER "; x
INPUT " SECOND NUMBER"; y
a = x + y
print ""; x; " + " ; "";y ;" = "; a

TURBO C++ (DJGPP)

#include (Includeing libraries)
Cin (Input)
Cout (Output)
IF ... THEN ... ELSE (comparison )
Please run a compiler and press Ctrl F1 to get help.
Littele C++ program.
#include <iostream.h>
int main()
{
int number1 = 1;
int number2 = 100;
int anser;
anser = number1 * number2;
cout<<"\n 1 * 100 = "<<anser;
return 0;
}


Computer Programming | Compilers | Links | Codes | About My Self


Last Update 09 . 12 . 1999
Copyrigth (c) Amin Davoudi 1999