Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements

12 Posted Topics

Member Avatar for Sugmuffen

I'm trying to implement a MiniMax algorithm with alpha/beta pruning. Totally stuck and can't see where I'm wrong. The class MiniMax contains a State and an Action. The method getAction returns an Action (supposedly the best action to take). The Game object has two methods, isTerminal returns true if the …

0
143
Member Avatar for Dmitriy78

Not sure what you're trying to achieve, but: 1. Loose the styles tags in the css-file. 2. The border property for box and TopContainer does not have an attribute such as solid or dashed.. .box { width: 300px; height: 200px; padding: 10px; border: 4px solid red; margin: 15px; } .TopContainer …

Member Avatar for donz365
0
208
Member Avatar for Kadian

Where do you get the error? Possible problems: Check your code regarding row 4, likes & dislikes might be null. Also make sure Stranger is instantiated from a class.

Member Avatar for JamesCherrill
0
164
Member Avatar for fastina hasini

Use JavaScipt. In the HEAD section in your HTML: <script src="js/nameofjavascript.js" type="text/javascript"></script> In the BODY section, place an IMG element with the name tag set to for example "slide", likte this: <img src="picture1.png" name="slide" width="800" height="200" /> Example JavaScript: var image1 = new Image() image1.src = "picture1.png" var image2 = …

Member Avatar for fastina hasini
0
174
Member Avatar for UBAB_Support

Congratulations! You're no longer a DaniWeb newbie.<br /> <br /> Your DaniWeb account has just been upgraded from newbie status and now you have the ability to take advantage of everything the community has to offer.<br /> <br /> You can now enjoy an advertisement-free DaniWeb by ticking the checkbox …

Member Avatar for UBAB_Support
0
232
Member Avatar for servent123

You have to write your own XSL-FO document, then run it through a FOP (Formatting Object Processor). For the first, check out http://www.xml.com/pub/a/2001/01/17/xsl-fo/, for the second, check out Apache FOP, https://xmlgraphics.apache.org/fop/.

Member Avatar for servent123
0
410
Member Avatar for sumas

As I understand it, you're wondering how the actual .net code looks like? You're also not specifying what database you're using, but in my example below, I'm assuming Access, database located in c:\temp.. To have the combo box populated (cboTables), I would put the following code in the forms Load …

Member Avatar for djjeavons
0
2K
Member Avatar for amc2244

The logic seems a bit weird, shouldn't it be Burning hot when the guess is within 4 numbers? Anyhow, the code (to your description): public String howClose(int guess) { if ( guess - number >= 20 ) { return "Burning Hot"; } else if ( guess - number >= 10 …

Member Avatar for Sugmuffen
0
631
Member Avatar for franceee

Make sure you're using an AD-account and configure Terminal Services profile, either manually on the user account or via Group Policy (Computer Configuration\Policies\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Profiles ). Use a path that's accessible from all servers.

Member Avatar for rubberman
0
289
Member Avatar for Hari om

Access example: Dim strConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" SQL server example (assuming SQL security is used): Dim strConnectionString = "Server=localhost;Database=databaseName;User Id=sa; Password=something;"

Member Avatar for Reverend Jim
0
101
Member Avatar for glindhot

You have to give different sets of radio buttons different name tags. For example: <input type="radio" name="Wed" value="" checked>None <br /> <input type="radio" name="Wed" value="Class 1">Computers <br /> <input type="radio" name="Wed" value="Class 2" >Physics (1st 5 weeks) <br /> <input type="radio" name="Thu" value="Class 3">Astronomy (2nd 5 weeks) <br /> <input …

Member Avatar for diafol
0
162
Member Avatar for AntonyRayan

I'll give an example, here I'm creating a text box on a web page, when the user is typing in his name, the code looks up possible entries from a text file: Text file containing names (name.txt): Aaron Anton Bert Bertrand ... First let's start with a simple web page …

Member Avatar for Sugmuffen
0
275

The End.