WebServer: The computer which serves the requests from the client (webbrowser) is called webserver. WebClient: The computer from which the clients request the services (webpage) is called webClient. The application used in webclient to access the webserver is called WebServer. To make the business, internet is the best
Sunday, 31 May 2015
Tuesday, 26 May 2015
Executing C program in android mobile using terminal IDE
While studying about the android software stack . I got to know that the base is linux terminal . So I got one idea doubt if we can run the C program . Yes of course we can execute the C program in android mobile using the app
Tuesday, 19 May 2015
Fetching the data from MYSQL server using PHP prepared Statements
Generally developers use the prepared statement in order to connect to the MYSQL server in order to prevent the SQL Injections from the hackers from the user forms. Here is the code for connecting to the server and selecting the database. Here i am using the database "newsonspot".
Sunday, 17 May 2015
Buttons styling using CSS
In order to have good look for the website Cascading Style Sheets(CSS) plays very important role. Let us now discuss about the styling of the "buttons" using CSS. First, create the html file and place the following code. //index.html <html><head><title>Styling buttons using CSS</title></head> <link rel='stylesheet' href='style.css' type='text/css'/> <body><!--
Friday, 15 May 2015
Network commands in Windows Command Prompt
netstat : This is the command which lets you to get the active networks. ipconfig : This is the command which lets you to know about your ip address for each network adapter. getmac : This is the network windows command which is used to
Dealing with cookies using javascript
Hello guys, I am designing a website for project NEWSONSPOT, there i am going to use the cookies. I planned to write two default functions to set the cookies and get the cookies. Here is the two functions setCookie and readCookie. Assuming you know the basics of
Thursday, 14 May 2015
Getting the Locaiton in the web browser using JavaScript (GeoLocation)
we can get the location of the user only with the permission of the user. So when you execute the code in the browser . The browser asks the permission of the user to access his location. OK, Lets start the code ! First create the html file
Removing ShortCut Virus in USB ( pendrive )
You may observe that there is a shortcut virus in the USB in Windows OS. To remove that first mount the USB ( put the pendrive to laptop or PC ). Next run the command prompt (shortcut : windows-key + R and type cmd in the run) .
Wednesday, 13 May 2015
#define
#define is the preprocessor used to define the constants and macro definitions. #define MAX 50 This says that compiler that where ever there is MAX , the compiler replaces it with 50
Tuesday, 12 May 2015
C Preprocessor #include
Pre-Processor as the name saying these are the actions occurs before compilation. Some possible actions are including the file, defining the symbolic constant, macros. All preprocessor directives begin with #Let us first study about #include #include is used to include the files, generally header files.#include<studio.h> is the statement which
Factorial of the number
#include<studio.h> void main() { int num,sum=1; Printf ("Enter the number:"); scanf("%d",&num); While(num--!=0) sum*=num; printf("factorial is %d",sum); }
Monday, 11 May 2015
Reverse of a Number
Reversing of the number #include<stdio.h> #include<conio.h> void main() { int a,r,sum=1; printf("enter the number"); scanf("%d",&a); while(a!=0) { r=a%10; sum=sum*10+r; a=a/10; } printf("the reverse number is %d ",sum); getch(); }
Sunday, 10 May 2015
Hello World C Program
Here goes my first post, letting you to know about C basics. Let's write the basic C programm to print "hello world" #include<studio. h> /* includes standard input/output library */ void main() { Printf("hello world"); }
Subscribe to:
Posts (Atom)