Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~901 People Reached
Favorite Forums
Favorite Tags
c++ x 15
Member Avatar for Kerlix

Basically, how would one take this code (written for a parallel port) and change it to make it work with a serial port? [CODE]#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/io.h> #define base 0x378 /* /dev/lp0 */ main(int argc, char **argv) { int value; if (argc!=2) printf("Enter a number between …

Member Avatar for nezachem
0
146
Member Avatar for Kerlix

I've found a simple timer program and it seems to work (for the most part). The problem is that certain cout functions aren't showing up. The timer originally didn't include milliseconds in the code, so I added them myself (which could be the problem) based on the code for the …

Member Avatar for Kerlix
0
286
Member Avatar for Kerlix

I'm using VS 2010 and I always get multiple error messages: '<<': no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion). I get that for lines 36 and 52. Then I get "Intellisense: no operator "<<" matches these operands for lines 36 …

Member Avatar for Caligulaminus
0
297
Member Avatar for Kerlix

Basically, I want to create a countdown timer. Which isn't hard. It's all over the web. BUT I would like to know how and what I would need for, when the timer reaches zero, the code commands a relay to close, allowing voltage to flow to something. Also, presetting the …

Member Avatar for Kerlix
0
172