Search:

Type: Posts; User: maverickbu

Search: Search took 0.01 seconds; generated 3 minute(s) ago.

  1. Replies
    0
    Views
    1,220

    Resource Monitoring Library

    Anyone have suggestions on a good cross-platform resource monitoring library? Typical stuff like CPU/memory utilization, # of processes, etc... A handful of examples without even an endorsement...
  2. Creating a static library that depends on other libraries

    I'm certain this can't be the easiest way, but this is what I did:



    - created a directory for each of the libraries I needed, for example:
    - ./dep/curl, ./dep/ssl, etc...
    - copied to the...
  3. Replies
    7
    Views
    1,293

    Thanks guys, that did the trick. Sorry for the...

    Thanks guys, that did the trick. Sorry for the simple question (and the more to come I'm sure). In the past I've just fumbled around with code til I got it to worked, but now I like actually...
  4. Replies
    7
    Views
    1,293

    Proper casting

    I want to cast a chunk of binary data to an array, how do I do that? I come from a C++ background and haven't been doing this in a while. Its the array thats throwing me off. Casting as "uint8_t*"...
  5. Replies
    12
    Views
    2,769

    That's what I've always done. just wondering if...

    That's what I've always done. just wondering if there was some voodoo I wasn't aware of. Sorry bout the typo.
  6. Replies
    8
    Views
    5,742

    http://cboard.cprogramming.com/showthread.php?t=91...

    http://cboard.cprogramming.com/showthread.php?t=91184
  7. Replies
    12
    Views
    2,769

    Dynamically allocated size

    Is there a way to determine the size of an object/variable that you have dynamically allocated memory to? For example:



    int foo() {
    int x;
    return sizeof(x);
    }
  8. Replies
    4
    Views
    1,257

    Numbers with leading zeroes are handling as octal...

    Numbers with leading zeroes are handling as octal (base 8). Obviously, there is no "9" in base 8 computations. Lose the leading zeroes or handle them as something other than numbers.
  9. Replies
    1
    Views
    1,954

    Binary data handling

    I have a stream of binary data that I am pushing into structs and handling. The data sometimes, though, can contain variable length fields in between other fixed fields. I'm having trouble trying...
  10. Yep, I'd highly suggest checking out libcurl. ...

    Yep, I'd highly suggest checking out libcurl. The setup up is a little daunting, but its easy to use once you get the hang of it. Plus, it handles just about any aspect of an HTTP/HTTPS session. ...
  11. Replies
    3
    Views
    1,515

    and be sure to use delete in place os the...

    and be sure to use delete in place os the corresponding free().


    char* b = new char[l+1];
    delete [] b;
  12. Replies
    2
    Views
    1,106

    int main(int argc, char **argv) would help,...

    int main(int argc, char **argv)

    would help, where argv is an array of character arrays containing your arguments.
  13. Replies
    2
    Views
    788

    Simple #include using...

    Simple



    #include <iostream>


    using namespace std;

    int main(void)
  14. Replies
    153
    Views
    704,388

    Sticky: Computing Fundamentals with C++: Object-Oriented...

    Computing Fundamentals with C++: Object-Oriented Programming & Design. Second Edition. Rick Mercer

    Great book for getting started with C++. Doubles as a good starter and a great reference.
Results 1 to 14 of 14