find hcf and lcm C program

0 comments
The code below finds highest common factor and least common multiple of two integers. HCF is also known as greatest common divisor(GCD) or greatest common factor(gcf).

#include <stdio.h>
 #include <conio.h>
int main() {
int a, b, x, y, t, gcd, lcm;

printf("Enter two integers\n");
scanf("%d%d", &x, &y);

a = x;
b = y;

while (b != 0) {
t = b;
b = a % b;
a = t;
}

gcd = a;
lcm = (x*y)/gcd;

printf("Greatest common divisor of %d and %d = %d\n", x, y, gcd);
printf("Least common multiple of %d and %d = %d\n", x, y, lcm);

return 0;
}

C program to check odd or even using bitwise operator

0 comments
#include<stdio.h>
 #include<conio.h>
main()
{
int n;

printf("Enter an integer\n");
scanf("%d",&n);

if ( n & 1 == 1 )
printf("Odd\n");
else
printf("Even\n");

return 0;
}

Shopping Management System.

0 comments
#include<stdlib.h>
#include<iostream.h>
#include<string.h>
#include<conio.h>

Library Management System

0 comments

How to Make Menu using php Array

0 comments

<?php

$menu = array(
"HOME" => "http://hackresource.blogspot.com",
"Google" => "http://www.google.com",
"PHP" => "http://hackresource.blogspot.com/search/label/PHP"
);

?>
<html>
<head>
<title>teste</title>
</head>
<body>
<a href="<?php echo $menu['HOME']; ?>" target="_blank">Home</a> <br>
<a href="<?php echo $menu['Google']; ?>" target="_blank"> Google </a><br>
<a href="<?php echo $menu['PHP']; ?>" target="_blank"> PHP </a>
</body>
</html>

target is attribute of anchor tag   specifies where to open the linked document values are:
_blank               Opens the linked document in a new window or tab
_self                  Opens the linked document in the same frame as it was clicked (this is default)
_parent             Opens the linked document in the parent frame
_top                  Opens the linked document in the full body of the window

C++ Program for CPU scheduling algorithms

3 comments
Using  C++ program for Implementatin of CPU scheduling algorithms
Please feel free to ask question about it and report the errors.please support by improving the program and share with us.thanx
  •  First Come First Serve
  •  Shortest Job First
  •  Round Robin
:: Dev c++ 4.9.9.2 used

Updated Keymail the KeyLogger

