Serving the Quantitative Finance Community

Search found 19 matches

  • 1
  • 2
by NewGuy
May 11th, 2006, 1:25 pm
Forum: Programming and Software Forum
Topic: c++, stl, storing datasets in memory
Replies: 17
Views: 108217

c++, stl, storing datasets in memory

<t>Cuch,I use ADO.net quite frequently using c#. Right now I think I'm going to write this project in native c++ so it's not an option, but I am going to talk to my managers b/c after some thought I don't quite see how this project I'm working on can directly be integrated with some of our applicati...
by NewGuy
May 10th, 2006, 7:07 pm
Forum: Programming and Software Forum
Topic: c++, stl, storing datasets in memory
Replies: 17
Views: 108217

c++, stl, storing datasets in memory

<t>the third party code I eventually will be intergrating my code with provides a .h file that defines a large number of structures (about 50) some of which are > 500 lines of code (the .h file is 5800 lines).Use of the api requires using these structures quite frequently hence my need to stay in na...
by NewGuy
May 10th, 2006, 6:57 pm
Forum: Programming and Software Forum
Topic: c++, stl, storing datasets in memory
Replies: 17
Views: 108217

c++, stl, storing datasets in memory

(duplicate)
by NewGuy
May 10th, 2006, 6:09 pm
Forum: Programming and Software Forum
Topic: c++, stl, storing datasets in memory
Replies: 17
Views: 108217

c++, stl, storing datasets in memory

LTrain,Maybe I'm missing something, but you keep talking about options available in the .NET framework.My program is being written in native c++ (so that it can later be integrated with intex's c api) so I can't use your suggestion.
by NewGuy
May 10th, 2006, 11:54 am
Forum: Programming and Software Forum
Topic: c++, stl, storing datasets in memory
Replies: 17
Views: 108217

c++, stl, storing datasets in memory

<t>Quote Are you sure you want to store the whole thing in memory? I mean, are you sure you don't want to use SQL for retrieval based on attributes? After all, it is what SQL is made for---which means that it will solve the problem cleanly. Does the DB access introduce a significant overhead?Luigi,T...
by NewGuy
May 9th, 2006, 8:52 pm
Forum: Programming and Software Forum
Topic: c++, stl, storing datasets in memory
Replies: 17
Views: 108217

c++, stl, storing datasets in memory

<t>I have information on home liquidations (by state), unemployment (by state), Housing price appreciation (by state, msa, and cbsa), spread at origination (SATO) (by product and FICO score), and a few other datasets for which I need to get data for each loan in a set of, in most cases, 5k-20k.Once ...
by NewGuy
May 9th, 2006, 6:20 pm
Forum: Programming and Software Forum
Topic: c++, stl, storing datasets in memory
Replies: 17
Views: 108217

c++, stl, storing datasets in memory

<t>I have a table of data in sql server that stores timeseries data for various loans. I need to retrieve a 36 month time series of data for each loan in an ABS deal. Being that there can be up to 20k loans I want to retrieve this data 1 time, store it in memory, and retrieve the corresponding time ...
by NewGuy
March 8th, 2006, 7:14 pm
Forum: Programming and Software Forum
Topic: Returning a vector<vector<double>> in VC++
Replies: 27
Views: 123263

Returning a vector<vector<double>> in VC++

<t>Quote#ifndef DATA1_H#define DATA1_H#include <vector>#include <string>using namespace std;class Data1 {private:vector<vector<double> > data_;vector< vector<double> >::const_iterator data_It;string header_;int rows_;int columns_;public:Data1(const std::string& file);double operator()(int i, int...
by NewGuy
March 7th, 2006, 10:49 pm
Forum: Programming and Software Forum
Topic: char* and strings
Replies: 5
Views: 116218

char* and strings

<t>tibbar,If you look at my code again you'll see that I wasn't trying to free the string, but rather get a copy of the const char[] (via .c_str()) contained internally. strdup uses malloc and creates a copy of the const char* and hence free is the correct usage. Please correct me if I'm wrong.NewHo...
by NewGuy
March 7th, 2006, 9:26 pm
Forum: Programming and Software Forum
Topic: char* and strings
Replies: 5
Views: 116218

char* and strings

<t>Hi,I'm creating a class for a 3rd party C api (Intex) to house some common functions we use to retrieve data Intex database for which the api provides access. Being that it is a C api, all strings are char*. I want to use strings in my class so that users will not be concerned with all of the hea...
by NewGuy
March 6th, 2006, 12:46 pm
Forum: Programming and Software Forum
Topic: c++ questions
Replies: 11
Views: 119485

c++ questions

That worked. Thank you so much.
by NewGuy
March 3rd, 2006, 2:51 pm
Forum: Programming and Software Forum
Topic: c++ questions
Replies: 11
Views: 119485

c++ questions

<t>1. If i hover my mouse over the variable or put it in the watch window in the excel vba editor then then unexpected character is displayed as a square and is inbetween each expected character. The unexpected character is 00 the null character so when I attempt to display the character or insert i...
by NewGuy
March 2nd, 2006, 6:24 pm
Forum: Programming and Software Forum
Topic: c++ questions
Replies: 11
Views: 119485

c++ questions

<t>cGetAllBondDependencies is just a call to code I wrote to extract information from a third party (Intex) C api (hence my need to program in c++). The code works in c++. I have the project set up to be a console.exe program in debug and a .dll in release so that I can test my functionality in c++ ...
by NewGuy
March 2nd, 2006, 3:42 pm
Forum: Programming and Software Forum
Topic: c++ questions
Replies: 11
Views: 119485

c++ questions

<t>Sorry that post was meant for fradiavalo.Rtougher, thanks for your input. I will look into your suggestions when I get a chance... for now I'm still focusing on getting my problem from my previous post working. Do you have any thoughts on why I'm not getting anything results for my BSTR output?Th...
by NewGuy
March 2nd, 2006, 3:39 pm
Forum: Programming and Software Forum
Topic: c++ questions
Replies: 11
Views: 119485

c++ questions

<t>rtougher,Thanks pointing out my error. I made the fix to my code. I realize I need to brush up on my c++ skills, but unfortunately I have no time to do that at work and I'm currently studying for the CFA in the evenings. I do have the "thinking in c++" series by Eckel in html format that I plan o...
  • 1
  • 2