devxlogo

Tip Bank

Cancel a Pending Print Job

In the tip, “Please Stop Printing!” [“101 Tech Tips for VB Developers,” Supplement to the August 1997 issue of VBPJ, page 13], the code works fine with one exception. If

C/C++ Linking

Question: If I make a C++ library and supply it to a clientwho does not have a C++ compiler, can theycall my C++ functions from their C routines?That is, is

Making a file circular

Question: I want to make a log file circular using C++ I/O manipulation. I am new to C++ and come from a C background. To me stream I/O is completely

Windows sound programming.

Question: When writing a Windows 95 program using VC++, how do you play a MIDI sound file? Answer: Musical Instrument Digital Interface (MIDI) is a standard used by electronic keyboards

Difference between C++ and HTML

Question: What are the main differences between C++ and HTML? If I can use HTML, how hard will it be for me to use C++? Answer: For the most part,

Right shift

Question: Can you tell me how to write a program that right-shifts an integer variable 4 bits? The program should print the integer in bits before and after the shift