hello everyone. i'm new to this forum and it's my first time to post on an english language /i'm from poland/ forum about a problem i have.
my problem is that i have to write a console based program to communicate with an electronic device via rs232 com port. the communication has to be realized by sending bytes of information to a micro controller. and the problem is that i'm not really a great programmer and really new to vc++, so if anyone could try to explain how to do such a thing i would be most grateful: which libraries to use? weather those are standard c++ libraries or vc++ ones. which fuctions to use.
as for the structure of the program i think that it should look something like this:
run prog->close port->open port->send data->close port->exit prog.
should i mark 'header file sonly' when creating the project or 'none when asked for what database support i'm to include'? i marked header files....
what compund document support would you like to include?: none
hmmm strange..... i wanted to create a console project and it's asking me to choose if i want status bars and so on..... i don't think that's good.
i've chosen file->new->project->win32console->an aplication that supports mfc. and got a rebuild project with:
#define new DEBUG_NEW
Last edited by rafaltypiak; November 16th, 2007 at 06:07 AM.