I need source code (or a reference to it)in Visual C++ 4.0,or UNIX C, or Think Pascal for a checkers game where only 2 humans play against each other. It must employ intuitive Graphical User I...
I am writing a programs to control the modem through the serial ports. I
am using the functions bioscom to try to send and receive from modem
(serial ports). I am successfully send data to the...
Hello, I am having trouble converting this function to assembly because i barely know assembly, so i need some help. Below is the C function(bout 20 lines) and after that is what i have start...
I believe that there is a ISO standard on the coding convention used in C. e.g
void fn() {
}
The braces appears after the formal parameter list.
Where can I find such documentations in t...
I am having a bit of trouble using serial communications with C. I am using a Dell XM590 90Mhz with NT4 server and VC++ compiler. Although I am using the C++ compiler, I am writing in gener...
Hi there,
I am currently writing a 16-bit DOS based program in Borland C Version 5.02. Development is done under Windows 95. The C model is Large.
I am writing a program that runs the follo...
Is there a function in Microsoft Visual C/C++ 4.2 that will open a file if I send it:
\\SERVER\VOLUME\DIRECTORY\FILENAME
I am in the process of trying CreateFile, but it doesn't look like th...
using an incedence matrix to represent a graph, and using the Depth First Search algorithm, how does one code
the Depth First Search function to do this.
pseudo code for DFS function:
DFS(...
I am going to have to quicksort through a list of transaction codes (strings) putting them in ascending order...I want to know how you can do this as the version of the quicksort algorithm tha...
a function be declared , for example,
void slhc_free __ARGS((struct slcompress *comp));
what dose the mean?
the primary disadvantage of the programming language c
What's the appropriate way to enable/disable some controls in the captionbar of a window (eg disable minimize-menu, disable close-menu, etc)?
I am working on graphics in turbo C .I need a source code
that converts BMP files to JPEG and vice versa.
How can I call a dosprogramm that runs in the background, no dosbox. And how can I run an other Windowsprogram modal? cheers
I wanna know a inverse of the mktime compatible with UNIX and Win32
Hello
I have an image file (binary format). I want to write a C program that does the following:
1) I need to read this image in binary.
2) Then I want to make some processings(do some ca...
Does anyone know how to set the timeout when doing a Windows Socket connect()?
I can set the timeout on send() or recv() by calling select() first, but you need to be connected before select...
Hi,
How can I use C to write a program that can perform polynomial division? Is it possible to use matrix form?
The degree of the polynomial is around 728!!
Thanks
ALEX
I am currently trying to learn some good asm optimizing techniques for a graphics program I am running, and was wondering if there was a fast way to do what I'm doing below in ASM. (I'm sure t...
I am trying to implement the Fuzzy C Means algorithm can anyone help me with the code either in C/C++
I am writing a C program using Visual C/C++ under NT 4.0. Performance is critical.
Some basic tests indicate that sprintf() is a performance dog. Are there any other ways to format data that...
how do I use these in linux. I cannot seem to find them.
are they in a different header file. In DOS I thought they in stdio.h ?
What I need is the file format for .MEM files that clipper writes.
(note: I'm using AT&T lex)
I'm writing a shared library that lexs string input sent by external programs. Problem is, when the function is called consecutively by any instance of an external p...
Can anyone give me a function to convert a character to its hexadecimal representation which is also array of char.
ex. hex_a = ctohex( char a );