Business
Forum Post

Looping in background

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...
Forum Post

Re: how to read xml file using c++

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...
Forum Post

Re: Byte swapping in C

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...
Forum Post

Re: x86 Assembly Bubble Sort. Question...

Small problem in your C code: : ;public static void bubbleSort1(int[] x) { : ; int n = x.length; : ; : ; for (int pass=1; pass x) { : ; // exchange elements : ;...
Forum Post

Re: problem in C please solve it...

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,...
Forum Post

Re: interrupt knowledge

: : 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"...
Forum Post

Re: transmission of text from pc to microcontroller

: 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...
Forum Post

Help Reqd

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....
Forum Post

using 'register'

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,...
Forum Post

Re: char array comparison

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....
Forum Post

Re: help in changing cursor

: 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...
Forum Post

CPU LOAD

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...
Forum Post

Re: pointer initialization...?

: : : : : : 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...
Forum Post

Re: problem with painting to a jpanel

: 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;...
Forum Post

Re: arrays

: : 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...
Forum Post

Re: selection sort in x86

: 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...
Forum Post

Re: Problems declaring a variable

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...
Forum Post

Problems declaring a variable

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()...
Forum Post

Re: Turbo C++:Multi-threading

: 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...
Forum Post

Re: GIANT and SAND HAWK

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,...
1 2  Next
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.