something like this ? ...
#define MAXLINESIZE 128
#define MAXNUMSPERLINE 20
int nums[MAXNUMSPERLINE] = {0};
char linebuff[MAXLINESIZE];
//get your input with gets() or cin >> or whatever...
Type: Posts; User: NogginTheNog
something like this ? ...
#define MAXLINESIZE 128
#define MAXNUMSPERLINE 20
int nums[MAXNUMSPERLINE] = {0};
char linebuff[MAXLINESIZE];
//get your input with gets() or cin >> or whatever...
If your not too worried about precision, maybe consider doing a HEAD HTTP request to some server of your choice, and parsing the time from the Date: header.
I know its not NTP, but it may work for...
If you get the free command-line Borland 5.5 compiler package, it includes a utility call tdump
This will display info about exe's and dll's, including exported names
start here ...
The .c file knows the name and signature(return type & params) of your function, but hasnt loaded the dll yet. Read back in my earlier post about = LoadLibrary("your_DLL_name.dll"); and...
DevilPanther's link for raw sockets seems to be down/out-of-date, Try:
http://www.megasecurity.org/Programming/rawip.txt
open dev-cpp
File-->New Project
choose DLL and 'c or c++'
click OK
click Save in save dialog
add an include to your source file
before you exportable functions (& their prototypes) add ...