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...
Type: Posts; User: jmartrican
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...
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...
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...
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...
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...
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...
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...
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...
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:
...
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...
Thank you very much for all the information. You are a gentleman and a scholar.
Desolation,
Another question. For your vector of a vector suggestion, how would I utilize it, e.g. how would I store a string?
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())
...
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.