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;
--->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
Sample Output
#include<stdio.h>
#include<conio.h>
//this simple program is a convertion of Lenght or Distance using do case
int main()
{
char ch;
float mm, cmtr, cm, ft, feet, inc, inch;
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);
}
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");
}
//