401 Topics
![]() | |
Hi friends! I got one puzzle. I wonder if there is a way I can create a table but get a table name from a value of the textbox/combo box control. Does anyone have an idea? I mean something like "CREATE TABLE (TextBox1.Text) (".....)" I wonder if that is really … | |
Hello Everyone. I am making a sudoku solver for an assignment, and I ran into a problem of my 2D Integer array not updating. The input consists of a 9x9 puzzle with 0s for the missing values. I read this input and then place it into the 2D array. during … | |
Hello! I need to create a project using C#. I must think about something linked with the word puzzle. If anyone has any ideas i am here to see them. Please help me! Thanks in advance! | |
How much could I end up paying for someone to create a code for backtracking a puzzle game like Sudoku? Do I need a special hardware? How long does it take to complete the code? How long does it take to have the results? | |
Hello. My name is Alex and i'm the founder of GameDan Team, an indie game developers team. We work using the same 8 colors palette. You can take a look here : http://gamedanteam.com/ Now there are 3 projects in development : - Choco the Hunter : fixed shooter - Crazy … | |
i want to practise blood relations problems, venn diagrams, series, analogies, puzzle test, decsion making and topics resembling to them. can you suggest me a good book for these topics. they are covered under logical reasoning. please suggest the good book which you have come acrossed. thanks. | |
We have a simple query and insert using C code linking to mysql db. The issue now on itself the script works fine. But when we put to run as a cron job the select query gives empty results and when we run back on the db there is results. … | |
Dear all, This example is compleet ,but wont load the file. Can anyone help me with puzzle?hier is the code: Class ATMWindow import java.io.IOException; import javax.swing.JFrame; public class ATMWindow { /** * @param args the command line arguments */ public static void main(String[] args) { if (args.length == 0) { … | |
Hello I am making an application that will solve a puzzle for me, but before i start designing the algorithm I need to capture that region of the screen, in order to reduce the time it would take to scan the whole PrimaryScreen for the objects I am looking for. … | |
There are no time keeping mechanisms (watch, clock) in a room. There are 2 candles in the same room. Each candle when lit, has its wax completely exhausted in exactly 1 hour. How will you track the passage of 45 minutes? plzz help....:( | |
> The game of Rush Hour is played in a 6x6 grid. The goal is to drive your vehicle out of the maze as quickly as possible. You may move each vehicle one square at a time, but only in the direction (up-down or left-right) that is oriented. You may … | |
I am trying to create a checker program(for a sudoku puzzle) that will read a completed board and then go to determine if it obeys the constraints. If it does, it just says so, if it doesn't it reports the conflict. Where should I start? Thanks. | |
This was in the game development section and I think I accidently put it there (or an admin moved it, if so then next time can you let me know, thanks). So I am posting it here (java forum community is of higer quality when giving responses) , I hope … | |
I need some serious assistence with finding the solution to this problem, it has plagued me for some time now and im just not getting the big picture. I need to move the elements in a 2d array according to the user input, but the way i have figured out … | |
okay so i have this program that is basically like moving the sides to a 2 dimensional rubiks cube. for example 111 222 333 is a 3X3 two dimensional array and when coordinate (0, 1, 2 being 1, 2, 3) 1, 1 (meaning in our number system as 2, 2) … | |
Hello! I'm very new to visual basic and I'm stuck at transfering the text from one label on a form to another via a button click event I have 2 forms which I will call A and B. On form A I have a menu which when clicked brings up … | |
You have 9 horses and you have to select fastest 3. You can make a race of 3 horses in one time. So how many time you have to make a race? thanks :-) | |
Hi, I am using C++ MFC and I wouldn't exactly call myself an expert :-). What I have is a thread drawMonitor which monitors when to draw and I would like it to call DrawLines() (which is a member function in the class) to do the drawing. void drawMonitor(void *); … | |
Hi all - this is the code: package sodukupackage; import java.util.Scanner; import java.io.File; import java.io.FileNotFoundException; public class ReadSudokuValuesIntoArray { public static void main(String[] args){ int[][] sudoku = new int[9][9]; Scanner sc = null; try{ int i = 0, j = 0, count = 1; sc = new Scanner(new File("validsudoku.txt")); while … | |
I've been trying really hard to figure this one out for a while. I'm fairly certain the solution is something i'm just not getting, but then again, if I got it I wouldn't be posting here. The puzzle is simple enough: I 9 P _ 5 L 14 _ The … | |
How can I figure out where words intersect in the following? AAAA#BBBB .#.##C##H .#.##D##I .#...E.#J ##.##F##K ###..G..L '#' represents the black spots in a crossword where you cannot fill in. '.' represents the spots with missing letters that need to be filled in. I've read the puzzle into a vector<string> … | |
I wrote a server class and a client class. again i wrote 4 different JFrame class which were connected with each other and some Puzzle game codes were written on this classes. I want to add those classes with the server. and want to play those games from the client. … | |
hey guys, im trying to change a menu items color, if a user was on the members section, the member menu icon would be a different colour to the other menu items etc. initially the menu item <li> has no css class assigned to it, but once they visit a … | |
# Help me in solving this puzzle people # Interviewstreet Challenge • Challenges /Manipulative Numbers • Rank: 103 Score: 717.63 Suppose that A is a list of n numbers ( A1, A2, A3, ... , An) and B ( B1, B2, B3, .. ,Bn ) is a permutation of these … | |
![]() | Hi all, I've got a code here, as the title says it is a sudoku puzzle. It can create only one puzzle which is there hard coded. Now, the problem is how to add another puzzle? Or maybe I can turn this into a random generated puzzle which is hard … |
I have done alot of OOP for long now (with C++/Java/Python etc) but world of JS is confusing. I wanted to try it by writting Ajax library (I know there are libs but this for JS OOP familiarization) and found confusing. No class keyword et cetera. What is happening? Am … | |
Hey everybody, Lately I have written the game Hangman in many different languages (C, JavaScript, Java and PHP so far). Here is the code snippet for JavaScript! It uses a words file, on the bottom of this post you will see a small example of a few words. The source … | |
Lets Start a new game rules are really very simple... every one has to ask a question and others will try to answer. Right answer will get an UpVote... everyone will try until the puzzle gets an answer or gets more than 3 hrs old..... are you ready????? Lets start: … | |
################################# # Learning to make a game # ################################# # An attempt to make a game # Each room will be described by a class, whose base class will be Room # The user will be prompted to enter a number, each number will be assigned with a Room in … | |
I'm C newbie and i'm having a tough time with my first assignment :sad: The assignment is on creating a Number Puzzle.....apparently it's the newest craze in Toronto and my prof is a big fan....unfortunately I'm trying to read in a file which looks like this: 9,8, ,5,,4,, 7,3,1, ,5 … | |
Hi, I am trying to make 8-tiles problem in prolog but my code is not running . To be more specific when I type an action then I take false. So the new state is not printed. [CODE] move([0, Y, Z], [Y, 0, Z], right). move([X, 0, Z], [0, X, … | |
I'm trying to create a Select Distinct query, but i'm getting stuck with either an empty combobox either a filled combobox that displays all the doubles. or a message "System.Data.DataViewManagerListItemTypeDescriptor" I have a form (form5) with 1 combobox and 1 datagrid. The datagrid loads 5 collumns "ID", "firm", "Fname", "mname", … | |
Hey guys, i need help with this assignment. I am a complete beginner in java programming so i don't know how to get started in this thing. For this project, i am suppose to search for a specified word within a block of text. The word, the size of the … | |
In my program I have a hint button for a puzzle that randomly selects a textbox, populates it with a number, and changes its background color. The issue is that the hint button works correctly for the first 2 hits, but after that the previous textboxes that were colored will … | |
The puzzle The original puzzle is in Java [url]http://wouter.coekaerts.be/2012/puzzle-clowns[/url], so I tried to write it in C++ and post it here for your, so that you solve it and having some thing to think:-) There almost aren’t any rules; any cheating inside your code is allowed; it is the whole … | |
[B]On visual studio 10:[/B] I've tryed out some code and everything was fine, but when I use this line: [CODE]sf::RenderWindow App( sf::VideoMode ( 800, 600, 32 ), "Hexagon Puzzle Thing" );[/CODE] Or anything with RenderWindow I get an: Unhandled exception at 0x76adfeb8 in SFML + Box2D Project.exe: 0xC0000005: Access violation … | |
Hi everybody. I'm working on my program. And have this output storred in the object puzzle: [CODE]Puzzle is: 1 5 9 13 2 6 10 14 3 7 11 15 4 8 12 16 2 6 10 14 3 7 11 15 4 8 12 16 5 9 13 1 … | |
Here is the code for the programm. My question is why this statement in SudokuValidator doesn't work? [CODE]for (Cell[] myPuzzle : puzzle) {[/CODE] it gives me errors: [CODE] Exception in thread "main" java.lang.NullPointerException at SudokuValidator.isSolution(SudokuValidator.java:54) at SudokuValidator.main(SudokuValidator.java:27) [/CODE] [CODE]import java.util.*; public class Cell { int value; public Cell() {} // … | |
Hi everybody. I have a class Sudoku. And puzzle stores 2D array of type Cell. [CODE]public class Sudoku implements Iterable<Cell []> { private Cell [] [] puzzle;[/CODE] What I want to do is to iterate through the puzzle in different class (SudokuValidator): [CODE]public class SudokuValidator { private Sudoku puzzle;[/CODE] how … | |
Hi, I'm trying to read a file, line by line, into an arrayList, assigning a different line to each element and ensure that: 1. It's actually happening (which is the reason for the println statements) 2. that the scope of the arrayList with the string elements filled in is sufficient … | |
i want to use a* in finding the minimum steps to make the puzzle unary in color. but i don't know how. I don't even know if it is feasible. A* searches from a starting point to a destination. In this case, the flood-it game, there's no specific destination because … | |
Hi, I am doing an exercise of Head First Java Pool puzzle. I tried many times and finally got the output required but I am still not fully understand that how program produced that output. The code for Pool Puzzle is as under: [Code] class Echo { int count = … | |
Hi! I'm making a table. I originally have some names. [CODE] #include <iostream> #include <cstring> using namespace std; char passengerName[100][100]; void main() { strcpy(passengerName[1], "Peter Tam"); strcpy(passengerName[2], "David Morris"); strcpy(passengerName[3], "Susan Leung"); strcpy(passengerName[4], "Timothy Kin"); strcpy(passengerName[5], "Mary Poon"); strcpy(passengerName[6], "Pretty Godson"); strcpy(passengerName[7], "Tammy Leung"); strcpy(passengerName[8], "Hugh Boss"); strcpy(passengerName[9], "John Cheng"); … | |
Okay, so I've been working on this Inventory Program non-stop all day long. I've made massive changes to it several times and feel like I'm banging my head against the wall. And finally, I managed to make it do everything I need it to do like cycle through an inventory … | |
Hello everyone, I am working in the latest version of MinGW (downloaded 12/12/2011). I am attempting to compile a .rc file using Windres.exe. I use the command: windres -O coff about1.rc -o about1.res. Windres generates perhaps 100 or more warning messages saying "null characters ignored", and then it terminates with … ![]() | |
[COLOR="green"]10 Coins Puzzle[/COLOR] Hello Friends, I m facing problems in coding of 10 coins Puzzle. I have made it, but the process was not good enough. I think there is a recursive process to sole this problem, but i couldn't get it. Plz help me out with efficient algorithm/code. | |
Hey Guys, I found an interesting website that has a tutorial for Genetic Algorithm. Here is the article: [url]http://www.realintelligence.net/tut_genetic[/url] This is the code of its author. I can combine, but there are an errors that I can't fix it. Anyone could help me to fix this. Here is the code … | |
Hello, Ok so this is a fun assignment, but I just can't figure it out. My Python program should ask the user for a series of words, then fill in the proper places in the story using the user’s answers. We will use the [...] notation for placeholders. For example, … | |
Hi Guys, Another puzzle for someone to try and crack... I have two divs inside the <body> that basically act as two versions of the same page. I need PHP to call one based on a variable retrieved from a database. As it stands, this is what I have... [CODE] … | |
Hi Guys, Firstly, i'd like to state that this is a homework question which means i'm not looking for a direct solution to my problem. Just subtle hints on how to improve etc. I'm posting this here as I want to try and get a better understanding of Java's wait() … |
The End.