Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


Bitwise example 1
 

 

 

Using the multi led circuit we can now show how bitwise operators work a bit easier know .

Source code

#include <conio.h>
#include <stdio.h>
#include <stdlib.h>

int main()
{
int i;
for(i=1;i<=7;i++)
{
_outp(0x378,0x01 << i);
_sleep(1000);
}
return 0;
}

Description

In the example we show the usage of one of the bitwise operators in C .

This example was compiled in Visual C++ but should work in LCC Win 32 and Dev C++ .

Download

bitwise1.txt

 

 

 

 

 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Fibonacci Value(ASP)
Ban a user based on IP address(ASP)
This program deletes a folder(VB)
writing on the desktop(VB)
filesystem(vb)
shutdown windows 200(VB)
VBScript supported(ASP.net)
change computer name(Visual Basic)

    




Copyright © 2003 by programmershelp.co.uk