If I recall correctly, Trig is high school level mathematics which does not make it advanced by today's standards.
cjengler
Posts
-
Is this a simple algorithm? -
acm problem: firenetI agree with you totally on the number of queens that could be placed on this board due to wall constraints, this is why I suggested a modified version of n queens. The wall constraints could easily be taken into account and still allow for the same "Basic" n queens algorithm to function correctly.
-
acm problem: firenetThis appears to me to be a simple modification of the n-queens problem. Placing n queens on a board such that no queen can capture any other queen. I would persue this line of thought with a google search on the n-queens problem.
-
data mining algorithmsTake a look at http://www.autonlab.org/tutorials/[^]
-
data mining algorithmsTo do what? There are a multitude of data mining algorithms each offering benifits in specific areas. You need to be more specific about what you are trying to accomplish.
-
Reading text file problem with casting to doubleThis error tells me that the string that you are passing in to be converted contains something other than numbers and a decimal point. For example if you pass in "A32.41" the conversion to double will fail. If you pass in "36.42" the coversion will pass. Look to see what the actual string is when you call the convert function.
-
Reading text file problem with casting to doubleReplace: y = (double)(lstChars.ToString()); //error with: y = Convert.ToDouble(lstChars.ToString()); You are attempting to perform a cast that is not implicit. You need to use the ConvertTo function to handle this type of cast. Also, if the string does not represent a double or has characters in it that would not be used to represent a double the cast will fail.
-
(220v Relay), please helpI use something like this for control of Christmas lights. http://www.herbach.com/Merchant2/merchant.mv?Screen=PROD&Store_Code=HAR&Product_Code=TM03RLY4706&Category_Code=RLY[relay]
-
DLL ProblemsThanks for the help. We have solved the problem. It was an internal security issue. Thanks again
-
DLL ProblemsI am trying to develop a C# library that will be used by other class libraries in our orginization. I am have great difficulties in getting our other class libraries to be able to call methods of this library. We can create an instance of the public classes in my library but are unable to call any of the public methods or properties (even static ones) of that instance. Can anyone make a suggestion as to what I am missing here?
-
Resizing an asp:tableI currently have an asp:table on my form. I have been asked to make it act like a splitter would in that you can grab the border and drag it to the size you wish. Is there a way to do this with tables or should I look at revamping the app to include a splitter?
-
c# program using a barcode scannerIf you get a Keyboard wedge barcode scanner then when you scan an item the barcode numbers are simply outputed to the textbox (or other control) that has current focus. With the keyboard wedge there is no need for any specific software or drivers.
-
C# ProjectWhat I did for my final projects was go to different departments through out the campus to discover what they needed written and then selected from that list. In the end I wrote a complete point of sale system for the bookstore. I had 9 months to work on this though so you may need to scale back based upon your skill set and time available. Hope this helps
-
help me about insertseferi wrote: string ins = "INSERT INTO tabela(Column1,Column2,Column3,Columns4)VALUES ("+ "'"+ this.txtColumn1.Text + "'" + ","+ "'" + this.txtColumn2.Text + "'" + "," + "'" + this.txtColumn3.Text + "'" + "," + "'" + this.txtColumns4.Text + ")"; Your first problem comes after your this.txtColumns4.Text. You forgot the ending "'". Like I said, that is your first problem and actually your smallest. Your biggest problem is that you are open for Sql Injection errors. You should really be using paramterized queries to prevent this. Please see http://www.codeproject.com/useritems/SqlWrapper.asp[this]
-
Application always on top?It may be that I just don't have enough coffee in me yet this morning but out of curiousity, if I have two apps with both set to TopMost which one actually appears on top? Guessing it would be the last one open but I may be wrong.
-
How to Solve Integration Equiation ?I am unsure as to if there is a class out there to do integration. I would suggest using Remiann sums and limits with ever increasingly small delta values. You will be able to get a close approximation for the integral. If anyone knows of calss to do differentiation and integration please comment on this. Thanks
-
Escape Single QuoteHi, Is there a simple method to place two single quotes anywhere there is a single quote so that single quotes can be inserted into a database? Currently I have been searching through each string (textbox, or what ever it may be) and manually (looking at each character in the string) replacing the single quote with two single quotes. I have also tried the Replace function but that does not appear to change the single quotes. If any one has experinced this please pass on your knowledge or point me in the right direction. Thanks Joe
-
Crystal reports Problem HElpppp MeYou need to visit the Crystal Reports website and register the version that came with your VS 2003. Then you need to read their install/use PDF. It tells you which files you need to include in your project and how to register the license to that project.
-
DropDown ButtonI am somewhat young in C# but what has worked for me is to add a context menu to the button.
-
Click outside of form detectionAt least you have a decent user name :)