I'll hunt around and let you know what happens. If I can get an STL solution, I would much prefer it. I'm really glad you brought it up because I wasn't even thinking in that direction. Thanks.
palbano
I'm using VC6.
I use STL at every possibly opportunity and I am always impressed by its performance; the vector<> and map<> classes alone make it worth the trouble to learn about STL, iterators, and algorithms.
But I don't know offhand which STL classes I could use to perform file...
I have been trying to understand this problem for about 6 months.
A few years ago in the old C++ one would use <fstream.h> which had a nice little function called setbuf().
ofstream myFile("source", ios::binary);
myFile.setbuf(buffer, size);
myFile.write(massivedata, int)...
which...
Accounting for promotional factors
If you know that promotional factors influence unit sales, then you would take them into account in the design of your analysis. I might build a simple predictive model (such as a multiple regression model) with unit sales as the target variable and...
I suggest a clustering algorithm.
Each product is a row in the database. There are 12 fields in each row: the percent of annual units sold in January, February, etc. It is important that you use percent of annual units to form a common scale.
Cluster the rows into groups using the 12 fields as...
OK everyone, thanks. Yes, I've got on-board video. I'm going to see if the motherboard has a jumper to disable video. If no jumper, I'll try the Windows Device Manager. If no luck there, I'll update the BIOS.
If someone thinks that's a bad approach, let me know, otherwise, I'm going in.
thanks chaosinc for the info - I'm just a programmer, I write artificial intelligence algorithms but couldn't find my way around a motherboard if my life depended on it.
what do I need to check to find out if I have on-board video? and what docs do I need to know how to set the jumpers?
I am trying to install a 3D graphic accelerator on my computer.
I have a compaq 700 Mhz machine with no graphics card installed.
I have a brand new Phillips monitor. I installed a 3D graphic adaptor, plugged the monitor into the port in the new card, and fired up the system. When the machine...
I agree, the neural network is the best place to start. In particular, start out by learning a simple backpropagation neural network. You can search for "neural network backprop OR backpropagation code"
Don't get ahead of yourself until you master the basic backprop algorithm. There...
You might be trying to assign or delete memory that was not allocated. Or you might be failing to release memory that was allocated.
This happens when you use "delete" on an object that was never created with "new".
See if you have a "new" for every...
I don't use SQL server much, but you said it STORED the number to 4 decimal precision. I don't think that's true. It might DISPLAY at 4 decimal precision but I doubt it would store a real number that way.
When you saw the double, you saw the actual stored value of the single.
I could be wrong.
A classic text on numeric programming is "Numerical Recipes in C, second Edition" by Press, Teukolsky, Vetterling, and Flannery.
This book shows you all the major approaches to computing derivatives and integrals (plus more), and shows you the costs and benefits of each approach. If...
C++ is an excellent language, a true scientist's language. I have found the standard template library (STL) such an incredible help. A little thought about your problem in terms of STL can cut thousands of lines of code.
I am fluent programming Visual Basic too. I would NEVER recommend someone...
I'm on my way to work right now, otherwise I'd hunt out a more specific tool for you, but here is a site that contains excellent information on spiders and bots, from off-the-shelf tools to do-it-yourself projects.
http://www.botspot.com/
I've found incredible tools there.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.