17 Unanswered Topics
Remove Filter Hi all, I have started a wiki that I hope to make the "unofficial Daniweb wiki". Its mission is to present short, compilable answers to many commonly asked questions here on the forum. [url]http://programmingexamples.net[/url] I have seeded it with a handful of c++ examples, but I'm hoping that some of … | |
Hi all, I have started a wiki that I hope to make the "unofficial Daniweb wiki". Its mission is to present short, compilable answers to many commonly asked questions here on the forum. [url]http://programmingexamples.net[/url] I have seeded it with a handful of c++ examples, but I'm hoping that some of … | |
I am trying to rally some troops to make some additions to WikiVersity - anyone interested? [url]http://www.pledgebank.com/openeducation[/url] Dave | |
Any Drupal users out there?? I have created several articles ("Article1", "Article2", etc) and I want to display them on the page called "Projects". Someone told me to look at "views". I went to "structure->views" and there are a bunch of options such as "archive", "backlinks", "comments", etc. but I … | |
I posted this a while ago: [url]http://www.daniweb.com/forums/thread287028.html[/url] Since there were not many replies, I'm assuming something like this doesn't exist? Maybe DaniWeb would like to start one? Just a thought. Dave | |
If I go to: view -> arrange by -> current view -> customize current view -> other settings I can change the "row font" size for the current folder. If I have 100 folders and I want to change the font size for the messages in all of them, you … | |
Is there a "correct" way to draw a line betwee the header and body of a document in word 2007? I've been using a Shapes->Lines line, but it seems silly because there is no way to center it, etc. Any ideas? Thanks, Dave | |
When someone sends a very high resolution image to an account that is received by Outlook 2003, the behavior is to show you the image at its correct resolution, which sometimes only lets you see a very small part of it. Is there a way to set the client to … | |
I have to call this many times: [code] MyScript.py --top='?_0.png' [/code] where the 0 should be replaced with 0, 1, 2, 3, etc I tried this: [code] for i in {0..3}; do echo MyScript.py --top="'?_${i}.png'"; MyScript.py --top="'?_${i}.png'"; done; [/code] It seems to make the command look correct (ie the single … | |
I was using a library recently and I was getting a "undefined reference" linker error when I tried to call a template function with a type that they did not plan on me using. I asked on the mailing list and they said to call [code] VSL_VECTOR_IO_INSTANTIATE(vnl_matrix_fixed<double,3,3>); [/code] I guess … | |
Is pthreads still the way to go to detach a process from the main thread in linux? It seems seems kind of convoluted/old/c-style from looking at some examples - is there a more "c++" way? Thanks, Dave | |
I've seen a few questions about this floating around here (mostly from me :) ) but I finally got this is into a nice working form - maybe it will be useful for someone. It is called like this: [code] void TestParallelSort() { vector<double> Numbers; Numbers.push_back(3.4); Numbers.push_back(4.5); Numbers.push_back(1.2); vector<string> Names; … | |
I have two functions: GetDayTime and GetLunchTime. From some places in the program, all I have is the associate name and a date and I want to determine these quantities. So I just query the database inside the function: [code] Public Function CalculateLunchTime(ByVal DateToCalculate As DateTime) As Double Dim daEvent … | |
I have a program with about 20 forms, almost all of which use the data from a tables in a dataset (from a datasource I added to the project). So I have made a global variable in a module: [code] Public TTData As New TTDataSet [/code] And a DataAdapter for … | |
I have a typed datatable that I am viewing part of with a datagridview [code] dgvData.DataSource = TTData.PunchEventTable.Select(FilterString, SortString) [/code] My question is how do I delete the row that is selected in the DataGridView from the database? If I use [code] TTData.PunchEventTable.Rows.RemoveAt(dgvData.SelectedRows(0).Index) [/code] I believe it will delete the … | |
I've spend a lot of time working on a bunch of classes (point, vector, ray, triangle, plane) etc to work with these objects and their intersections in c++. However, now that I am ready to do a full scale project with them, I am finding they are terribly slow! I've … | |
Anyone know a good package that will take a multidimensional function and find its minimum? I can't get opt++ to work under windows. My function is not analytic so the package should have numerical gradient stuff built in. I had no idea this would be so hard to find! |
The End.