Sample Output
#include<stdio.h>
#include<conio.h>
// this program code is using variable char, the gets(), the do while statement, the char variables
// created by: boybalda46
main()
{
char name[20], course[20], school[20];// [20] maximum characters display included space
char ch;
Wednesday, August 28, 2013
Tuesday, August 27, 2013
Bayantel Wifi default password
--->type this in the address bar
http://192.168.1.1
default username "admin"
default password "bayandsl"
----> after you type this.. you can change your wifi password
by: boybalda46
http://192.168.1.1
default username "admin"
default password "bayandsl"
----> after you type this.. you can change your wifi password
by: boybalda46
Length or Distance Conversion using Turbo C
Friday, August 16, 2013
gotoxy() in dev cpp
gotoxy()
is a standard C function defined in <conio.h>, but it will not work in ANSI C compilers such as Dev-C++. However, if you insist on using console functions, you can define your own function by using member functions available in <windows.h>
To use gotoxy() in Dev-C++, #include <windows.h> and insert this snippet before the main() function:
//Defines gotoxy() for ANSI C compilers.
void gotoxy(short x, short y) {
COORD pos = {x, y};
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), pos);
}
is a standard C function defined in <conio.h>, but it will not work in ANSI C compilers such as Dev-C++. However, if you insist on using console functions, you can define your own function by using member functions available in <windows.h>
To use gotoxy() in Dev-C++, #include <windows.h> and insert this snippet before the main() function:
//Defines gotoxy() for ANSI C compilers.
void gotoxy(short x, short y) {
COORD pos = {x, y};
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), pos);
}
using clrscr() in dev cpp
Clearing screen in DEV C++ compiler :
#include<stdlib.h>
int main()
{
system("cls");
}
//Paste the following text in "C:\Dev-Cpp\include\conio.h" of your system
#include<stdio.h>
#include<stdlib.h>
void clrscr()
{
system("cls");
}
#include<stdlib.h>
int main()
{
system("cls");
}
//Paste the following text in "C:\Dev-Cpp\include\conio.h" of your system
#include<stdio.h>
#include<stdlib.h>
void clrscr()
{
system("cls");
}
Subscribe to:
Posts (Atom)