Language
Platform
License
Any
Hi there,
Tried searching for this on the forum but couldn't find anything. I have a program which simply loads a dialog box at particular times of the day, depending on the user's settings. The...
The easiest way is to use an existing library.
If you want to roll your own, essentially you need a recursive parser. Each time you hit a new tag you add a new node to the tree, then for repeats...
That's right.
For swapping a 16bit word in the fastest possible way, you'd need to use assembly. E.g. on a Motorola 68000, you could use
__asm ror.w #8, r0
However, swapping a byte like...
Small problem in your C code:
: ;public static void bubbleSort1(int[] x) {
: ; int n = x.length;
: ;
: ; for (int pass=1; pass x) {
: ; // exchange elements
: ;...
normally in digital system subtraction involve 2's complement so on this basis dont the second for loop takes more time compared the first for loop which has i++
Well, the os was not specified,...
:
: Get a book if you want to learn because the tutorials I have seen on the net are horrible for a person that has no knowledge starting out. I started out with "Assembly Language Step by Step"...
: Hi shiv,
: Its very easy.. First initialize the serial ports of the PC... Usually this is done by the OS at the time of boot up.
: You can access the port through the C with the ID of 0x3f.
: In...
I am writting a screen saver in C under DOS. For that I need to get the time when CPU becomes idle. Then I will try to lock the monitor and keyboard. But I don't know how to do it using C language....
Hello
I read that using the register directive in a declaration (for example "register int i;") tells a C compiler to try keeping the object in the CPU registers as long as possible. At one hand,...
Firstly I don't believe that an char array is usefull for storing only one char. But is you have to use it you have to make clear the number of the cell you are refering to each time you use it....
: Hi
: i'm writting an editor in Boeland c in DOS
: and want to change cursor like in DOS when the user presses the INSERT
: key.please help me
:
:
:
:
: Thank you
:
#include...
hello
Can any one tell
How to measure CPU load and performance in C/C++. Are there any systems calls/libraries to do that on Linux?
I'm trying to write a daemon that will automatically checks...
: : :
: : : It might be easier to remember but it isn't true... What about that? Well all variables are containers, because they can contain "DIFFERENT" values. Different. If it was just an object...
: You should try programming it multi-threaded instead of using a loop in your paint-method.
:
: For our true nature is sin
: Cradle of Filth
:
:
:
import java.awt.BorderLayout;...
: : i'm trying to write a program in C programing to convert octal number to decimal number using arrays. maximum digit is 6. how can i get variable arrays so the user can input values to arrays...
: hello. i need to write a selection sort program that sorts 10 user inputed numbers in descending order. the declarations are to be made in C and i got them, but the body of the program needs to be...
0 Then 'test if cell is empty
: .Cells(i, 7) = .Cells(i, 6) + .Cells(i, 5) 'Column G = Column H + Column I
: End If
: Next
: End With
: End Sub
: Sub...
0 Then 'test if cell is empty
.Cells(i, 7) = .Cells(i, 6) + .Cells(i, 5) 'Column G = Column H + Column I
End If
Next
End With
End Sub
Sub AddShapes()...
: Hi guys. Does anyone know how to write multi-threading applications in MS-DOS environment using Turbo C? For example, I would like to load the mouse function to the thread, so that it could perform...
I am sure someone has actually taken the time to write a C version (eck even a VB version) of pong. They are out there.
: : I only want the code for see how it works
:
: PONG is from 1972,...