Friday 11 January 2013

Header file for gotoxy in C-free


Helloo friends......!!!!



This is a header file which is for in C language.

                  SOFT.H(v1.0)

Download <soft.h>

TO INSTALL this,
copy the sorce file(soft) in the following address:
"C:\Program Files\C-Free 5\mingw\include"




HOW TO USE:
include the header file in your program include soft as a header and Now you can enjoy c free.




GOTOXY
Syntax:
gotoxy(x,y);
Example:
main()
{
int a,b;
gotoxy(30,15);
cout<<"Hello friends...!!!!!\n";
}

Matrix
"this function is use to print matrix(x[no of columns],y[no of rows])(the value will be asked in the program)"
Syntax:
matrix(columns,rows);
Example:
main()
{
int a=3,b=2;
matrix(a,b);
}

MAT2
"this function print the 2X2 matrix"
Syntax:
mat2(X11,X12,X21,X22);
Example:
main()
{
mat2(1,2,3,4);
}

MAT3
"this function print the 3X3 matrix"
Syntax:
mat3(X11,X12,X13,X21,X22,X23,X31,X32,X33);
Example:
main()
{
mat2(1,2,3,4,5,6,7,8,9);
}

CLEARSCREEN
"It is use to clear the screen"
Syntax:
clrscr();





for more detail CONTACT Ehtisham ul haq(m.ahmed1192@gmail.com), I am waiting for your suggestion and valuable feedback..
Thanks!!!!!!!!!!!to Salman Saed &  Maqbool ur Rahim.

No comments:

Post a Comment