Search:

Type: Posts; User: NogginTheNog

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    857

    something like this ? ... #define...

    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...
  2. Replies
    11
    Views
    16,430

    If your not too worried about precision, maybe...

    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...
  3. Replies
    6
    Views
    52,559

    If you get the free command-line Borland 5.5...

    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 ...
  4. Replies
    6
    Views
    52,559

    The .c file knows the name and signature(return...

    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...
  5. Replies
    18
    Views
    166,014

    Sticky: DevilPanther's link for raw sockets seems to be...

    DevilPanther's link for raw sockets seems to be down/out-of-date, Try:

    http://www.megasecurity.org/Programming/rawip.txt
  6. Replies
    6
    Views
    52,559

    Dev-C++ DLL's

    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 ...
Results 1 to 6 of 6