Search:

Type: Posts; User: jmartrican

Search: Search took 0.00 seconds.

  1. Replies
    18
    Views
    2,292

    tabstop, Thats a good point. I took a look at...

    tabstop,

    Thats a good point. I took a look at cmath and it leads to more include files. There was some implementation in the cmath file, actually a lot. I followed the included files which lead...
  2. Replies
    18
    Views
    2,292

    Mario, That is what I am trying to avoid. ...

    Mario,

    That is what I am trying to avoid.

    Ultimately I am going to create a package that will dump my_class.h and my_class.cpp in the same directory. I will then just do g++ my_main.cpp (which...
  3. Replies
    18
    Views
    2,292

    I'm using g++. I took a peek at the vector...

    I'm using g++.

    I took a peek at the vector file and it in fact is nothing more than a bunch of #include "somefile.h".... which lead to more files that eventually defined the vector class...
  4. Replies
    18
    Views
    2,292

    tabstop, When I use vectors I do not have to...

    tabstop,

    When I use vectors I do not have to deal with precompiled objects in my makefiles or on the command line. All I do is #include <vector>. All I want to do is #include "my_class.h" in...
  5. Replies
    18
    Views
    2,292

    tabstop, I follow. You are suggesting I link...

    tabstop,

    I follow. You are suggesting I link my_class.cpp with my_main.cpp at compile time. While this is fine its not really what I wanted. For example when I use <vector>, I do not have to...
  6. Replies
    18
    Views
    2,292

    bithub, Thank you for your quick response. I...

    bithub,

    Thank you for your quick response. I realize the word "call" has specific meanings so I should of used a different word. Lets say I have my_class.h and my_class.cpp files (where .h is...
  7. Replies
    18
    Views
    2,292

    headers simplified...please

    I guess this is a multi-part question. I am taking a crack at creating and using header files for custom classes. What I would like to be able to do is just call my custom header file for my custom...
  8. Replies
    5
    Views
    1,098

    MacGyver, so it could just be that the function...

    MacGyver, so it could just be that the function is returning a pointer and we are just setting the value of what the pointer is pointing to? I do not know if overloading is being done, would you be...
  9. Replies
    5
    Views
    1,098

    cpjust, Thanks for the reply. I know about...

    cpjust,

    Thanks for the reply. I know about the =operator when used in that form. In the example I pointed out, the =operator is being used with a function. For example:


    ...
  10. Replies
    5
    Views
    1,098

    how are functions that use = done?

    Hello,

    I am learning how to use the reSIProcate SIP stack and had a question about something.



    Auth auth;
    auth.scheme() = “Digest”;
    auth.param(p_nonce) = “blah”; // QuotedDataParam...
  11. Replies
    6
    Views
    4,841

    Thank you very much for all the information. You...

    Thank you very much for all the information. You are a gentleman and a scholar.
  12. Replies
    6
    Views
    4,841

    Desolation, Another question. For your vector...

    Desolation,

    Another question. For your vector of a vector suggestion, how would I utilize it, e.g. how would I store a string?
  13. Replies
    6
    Views
    4,841

    Desolation, Thank for the help. The...

    Desolation,

    Thank for the help.

    The pushback did not work though. Got the same compiler error. Here is the actual code I am using.


    vector <char **> HAND;
    while (!b_file.eof())
    ...
  14. Replies
    6
    Views
    4,841

    vector of 2d array elements?

    Hello,

    I want to make a vector of 2d arrays. How do I do that. I tried different things... like


    vector <char *> vector_x;
    vector_x.pushback(new char[13][2]);


    but that did not work.
Results 1 to 14 of 14