|
C++ Compiler Trap,
Indeterminism in function argument evaluation
|
Total Hit (5948) |
«code LangId=1»int i=0;
printf("%d %d %d %d", i++, i==1, i, ++i);«/code»
Its giving this output:
On Sun Solaris 8:
0 1 2 2
On Linux:
1 1 1 1
On Windows:
0 1 1 2
Some thoughts:
Incr/decr ops have side effect so arg list values are undefined in this case. It's an excellent example of
....Read More |
Rating
|
|
|
How to auto refresh page
|
Total Hit (7479) |
Here is the script to refresh page automatically at certain interval
«code LangId=4»
<html>
<HEAD>
<script type="text/javascript">
<!-- Begin
/*
Because this is a true refresh, you might want to put a
notice on the page that it refreshes every "X" minutes */
function reFresh()
....Read More |
Rating
|
|
|
Javascript : Show/Hide table rows, Mouse over effect and more
|
Total Hit (7657) |
This snippet will show you how to show/hide elements like Table, Row, Cell, Span, Div ... using a very simple trick
- Create a new test file and name it Test.htm
- Copy/Paste the following code to test.htm
- you will need 2 sample images show.gif and hide.gif in order to test this code. Place b
....Read More |
Rating
|
|
|
58 C++ Programs
|
Total Hit (6686) |
This code contains «big»«b»58 C++ useful Programs«/b»«/big». 58c++Progs is for those who are interested in learning almost all features of C++. It will be interested by one who wan't to master the code...This is a product of «a href='http://www.vivekpatel.cjb.net '»www.vivekpatel.cjb.net «b»«/b»«/a»
....Read More |
Rating
|
|
|
Inventory management system
|
Total Hit (5799) |
«big»«b»This software is designed to manage your inventory system, with a facility of adding, modifying, deleting, viewing, searching, and analyzing a item stored in an inventory. This all functionality is very well comprised using Graphics Outlet for user to go on with it!!!«/b»«/big»
....Read More |
Rating
|
|
|
Weather Reporting System
|
Total Hit (5307) |
«big»«b»This software is designed to facilitates user to maintain weather report records, analyse, view's in different format including histogram chart representation. «/b»«/big»
|
Rating
|
|
|
Graphically Explanation of DATA FILE STRUCTURE
|
Total Hit (5752) |
«big»«b»This Software was designed to give user an graphical environment to learn DFS funda's in due course of time. This software helps faculties by giving graphical view to student to master the working and importance of Data-Structure. Student can then be helped by this software by viewing graphi
....Read More |
Rating
|
|
|
|
RC4 Implementation in java
|
Total Hit (17912) |
This code will help you to use RC4 in java. you dont require javax.sec.. blah blah.. Just compile and run
Remember the crypt routine here changes the argument input. You can easily use this code for file encrytpion also.
For file encr./decr. just open file and get the input/output stream, then
....Read More |
Rating
|
|
|
Easy image conversion
|
Total Hit (5748) |
This java application will help to convert any image (bmp,jpg,gif,png...) to any (jpg,gif,bmp,png).
How to run!!!!
1. Compile ConvertImage.java file (the source code is listed with this article
2. Modify class path to include com.zip OR use -djava.class.path directive
3. Run ConvertImage as
....Read More |
Rating
|
|
|
|
|
How to restore default group policy on workstation or server
|
Total Hit (5529) |
To restore default group policies for workstation or server try the following commands
For Workstation (i.e XP) Try the following command at the command prompt
«code LangId=14»secedit /configure /DB secedit.sdb /CFG %systemroot%\inf\defltwk.inf /log >secedit.log /verbose«/code»
For Server (
....Read More |
Rating
|
|
|
|
|
|
Interfacing Example - 16 Character x 2 Line LCD
|
Total Hit (3669) |
This is the first interfacing example for the Parallel Port. We will start with something simple. This example doesn't use the Bi-directional feature found on newer ports, thus it should work with most, if no all Parallel Ports. It however doesn't show the use of the Status Port as an input. So what
....Read More |
Rating
|
|
|
|
Interfacing the Standard Parallel Port
|
Total Hit (3400) |
The Parallel Port is the most commonly used port for interfacing home made projects. This port will allow the input of up to 9 bits or the output of 12 bits at any one given time, thus requiring minimal external circuitry to implement many simpler tasks. The port is composed of 4 control lines, 5 st
....Read More |
Rating
|
|
|
|
Tigra Menu v2.0 (Free)
|
Total Hit (3137) |
Tigra Menu is free JavaScript menu navigation component for web sites. This is the script thousands of webmasters around the world have chosen for its great feature set, flexibility and performance. Tons of support materials including cross-patform visual builder offered free of charge. No matter i
....Read More |
Rating
|
|
|
|
|
|