thnx for the replies, I'm working on the example of Salem and it works pretty good. Maybe I need some more help later, for now I can work with this :)
Type: Posts; User: robin171
thnx for the replies, I'm working on the example of Salem and it works pretty good. Maybe I need some more help later, for now I can work with this :)
thanks!! this works.. tommorow I'll try to work this out! If I have any questions you'll hear from me again ;)
I can't get that working. The problem is the variable fields, so I want to store the data in a array, but I can't get that working. Someone got an idea ??
It just won't work :(
I tried the examples and i can print the fields, but I want to store them in variables, so i can work with them in my program.
Yacc looks suitable for my problem, but i...
I work with telnet, where 0x0A is the end of line character
I started testing and I can't get it working :(
I have made the following function:
void parse(char *line,char *output)
{
char buf[100],ch;
int i,count=0;
how can i return a array of strings ?? :confused:
I have a hardware board with a motion detector. I can read the detector with the function int pirGet(). It returns 0 or 1
I want to make a function that returns the status of the last 10 seconds. ...
Thnx for the replies!
I tried the last example, but i get an error...probably my lack of C knowledge :p
I want to make a function with a string as input and an array of fields as output.
...
You have understand me wrong i think. I develop the source code with borland C++. I have special plugins for the hardware so i can debug via telnet.
The biggest problem is the variable fields. I...
thank you very much! it works! :D
Ok i get it, i have changed it to:
sscanf(date,"%2s%2s%2s%2s",&DateTime.dcen,&DateTime.yr,&DateTime.mn,&DateTime.dy);
sscanf(time,"%2s%2s%2s",&DateTime.hr,&DateTime.min,&DateTime.sec);
...
ok now i have this:
sscanf(date,"%4s%2s%2s",*DateTime.yr,*DateTime.mn,*DateTime.dy);
sscanf(time,"%2s%2s%2s",*DateTime.hr,*DateTime.min,*DateTime.sec);
rtxSetTimeDate(&DateTime);
I get...
I have a hardware board with a 80186 proc. The time on the chip is set bij the function:
void rtxSetTimeDate(TimeDateStruct far* tds)
the struct is defined as following:
typedef struct...
- A have a hardware board with a 80186 processor.
- I communicate with the board with telnet.
- The server is a delphi program
- I have developed a protocol for the communication so I can...