0 comments
 Keymail is a stealth (somewhat) key logger that e-mails key strokes to whoever is set in the #define options at compile time.  This code is for educational uses, it should be useful for those that want to learn more about using sockets in C and Windows key loggers. Don't be an ass hat with it, I'll only answer intelligent questions about it so don't e-mail me about the code unless it's to contribute or to ask an intelligent question. Cool thing about it, if Anti-virus apps start to detect it you should be able to just change it a little and recompile it

    White Scorpion (  http://www.white-scorpion.nl ) did the initial work on the key logger, but he has gone on to bigger and better things.  This version was crafted by Irongeek, who tacked on some code to make it send e-mails, along with a few other changes.  If some of the code is crappy, blame Irongeek and not White Scorpion. Please send Irongeek improvements and he will post the changes and give you credit for your contributions. It can be compiled with the Open Source Mingw and the Bloodshed IDE.

        Don't forget to change the e-mail options when you compile it. Also, check the SMTP log file for debugging information.
In this version (v 0.8) some Error are removed .
Note : Compile notes: I used Dev-C++  to compie this. if you get an error like:
Linker error] undefined reference to `WSAStartup@8'
Add this:
-lws2_32
to Tools->Compiler Options under the section on compile flags.

  Please feel free to ask question about it and report the errors.please support by improving the program and share with us.thanx

Keymail the KeyLogger

0 comments
 Keymail is a stealth (somewhat) key logger that e-mails key strokes to whoever is set in the #define options at compile time.  This code is for educational uses, it should be useful for those that want to learn more about using sockets in C and Windows key loggers. Don't be an ass hat with it, I'll only answer intelligent questions about it so don't e-mail me about the code unless it's to contribute or to ask an intelligent question. Cool thing about it, if Anti-virus apps start to detect it you should be able to just change it a little and recompile it

    White Scorpion (  http://www.white-scorpion.nl ) did the initial work on the key logger, but he has gone on to bigger and better things.  This version was crafted by Irongeek, who tacked on some code to make it send e-mails, along with a few other changes.  If some of the code is crappy, blame Irongeek and not White Scorpion. Please send Irongeek improvements and he will post the changes and give you credit for your contributions. It can be compiled with the Open Source Mingw and the Bloodshed IDE.

        Don't forget to change the e-mail options when you compile it. Also, check the SMTP log file for debugging information.
  Please feel free to ask question about it and report the errors.please support by improving the program and share with us.thanx

PHP & MySQL: The Missing Manual

0 comments

Integrating PHP Projects with Jenkins

0 comments

Learning PHP Design Patterns

0 comments

Programming PHP, 3rd Edition

1 comments

MongoDB and PHP

0 comments

PHP & MySQL: Novice to Ninja, 5th Edition

0 comments

Hackers Underground HandBook

0 comments

Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition

0 comments

How to Backup Opera Bookmarks

0 comments
I'm show  how to backup bookmark in  Opera .If you are not backup your Bookmarks,lost after installing  OS.

Best Free Blogger Template Of 2013

0 comments

1. Siren Blogger Template


10 reasons why PCs crash

0 comments
Fatal error: the system has become unstable or is busy," it says. "Enter to return to Windows or press Control-Alt-Delete to restart your computer. If you do this you will lose any unsaved information in all open applications."

You have just been struck by the Blue Screen of Death. Anyone who uses Mcft Windows will be familiar with this. What can you do? More importantly, how can you prevent it happening?

An Introduction to Object-Oriented Programming with Java, 5th Edition

0 comments
ISBN: 978-0-07352-330-9|Pages: 1008|English|18 MB|PDF|Author: Thomas Wu

Migration to HTML5 and CSS3 How-to

0 comments

ISBN: 978-1-84969-574-9|Pages: 55|English|4 MB|PDF

HTML5 For Dummies Quick Reference

0 comments

How to Backup a dive in Dos

0 comments
For this purpose Microsoft DOS backup command is to backup data of specific drive n their computer.
Backup syntax


BACKUP [Source:\Path\Filename] [Target:] [/s] [/m] [/a] [/d:date] [/t:time] [/f:size] [/L:LogDrive:\Path\Log]

0 comments
Delete An "undeletable" File

Open a Command Prompt window and leave it open.
Close all open programs.
Click Start, Run and enter TASKMGR.EXE
Go to the Processes tab and End Process on Explorer.exe.
Leave Task Manager open.
Go back to the Command Prompt window and change to the directory the AVI (or other undeletable file) is located in.
At the command prompt type DEL <filename> where <filename> is the file you wish to delete.
Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.
Close Task Manager.


Or you can try this

Open Notepad.exe

Click File>Save As..>

locate the folder where ur undeletable file is

Choose 'All files' from the file type box

click once on the file u wanna delete so its name appears in the 'filename' box

put a " at the start and end of the filename
(the filename should have the extension of the undeletable file so it will overwrite it)

click save,

It should ask u to overwrite the existing file, choose yes and u can delete it as normal


Here's a manual way of doing it. I'll take this off once you put into your first post zain.

1. Start
2. Run
3. Type: command
4. To move into a directory type: cd c:\*** (The stars stand for your folder)
5. If you cannot access the folder because it has spaces for example Program Files or Kazaa Lite folder you have to do the following. instead of typing in the full folder name only take the first 6 letters then put a ~ and then 1 without spaces. Example: cd c:\progra~1\kazaal~1
6. Once your in the folder the non-deletable file it in type in dir - a list will come up with everything inside.
7. Now to delete the file type in del ***.bmp, txt, jpg, avi, etc... And if the file name has spaces you would use the special 1st 6 letters followed by a ~ and a 1 rule. Example: if your file name was bad file.bmp you would type once in the specific folder thorugh command, del badfil~1.bmp and your file should be gone. Make sure to type in the correct extension.

Open Task Manager using MSDos

0 comments
 
Sometime we cann't open Task Manager Due to some reasons etc viruses  or any other error occur.
Go to Start Menu >> Run
Type In Run Cmd
Now write tasklist in MS-Dos(CMD) .

Toss Coin And Earn Money

0 comments


Bux Is a PTC site working since  January 2, 2013

Head Tail Game

Choose whether the next coin flipped return head or tail !
Place your bet and you can win 200% of your spend if your bet is right!

How to Play YouTube videos in VLC

0 comments
VLC Player is an extremely useful application for watching, recording, and streaming audio and video. And if you didn't know,how to  use it to watch your favorite YouTube videos.

3 Set To Earn with TRIDECI

0 comments
TriDeci - The Powerful Income Generation System for Everyone. No Experience or Special Skills Necessary.


Login every day to your TriDeci Back office.


Launch date set! Buy now to earn double!

0 comments
finally refban launch the date set.
Today i recieved the follow E-mail from refban.

Android Game Programming For Dummies

0 comments

Offline HTML,CSS,JavaScript Editor

0 comments
he biggest problem faced by majority of newbie bloggers and web developers is editing their templates. And the reason for this is lack of awareness with browser languages like CSS, XML, HTML, JavaScript etc. There are several websites online that have tutorials in these fields and one of such websites is www.w3schools.com This website is popular because it lets you play with the code! It has an Online HTML Editor Tool that lets you see live preview of the code that you use. Many developers find this tool pretty useful but has someone ever imagined that you can actually rip this tool out of w3schools and use it offline for practicing coding while offline? Well fortunately after some trial and error we could successfully create a similar tool entitled as “MBT HTML Editor” This is the first time all bloggers are having a chance to have fun playing with important codes like CSS, HTML and JavaScript and learn important coding in a more interesting way! Now you can actually test a code before adding them to blogger.


Web Traffic Generator

0 comments

Google Adsense Alternatives

0 comments
“Your Google Adsense account has been disabled or temporarily banned”.
So, stand up, be proactive and act professional! there’s no time to lose.
Here are some of the best Google Adsense Alternatives you can try to monetize your website without using Google Adsense, and I’ll tell you how they work and why you should consider them, so let’s start:



Make Money Online with Adf.ly

0 comments
Adf.ly is a free URL shortening service that pays you to share your links on the Internet! You get paid for every person that visits your shrinked URLs. Place your links on Facebook, Twitter, forums, personal websites and any social networking sites.

Node.js for PHP Developers

0 comments

PHP & MySQL: The Missing Manual, 2nd Edition

0 comments

PHP Application Development with NetBeans

0 comments

Refban – Making Money

0 comments
Rogue company which owns one of the oldest and most trusted pay-to-click sites Wordlinx announced launching of new making money site called refban which promises interesting innovation in making money world. What is the innovation and how much money will be members able to make?

What is Buxense?

0 comments




Buxense is a feature rich Paid-to-Click service customized to ensure a stable and secure long-term earning environment for the members as well as providing affordable and effective advertising solutions for the advertisers.

As a user, you earn money from viewing advertisements that our advertisers have purchased. You can increase your earnings by directly referring members to the site, or by renting referrals that have joined the site with no referrer. There are various advertising options available to reach our members if you are looking to advertise, and more features to benefit all of our members are planned for the future. Always stay tuned for something new!

What are the different membership benefits?


How much can I earn by referrals?

Your potential earnings depends on your membership type and the number of ads you and your referrals view on a daily basis. If you are someone who is not good at directly referring people and rents referrals instead, get a genuseeral idea of how much you can earn from your rented referrals.
 With  Standard / Pioneer  membership 
  With Golden / Ultimate membership