Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jtm111

    C++ fstream buffering is different than it was before

    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.
  2. jtm111

    C++ fstream buffering is different than it was before

    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...
  3. jtm111

    C++ fstream buffering is different than it was before

    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(&quot;source&quot;, ios::binary); myFile.setbuf(buffer, size); myFile.write(massivedata, int)... which...
  4. jtm111

    Does Data Mining Do This?

    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...
  5. jtm111

    Does Data Mining Do This?

    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...
  6. jtm111

    trouble installing 3D graphic accelerator

    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.
  7. jtm111

    trouble installing 3D graphic accelerator

    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?
  8. jtm111

    trouble installing 3D graphic accelerator

    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...
  9. jtm111

    passing pointer of array on heap to a function

    here's a few snippets that might help: void myFunc(float *a) { a[0] = 1; a[1] = 2; ... } int main() { float *x; x = (float *)malloc(100 * sizeof(float)); myFunc(x); free(x); return 0; }
  10. jtm111

    Learning algorithms

    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 &quot;neural network backprop OR backpropagation code&quot; Don't get ahead of yourself until you master the basic backprop algorithm. There...
  11. jtm111

    memory could not be read

    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 &quot;delete&quot; on an object that was never created with &quot;new&quot;. See if you have a &quot;new&quot; for every...
  12. jtm111

    Single/Double conversion

    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.
  13. jtm111

    integration and differentiation

    A classic text on numeric programming is &quot;Numerical Recipes in C, second Edition&quot; 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...
  14. jtm111

    Slightly Off Topic - C++, Java etc - Which Way?

    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...
  15. jtm111

    How to mass download/mine historical news announcement from sites?

    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.
  16. jtm111

    DSL problem - can't detect gateway

    TheOldMan, I'd give you a dozen stars if I was able. You solved the problem, and I am posting this note from my desktop. The connection was reactivated after I issued ipconfig release_all and ipconfig renew_all. You are right about Connect and Protect too, but I was accessing the connection...
  17. jtm111

    DSL problem - can't detect gateway

    Here's what I mean &quot;detect the gateway&quot;. On 8/19 I was troubleshooting. The machine was connected via Ethernet Card so I decided to try the USB connection. To do this with Direct TV DSL, you have to run a setup program on the disk that came with the gateway they sent. I went through...
  18. jtm111

    DSL problem - can't detect gateway

    Hey thanks oldman - here is the result: /* ping localhost */ Pinging robin [127.0.0.1] with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time<10ms TTL=128 Reply from 127.0.0.1: bytes=32 time<10ms TTL=128 Reply from 127.0.0.1: bytes=32 time<10ms TTL=128 Reply from 127.0.0.1: bytes=32...
  19. jtm111

    DSL problem - can't detect gateway

    Oh yes, the desktop machine has been connected just fine for almost a year with no problem. The machine has lots of users so I can't even guess what changed.
  20. jtm111

    DSL problem - can't detect gateway

    Windows 98, Telocity (Direct TV) DSL. I verified that the gateway works, as my laptop, which I am now using, successfully connects via ethernet network card. But my desktop cannot detect the gateway. I tried ethernet and USB connection, both failed. The ethernet port on my desktop shows a...

Part and Inventory Search

Back
Top