Is there a way to run two codes in a program at the same time. For example, I have this program that is getting information from two things....
I have the code to open a serial port using C++ but i was wondering if it would be better to send info via parallel port? Can someone please...
Thanks guys...let me start learning
Is there a way to add graphics to a program in C++ to make it look more fancy and just the boring type DOS window?
The code is working properly, but somehow I keep on getting 255 This code is suppose to get information out of the microcontroller via the...
Do you know if there is a similar code for usb ports?
ok thanks i fixed it but now i get something else: variable-sized object 'szBuff' may not be initialized
I am having a problem with step 4 Reading/Writing part can you please help me... I get this error: 'n' undeclared (first use this function)...
Thank you very much jayaraj ev...does this work with a microcontroller too... For example, lets say i programmed the microcontroller to send...
for example, if i want to use this code to open a serial port, which libraries do i use? using namespace std; int main() { HANDLE hComm; hComm =...
I am using windows xp
Is there such a code that can read serial ports or usb ports in real time? Some help please...
Lets say that there is a device connected to one of the usb ports in my computer. That device is sending numbers to my computer. I want to create...
thanks xpi0t0s...hey does the following code do the same thing? #include "windows.h" #include "time.h" #include "string.h" #include...
Hi does anyone here know how to read from a serial port using c++? I just got this got from the internet but it doesnt work: CSerial serial;...
Thanks it works, is this the right code to use? #include <stdio.h> #include <iostream> #include <fstream> using namespace std; int...
Thanks oogabooga, hey now lets say that I dont create the file "aplus.txt". Is it the same procedure if I want to scan another file that already...
Ok, I have this code using fscanf, basically what I want to do is to send lets say a string "y = " followed by a number. Then I close the file...
Yes you are right, I am trying to write data to a text file that could subsequently be read in notepad.
Can someone please help me with this code... I am trying to send info to notepad when I click a mouse button. LRESULT CALLBACK WndProc(HWND...
Separate names with a comma.