I've got an array of bytes, in BCD format (Binary Coded Decimal?), and would like to know if there is an easy way to decode the data - convert it to a character string.
I'm giving this alot o...
I am trying to get the MYSQL driver plugin to work with my application but am unable to get the plugin to load. I have so far downloaded the MySql 4 includes and libraries, modified the librar...
Does anybody know how to change file attributes such as time created/modified/accessed and hidden/system/read-only/archive? I know how to access them using
long hFile = _findfirst( DirSpec, &...
Hi,
I'm trying to register my dll and i get the above error message.
The dll name and path are spelled correctly, and when I open the dll with "depends", there is no other missing dll that m...
here is my code as it is right now.
//--------------------------------------------------------------------------
// This program will read the values of 3 sides and determine if they are a...
Hi,
i am keeping getting this error:
Debug Error !
Program : myfile.EXE
Module :
File : i386\chkesp.c
Line : 42
The value of ESP was not properly saved across a function call. This ...
Can anybody help me by providing me with visual c++ socket programming client and server sample for windows platform?
Thank you very much
Hi,
I tried to compile and link my files and kept on getting this error. Is this caused by incorrect LIB file being used? I am trying to write a Win32 console application. Do I inlucde the LI...
Please i am having problems implementing a list of structs. This is my code.
//---------------------------------------------------------------------------
#include <vcl.h>
#include <list....
Hello Experts,
I am having a real dilly of a pickle here with implementing this algorithm. I understand the basic concept on how it tries to find the shortest path from point a to c with t...
Hi All:
I have to implement a circular queue of integers of user-specified size using a simple array. Provide routines to initialize(), enqueue() and dequeue() the queue. Please suggest ide...
hi,
I need to define an array of bits(I don't know how), and to access a specific poisition in the array ( by the index ) and set there a value(0/1)
In addition ,it need to be during runtim...
If i do
hConsole = FindWindow(NULL, L"ANY STRING");
the code compiles, but if i want to put a variable in place of "ANY STRING", my code does not compile!
Error: cannot convert para...
Im trying to write code that will take a decimal and convert it to it's 2's complement. Ive been trying to figure it out but i can only get it to working using the functions as void, not strin...
Background: Implement binary trees: creating tree nodes, growing a tree by attaching trees to a node, counting the nodes of a tree.
Problem: I've having trouble trying to code the btree.cpp...
Can anyone recommend the best way to copy or move file folders programatically using MFC C++? Is it better to use a DOS BATCH file and call it from a C++ MFC program or are there either C++ o...
Is there any way to change the color of the cout statements, or cin for that matter?
I thought I knew how to use such a Start/Run command line input, but I'm having problems. What is the proper input line for this;
I've tried this:
"C:\Documents and Settings\My Documents\Vi...
I need homework help in writing a program that will generate a histogram from a quiz scores ranging from 0-5. I need to use an array to hold counters for how many times each of the six scores ...
I have a char array, id[15], that I read in from the user's input on the console using cin >> id, and I need to change this into a LPCWSTR. I need the cin to go into the char array because I ...
Ok experts, i'm stuck with this:
1. The code between *** 1 ***, works fine, but input.c_str() only converts to const char*,
i'm just curious! Is there a way i can make it convert to char*?...
I am reading some code off programming books and I am not sure about the details of what are the differences between:
enum MyEnum {EnumValue1, EnumValue2, EnumValue3};
MyEnum myEnumeration...
Is there existing functionality in C++ to create two vectors (the mathematical definition) and then do things like the scalar (dot) product and the vector (cross) product? I want to define v1...
I want to "count << x" in currency format. For example, if the number is 1200.543, it will display as $1,200.54, 1,200.54 or 1200.54.
How to force specific DLL unloading programmatically ?
(i don't want to tweak the registry in order to bypass explorer dll cache system)
Or do you know a software that would do that for me...