401 Topics

Member Avatar for
Member Avatar for gabz16

Please help me add actionlistener ect. to my puzzle program so that i can move the tiles into ascending order..Here is my code.. [code]import javax.swing.*; import java.awt.*; import java.util.Random; public class Rand { private JButton btn[]=new JButton[16]; public static void main(String args[]) { Rand app=new Rand(); } public Rand(){ JFrame …

Member Avatar for gabz16
0
235
Member Avatar for computercrazy

can anyone help on getting rid of xp internet security 2010 virus or whatever it is. ive done a bit of research on it and it seems its going around to everyone and ive come up with installing MBAM and running that and removeing it that way but it didnt …

Member Avatar for jwalter
0
170
Member Avatar for radical_1982

Hello My problem is that I have to solve a cryptarithm (assign a unique digit from 0 to 1 for each number) where: O N E + O N E = T W O S E V E N is prime E I G H T is a perfect cube …

0
56
Member Avatar for k1robert

I am trying to consume a web service using VS2008. The code below works in VS2005 but not VS2008 I, suspecting it's to do with WCF. Please can someone help me to solve the puzzle? 'Old code that works [CODE] Dim o As New MyWebService.Name Dim pr As New System.Net.WebProxy("100.0.1.1", …

Member Avatar for k1robert
0
924
Member Avatar for cwarn23

Yes it's about loops. I have the below script and the first loop there is no problem as it mixes the variables but on the second loop I can't seem to figure out how to find the value of $c. Does anybody know because this is an annoying puzzle I …

Member Avatar for cwarn23
0
115
Member Avatar for merse

The ascii code of 'á' is 160, but [CODE]int('á'); [/CODE] gives -31 Yes I know, I can use the formula 129+(int)fabs(int(mychar)); but are there any other solution? i tried to use [CODE]unsigned int('á')[/CODE] but its also ü31 which is a puzzle for me!?

Member Avatar for Narue
0
2K
Member Avatar for ee12csvt

Hi All, I have created a few pages using SQL/PHP and dreamweaver. All works fine, but I need some advice on one puzzle I have. I have two database tables, one holds current numbers that is used to create a table of links. These links then open a new page …

Member Avatar for rajabhaskar525
0
78
Member Avatar for sid78669

As part of a homework, I created the following Puzzle Class and it works. The thing is, it only work if i put the class in q2.cxx, the main code file. If I place them in three seperate files, I get hell load of problem. Can anyone please look at …

Member Avatar for Ancient Dragon
0
156
Member Avatar for blahhaha

I am trying to create a sudoku generator in turbo c++ for a project. This code is not working for some reason....Please help! [code] #include<iostream.h> #include<conio.h> #include<stdlib.h> int chkcol(int u[x][y]); int chkrow(int v[x][y]); int chkbox(int w[x][y]); void main() { textcolor(WHITE); textbackgroundcolor(MAGENTA); clrscr(); int sudoku[9][9]; for(int i=0; i<9; i++) { for(int …

Member Avatar for WaltP
0
129
Member Avatar for notsogood

Hi everyone, I am writing an[URL="http://www.8puzzle.com/8_puzzle_problem.html"] 8-puzzle Problem[/URL] Solving Program that utilizes the [URL="http://en.wikipedia.org/wiki/A*_search_algorithm"]A* (A Star) search algorithm[/URL]. I've come this far in completing the desired program, and somehow summed up to this: (entire source code posted below). But I can't compile it just yet due to this builder error: …

Member Avatar for thomas_naveen
0
131
Member Avatar for girl.java

hi everyone!!! how are you? i'm trying to make some game using while loop this is my code but, Unfortunately it doesn't work :( please help me [CODE]<html> <SCRIPT LANGUAGE='javaScript'> var puzzle=rabbit; var input; var i=0; input=window.prompt('White and fast with four legs ??guess the answer',' '); while(puzzle != input){ alert('hehe …

Member Avatar for girl.java
0
88
Member Avatar for Nikhar

I have made a program to the follwoing problem:- [QUOTE] Another chessboard puzzle (this one reputedly solved by GAUSS at the age of four) is to find a sequence of moves by a knight that will visit every square of the board exactly once. Write a backtracking program that will …

Member Avatar for Nikhar
0
174
Member Avatar for san_fran_crisko

Hi, Apologies if this has been covered already - I searched but couldn't find anything relevant. I am looking to learn both of these languages mainly because I am in a bit of a dilemma career-wise. To be as concise as possible (this aint no agony aunt page I hear …

Member Avatar for Narue
0
286
Member Avatar for daryll1

Hi, The problem is that a Uni I am creating a PHP/MySQL based game. I have got it working for multi user movement and picking up objects but the trouble im having is implementing the puzzles into it. I have the user table which has my puzzles as: puzz_1, puzz_2, …

Member Avatar for daryll1
0
92
Member Avatar for ahmed adri

[B]plz i want code for this program Write a program for an electronic puzzle. Use a picture and strip it into a number of vertical strips (10?) and horizontal strips (10?). Randomly order the vertical & horizontal stripes and display them. The player uses mouse operations to order the strips …

Member Avatar for jonsca
-4
70
Member Avatar for dave_nithis

Hi all, I got a new Java puzzle in which I have to find the largest of given numbers without using If loop,for loop or while loop..And you should not use any max() or min() functions. Can anyone help me out in this?I want to know whether it is possible …

Member Avatar for Rizwana begum
0
276
Member Avatar for nikoo718

Hi every body i need a code of program that makes a number puzzle. the puzzle has 16 pieces,that move with arrow keys. this is my project! plzzzzzzzzzzz help me!:sad:

Member Avatar for Ancient Dragon
-3
88
Member Avatar for 2scoopdelux

i am having trouble putting together all the pieces of the puzzle to work together in harmony. My final project is simple,i have a jlabel with the question of how much does your dog weigh, I have a button and a jtextfield, the user enters the amount of there dog, …

Member Avatar for 2scoopdelux
0
190
Member Avatar for nilesh89

can u show me hw to do puzzle from maze: i need ur help sir please: the instruction is like below: 1) Get all types of puzzles from maze.txt, create a menu and display them on the screen, so that users can choose the puzzle. The menu’s content must consist …

Member Avatar for jjjww
-8
85
Member Avatar for kc_9849

i want to create word search puzzle like this [url]http://www.learncalifornia.org/GoDocUserFiles/2313.ws.jpg[/url] i need to hide the words in a 15 x 15 square letter matrix. Words can be in any of 8 directions in a combination of the following: horizontal, vertical, diagonal, forwards, and backwards. The application should display an answer …

Member Avatar for sknake
0
88
Member Avatar for BobRoss

I'm trying to finish up this little shift cipher I'm writing so I can encrypt the text files on my flash drive in case the drive becomes lost or stolen. It simply reads line by line from a plain text file, encrypts each line and outputs the lines to a …

Member Avatar for BobRoss
0
161
Member Avatar for stayfierce

I am trying to run a source code that I downloaded. However, there are several error message in reference to the classes TablePanel, BufferedPanel, Stringable, and Booleanview. I am not sure why I am getting these errors because it is a complete source code. Do I need to import additional …

0
57
Member Avatar for Thraxus

Hello everyone, First, please excuse the sloppy-ish coding. I'm working on my ability to shorten my code as we speak. However, being new to this, the hardest way seems to be what I always end up doing. That said - on to my problem. I wrote this code for a …

Member Avatar for Nick Evan
0
165
Member Avatar for ammycoe
Member Avatar for sampson

Back again!!! Friend called nad asked me to get her computer clean of viruses. Staes she was getting pop ups of all kind. Ran software as requested. ESet Scanner did not find anything but I did not save or can find a log. She had no antivirus so I added …

Member Avatar for jholland1964
0
188
Member Avatar for KRal

// I am new to C++ and can not seem to get the falling man to output to the screen. Any help would be greatly appreciated. [code] #include <iostream> #include <windows.h> using namespace std; void DrawBar(char guess); int main() { char solution[8]; //holds solution char blank[8]; //holds "*"'s for unsolved …

Member Avatar for KRal
0
186
Member Avatar for newsguy

I can't say I have ever heard of pussy power being used as a driver for advanced chip technology development, but that's precisely what researchers at IBM are claiming. A team of boffins at IBM have been speaking about how they have arrived at something of a milestone breakthrough: a …

1
234
Member Avatar for Joebrauk

Hey, I'm new here. Just getting into c++ programming and saw some great resources on this site. I figured out how to print a fully random array, but I need help printing an array like this. 1 2 3 2 3 1 3 1 2 It could be any three …

Member Avatar for mrnutty
0
76
Member Avatar for hmpargi

/* What: Instant Insanity Game source in Turbo C. GPL(C) ======================= Col1 Col4*4 3 3 3 3 Row1 405 405 405 405 Row2 1 1 1 1 Row3 2 2 2 2 Row4 ======================= c:\mosh\games>tcc -If:\tcc30\include -Lf:\tcc30\lib instanti.cpp */ #include "cubeinit.cpp" int cube[4][6]; /* four cubes with six faces */ …

-2
71
Member Avatar for Paddy

I'm currently stuck at a particular part of this game. The problem is, I know exactly what I have to do to solve the puzzle, but there's a bug in the game which prevents me from doing it! Here's where I am stuck: I'm in a wine cellar, and there …

Member Avatar for mangilak
0
394
Member Avatar for marygreen

With Delphi, is it possible to make a grid like in java word-search puzzles? I have a collection on word-search puzzles for children (pdf files) and wish to make small app of it (they’re already done; I need just to set them up). I could make it work if each …

Member Avatar for BitFarmer
0
104
Member Avatar for infernojmd

Im trying to use session variables to save the puzzle key, and than open a new file that prints it out, but it gives me Notice: Undefined index: puzzleName in C:\Apache2.2\htdocs\users\jmdrenning0\wordfind\wordfindkey2.php on line 13 i have no idea what it means, any help please. wordfind.php [CODE] function printPuzzle(){ //print puzzle …

Member Avatar for infernojmd
0
147
Member Avatar for moazmizo

hi, i have to make a sudoku solver using python quickdraw, i've started on it and this is what i got so far here is the link to the assignment [url]http://pages.cpsc.ucalgary.ca/~zongpeng/CPSC231/assignments/A4/a4.pdf[/url] [CODE] def solveRows(): """eliminates solved numbers by row""" for x in range(0, 81, 9): row = puzzle[x : x+9]#loops …

0
56
Member Avatar for adam20091

Please Help I want c or c++ code to solve 8 puzzle problem using depth first search and breadth first search and each search print out cpu time and memory space of the queue

Member Avatar for zohal
-1
106
Member Avatar for torbecire

[CODE] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cs402; import java.util.*; public class Cain { static List values; /** * @param args the command line arguments */ private static String Board [][] = {{ " ", " …

Member Avatar for BestJewSinceJC
0
355
Member Avatar for henks83

I have no idea how to do this. Please help. This week's lab is to design a hangman game. Your program should be able to open a text file which contains a list of words (one word on each line of the text file) and read the words into a …

Member Avatar for masterofpuppets
0
957
Member Avatar for Dat0

I'm trying to overlap an absolute positioned div box in front of a flash object. I applied wmode="opaque" It works for firefox but not for IE8. [CODE] <style type="text/css"> #absolute{background-color:blue; height:100px; width:100px; position:absolute; top:30px;} </style> [/CODE] [CODE] <body> <div id="absolute"></div> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100" height="100"> <param name="movie" value="test.swf" [B]name="wmode" value="opaque"[/B]> …

Member Avatar for Airshow
0
157
Member Avatar for Gman36

Hi there, I'm attempting to write a program that does the target word puzzles you see in most major newspapers. The target word problem involves a 3x3 grid of 9 random letters that a user needs to be able to make words out of using at least the middle letter …

Member Avatar for Gman36
0
118
Member Avatar for lllllIllIlllI

I am making a slider puzzle applet. And i have this problem when i display it as an applet my buttons do not seem to act the same was as they did before i made it into an applet by using a JApplet rather than a JFrame as my extension …

Member Avatar for lllllIllIlllI
0
119
Member Avatar for dickthor

I worked for 35 years as a technical services programer on IBM mainframes. The job entailed operating system maintenance and writing some utility programs and subroutines for use with applications programer's COBOL programs. I wrote mostly in assembler language. Toward the end of my career, I learned to use the …

Member Avatar for johnvitc
0
258
Member Avatar for tgir

Hello, i am a final year student in engineering and my project require me to write an algorithm to solve a puzzle problem.Actually, my project is on a 3x3 warehouse space where items need to be stored and retrieved.how do i get started with writing the algorithm? i already made …

Member Avatar for tgir
-1
169
Member Avatar for complexcodes

Hey guys, I have written a recursive function mazeTraverse which finds the path of the mouse to find its food which is placed inside the maze. I am given a maze of of 15 rows and 25 columns. Mouse's starting position is (8,1)[eighth row and 1st column] and the food …

Member Avatar for complexcodes
0
183
Member Avatar for harshadap

I am developing sudoku. Random numbers are generating but i want to place rthem into particular fields. here is my code [code= java] package sudoku; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.GridLayout; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.Random; import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing.JPanel; import javax.swing.JTextArea; import javax.swing.JTextField; import …

0
47
Member Avatar for cbreeze

hey guys, I have the assignment to build a program to decode a cryptogram puzzle using provided word tables. for each table the program should print the decoded text generated by that table and the number of actual english words in the decoded text. the encoded text is in the …

Member Avatar for namehere05
0
212
Member Avatar for freeze131

I am trying to create a sudoku checker as my second project. Its not going well :D. So far i've got it to check for rows that are 9 digits in length - i'm not sure if that's correct.. [code]puzzle = [] row = raw_input() while row: puzzle.append(row) row = …

0
94
Member Avatar for Brian.oco

On a trip to Newport Beach, Oregon, this past summer, I was introduced to a global positioning satellite device for the first time. It was a real eye-opener. All I had to do was type in the address I was heading toward, and the satellite took care of the rest. …

0
195
Member Avatar for binoj_daniel

Microsoft Chairman Bill Gates once talked about putting a PC on every desk. Now Gates is talking about turning the desk itself - or a tabletop - into a computer. Microsoft is set to announce an ambitious new computing category today called "surface computing" to try to make it happen. …

Member Avatar for binoj_daniel
0
147
Member Avatar for Dani

Hey there everyone. Long time no post... and that's because I just went out and bought The Sims 2 the other day, and I just have to say how much [b]I love it![/b] I'm not a gamer by any means. The only games I really ever play are simulations ... …

Member Avatar for khr1996studios
0
192
Member Avatar for G-Do

Hi all, Have you ever heard of "Petals Around the Rose?" It's a logic puzzle. The way it works is, I roll five dice, then tell you what the "score" is for this round. I can repeat this for you as many times as you want. It's your job to …

0
862
Member Avatar for and12

I have my game [url]http://blogfriendlyzone.webs.com/wof/WOF.html[/url] and i tried to share it with some online friends but some complain that they can't even spin the wheel or they can't enter a consonant (after spinning wheel):-O . It won't accept their consonant from the keyboard like it should. Is there something i …

Member Avatar for and12
0
246

The End.