January 3rd, 2012 09:07 AM
Haven't looked at the link but, could it be that the console is opening, the program is running, and the coonsole is closing faster than you can see? Perhaps, open the command prompt and then run the...
November 15th, 2010 01:29 PM
Try making a second for loop for the output, something similar to the following...
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
const int NUM_EMPLOYEES = 7;
November 15th, 2010 10:39 AM
Maybe this link can help.
April 29th, 2010 12:27 PM
Have you verified server operation by using a protocol analyser like WireShark?
April 23rd, 2010 04:33 PM
should really be int main() for c++ programs.
April 23rd, 2010 03:47 PM
#include <iostream>
using namespace std;
#include "serial.h"
CSerial serial;
if (serial.Open(2, 9600))
{
char* lpBuffer = new char[500];
float NumberRead = serial.ReadData(lpBuffer, 500);
April 21st, 2010 09:28 AM
You can't go wrong with Prosise.
April 20th, 2010 09:43 AM
What is it that you expect versus what you are getting?
April 16th, 2010 11:47 AM
int GetWindowText(
__in HWND hWnd,
__out LPTSTR lpString,
__in int nMaxCount
);
I guess I'm not understanding what you wrote as I don't see where the GetWindowText() function needs...
March 31st, 2010 12:25 PM
if (Num1 < Num2); // If statment processes which number is greater
Try getting rid of the semi colon in this line.
March 31st, 2010 11:21 AM
March 15th, 2010 12:00 PM
Does this mean that the do..while loop never exits?
Using the debugger and stepping through the code (in the do..while loop) should point you to the problem fairly quickly.