401 Topics

Member Avatar for
Member Avatar for Mark198995

hey me and my group are doing a project but we dont know how to use the file pointer (to export the C program to a text file and we dont know how to make it so the random generator makes our words go diagonal top left bottom left top …

Member Avatar for Mark198995
0
140
Member Avatar for AirWave

I have 9 buttons in Form1.Designer.cs. And I want to use them in another class which is Puzzle.cs. What I've done is, [CODE] private int PUZZLESIZE = 3; private int col, row; private Button[,] buttons = new Button[3, 3] { { Form1.button1, Form1.button2, Form1.button3 }, { Form1.button4, Form1.button5, Form1.button6 }, …

Member Avatar for mazzica1
0
112
Member Avatar for neomatrix248

Hello all, This is my first post here. I've exhausted every resource I can think of in hopes of figuring out what I'm doing wrong, but I can't seem to get it right. I'm doing a homework assignment where I have to solve the 8puzzle problem using BFS, DFS, Iterative …

Member Avatar for neomatrix248
0
955
Member Avatar for FinaL111

I'm having trouble wrapping my brain around this concept. I have taken two java classes before so this is my first C class. My question is about a portion of my assignment. Basically the assignment is it reads in data about a word search in the format like so: [url]http://pastie.org/2582599[/url] …

Member Avatar for FinaL111
0
280
Member Avatar for AirWave

Hello everyone, I'm required to print a puzzle which in the form of row*col. And my code can do that except when row and col are the same number. How can I fix that? And another question is, how can I store these values into a 2D array??? Because later …

Member Avatar for Teme64
0
100
Member Avatar for tommygee100

Hi All, I'm Trying to solve this puzzle for my script: Let's say we have 3 lists, A,B and C with the following elements 'A' = [5,3,1] 'B' = [6,5,2] 'C' = [2,0,-2] I want to go through all 27 combination sequentially, looking for a combination that is 'valid' AND …

Member Avatar for TrustyTony
0
352
Member Avatar for kutuup

Hi all, I'm just working on a little Allegro 5 puzzle game for a bit of fun and practise between jobs. Anyway, I have a bit of an optimization issue. It's a board based game where you have an 8x8 board with each square having a value of 0-3 representing …

Member Avatar for kutuup
0
262
Member Avatar for SpiritualMadMan

This is something that is really starting to bug me about Python and wxPython... In VB6 (Disallowed by my employer) I can have multiple Forms loaded at the same time. I can show and hide each and everyone of these forms any time I want to. For example I can …

Member Avatar for SpiritualMadMan
0
148
Member Avatar for SurrounD

Hey guys, Im new to Java and i am trying to wrap my head around arrays and what not. What i am trying to do is create an array for a puzzle which is 4x4 and has the numbers 1 to 16 so far i have got this [code]public class …

Member Avatar for SurrounD
1
144
Member Avatar for Ash11th

Hi Guys !! I'm new to this forum so please excuse me if i'm not posting my problem correctly. I have been given a project to make a program in C++ that solves a given sudoku problem. Here is what i did : [CODE]#include<iostream.h> #include<conio.h> int board[9][9]; int checkrow(int t, …

Member Avatar for Ash11th
0
289
Member Avatar for yamel115

I am having trouble merging two queries. I want to be able to search my recipe inventory by ingredient, but I also want it to tell me how many ingredients I am missing for that certain recipe. I am able to do a search by just ingredient and I am …

Member Avatar for smantscheff
0
113
Member Avatar for diakonos1023

Hey folks! I've been working on a site for several days trying my best to conquer the ever plaguing issue of creating a parent div that expands as the child divs inside it grow with their appropriate content. And, so everything is on the table, this is being built on …

Member Avatar for Skorpio07
0
218
Member Avatar for phoenx

[CODE] <html> <HEAD> <style type="text/css"> body { background-color: black; color: black } a { font-weight: bold } a:link { background-color: black; color: blue } a:visited { background-color: black; color: blue } a:active { background-color: black; color: blue } a:hover { background-color: white; color: maroon} input { font-family: monospace; font-size: 24px; …

0
69
Member Avatar for Sogo7

Here's a little brain teaser for you all. A client wants a [B]secure[/B] members only area of thier website with username/password access control, however the sites web host does not support any form of server side scripting or htaccess and to complicate matters further the client will not or cannot …

Member Avatar for Airshow
0
224
Member Avatar for Xcelled194

Hi guys, I'm making an Etch A Sketch program in C#. I have two buttons for the "knobs". Right now, I'm handling the mousemove event of the button to evaluate if the user is dragging the mouse up or down, and then updating the etch a sketch appropriatly. This works …

Member Avatar for Rashakil Fol
0
536
Member Avatar for NickJoe

I was given a project in my CSSE class that has to do with signals and handlers. After spending the last 48 hours stressing and cursing the lack of proper information (that I could find) on the Internet to help me understand, I decided to turn here once more. THe …

Member Avatar for NickJoe
0
295
Member Avatar for charchar88

Ok, I'm using gcc in ubuntu to compile. Below is a boggle solver that basically loads a dictionary.txt file and then you would input a 5x5 grid of letters like below into the letter[][] array a b c d e f g h i j k l m n o …

Member Avatar for WaltP
0
149
Member Avatar for P.manidas

Dear Sir/Madam, I am a B.A. graduate from Guwahati University of Assam, India and having one year Diploma course in Computer Application. I have assist in developing a Library Management System which is running smoothly in various colleges in Assam, India. And have developed some non-commercial software for personal excellence …

Member Avatar for P.manidas
0
205
Member Avatar for cse.avinash

I tried a lot to understand the code, but unable to get it. Help me with this code. [CODE]main(t,_,a) char *a; {return!0<t?t<3?main(-79,-13,a+main(-87,1-_, main(-86,0,a+1)+a)):1,t<_?main(t+1, _, a ):3,main ( -94, -27+t, a )&&t == 2 ?_<13 ?main ( 2, _+1, "%s %d %d\n" ):9:16:t<0?t<-72?main(_, t,"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+\ ,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/\ +k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){n\ …

Member Avatar for chhabraamit
0
122
Member Avatar for mentos16

[CODE] var ctr:Number=0; for (var i:Number = 1; i<=48; i++) { this["puzzle"+i]._alpha = 30; this["puzzle"+i+"c"]._x = Math.random()*100; this["puzzle"+i+"c"]._y = Math.random()*300; this["puzzle"+i+"c"].onPress = function(){ this.startDrag(false); //for (var i:Number = 1; i<=48; i++) { name = this._name; j = name.substring(6); asd.text = parseInt(j); this["puzzle"+j+"c"].onRelease = function() { this.stopDrag(); this["puzzle"+j+"c"].stopDrag(); if (eval(this["puzzle"+j+"c"]._droptarget)== this["puzzle"+j]) …

Member Avatar for KazenoZ
-1
94
Member Avatar for christ_gal12

Anyone know how to put timer on this code that the higher the level the lower the time given to solve the puzzle..this will run only in IE browser [CODE] <HEAD> <style> .bigcell { background-color:#aa9966; border:4px solid #aa9966; text-align:center; } .cell { width:40px; height:40px; font-family:Verdana, Arial; font-size:10pt; font-weight:bold; background-color:#996633; color:#ffff33; …

Member Avatar for christ_gal12
0
117
Member Avatar for Mkmd13

Hey I am almost done with my hangman game for java but Im having a tough time in getting the last bit of it. I have included ALOT of comments for you guys to help me out with it. [CODE]import java.io.*; import java.util.*; import javax.swing.*; public class Hangman { public …

Member Avatar for VernonDozier
0
183
Member Avatar for blacknred

Hi, I'm trying to 'grep' the string which comprises of all non-zero values [B]0x0000000a[/B] in this case. [CODE]>>> match = re.search('0x0000000[1-9,a-z]', "My values are value=0x00000000 0x00000000 0x0000000a 0x00000000 0x00000000 0x00000000")[/CODE] This works but in this case, but not over any string as in if example is: [QUOTE]"My values are value=0x00000000 …

Member Avatar for blacknred
0
86
Member Avatar for hness1

Hello! I have a little project of my own to convert a memory game puzzle from VB.Net into Delphi (Not a big Delphi fan). I was doing fine so far until a control would not be recognized (outlined in red and green). It is an imagelist containing 8 images. [LIST=1] …

Member Avatar for Wolfgan
0
148
Member Avatar for pmrg

Hi there, Im stuck on my assigment :s the problem is everything is compiling but the program is not doing anything. 1st I need to call repaint() if slideBlock return true and I don't know how to. 2nd problem not sure if the slideBlock method is 100% right. [ICODE]boolean slideBlock(int …

0
38
Member Avatar for stevanity

I came across this qn in a debugging contest in college. The out put must be "aadd" WHat should be given in conditional field. NO goto and exit statements. [IMG]http://lulzimg.com/i13/b449cb.jpg[/IMG] Can anyone help me??

Member Avatar for L7Sqr
0
101
Member Avatar for frank33

In my code I am trying to draw/define a line but despite my best efforts I cannot make it appear as thick as I would like. To be more exact I cannot do that INSIDE A GROUP BOX, although outside that box the definition is exactly as required. The full …

Member Avatar for frank33
0
189
Member Avatar for frogit

Hello, I am working on a project that involves 5 servomotors that need to move in a coordinated way. The servos are controlled via an Arduino micro-controller. I've been learning C through this project, so my coding might be a little off-convention. What I have is 5 buttons (0 to …

Member Avatar for frogit
0
622
Member Avatar for ManCard67

To be honest, i'm really bad with c++ but it's required for my major. We have to make a sudoku program, that reads from a file, inputs the data into a 9 by 9 grid (of 2d array), inputs numbers till the grid is solved, then check for valid moves, …

Member Avatar for Sky Diploma
0
336
Member Avatar for TrustyTony

I had posted here already here to forum a [beautiful code for solving Sudoku puzzles](http://www.daniweb.com/software-development/python/code/294304/eleagant-and-fast-sudoku-with-generator-expressions), so I was in kind of dilemma what to do, as I read the task to do a sudoku solve as one task in Project Euler. To use the code from before and just take …

Member Avatar for TrustyTony
0
894
Member Avatar for finmacul

Any ideas on this one.....? I cleaned down a virus infected pc (Windows XP Media Centre Edition SP3 with IE8). All the scans are now clean but iexplore.exe runs as a process in task manager. It throws an error every few minutes saying Internet Explorer has encountered a problem and …

Member Avatar for gerbil
0
1K
Member Avatar for staticclass

Hi, guys I'm new to this forum, and also kind of new to C#. I actually develop programs in C# for 2 years, but in a very amateur level. Here is my question; I'm trying to make a game like [URL="http://www.techgadgets.in/images/block-d-puzzle-game.jpg"]Block'd[/URL] I found the way to create an array of …

Member Avatar for Mitja Bonca
0
172
Member Avatar for hanvyj

I have a bit of a puzzle, My default buttons (for when they are only an image) have this "highlight" listener, when the mouse enters/exits it draws a border to give the user some feedback. Its worked fine untill now, where I have a "close" button that, when clicked, removes …

0
50
Member Avatar for nerdygirl118

I am making a wheel of fortune game and have successfully figured out how to change the word that you're trying to guess into astricks *. However, I cannot figure out how to change it back once the user inputs a correct letter. The puzzle comes from the user inputting …

Member Avatar for dmalach
0
217
Member Avatar for irenejd

I have an electronic subscription to a newspaper and I generally download and print the puzzles for doing them later. Due to health issues, I'm behind about 6 months, but I'd like to catch up. I'd like a script to automate the download and save it to my PC. I'm …

Member Avatar for irenejd
0
151
Member Avatar for 123Faisal

Hi guyz! [B]My name is Faisal Rashid.I am student BCS.Kindly I need your help.Please give solution of following problem as quick as possible.I need this urgent. Thank You I need a solution of Puzzle of from a book "Let Us C by Yashwant kanetkar" and question is from Chapter 8 …

Member Avatar for WaltP
-2
97
Member Avatar for the_dawn

been going through the 8 game puzzle from Ivan Bratko's book there is a section I just cant wrap my head around.... % Manhattan Distance heuristic manhattan(State, Number) :- manh(State,State,0,Number). manh([], _, X, X). manh([H|T], State, Acc, Result) :- nth1(Position, State, H), NewPos is Position - 1, Xaux1 is NewPos …

0
89
Member Avatar for maykay

Hello, everyone. Well, the title is pretty self-explanatory. when I turn on m PC, it freezes 2 or 3 minutes after entering WinXP. Completely freezes: the mouse doesn't move, keyboard does nothing, C-A-D does nothing, etc etc. Safe Mode works fine, BUT Safe Mode with networking also freezes after a …

Member Avatar for maykay
0
593
Member Avatar for onus

Hi, here is a simple puzzle to which I have made a program, A C program to take bondectory name as command line argument and print last 3 directories and 3 my_files in all subdirectories without using api 'system' inside it. suppose directory bond0 contains bond1, di2, bond3, bond4, bond5 …

Member Avatar for Trentacle
0
233
Member Avatar for stereomatching

I am building a simple tree by pointer this tree would only have one child and one sibling if you call addChild more than once on the same node, it would add a sibling if you call addchild more than two times(assume it is three times) on the same node …

Member Avatar for stereomatching
0
173
Member Avatar for endsamsara

Hi, well i take lots of time figuring this out. I need a program that tells me the coordinates of a word that is in other array, what I have gotten is the y coordinate "the column", but I need to do the case for a bidimentional array get the …

Member Avatar for endsamsara
0
160
Member Avatar for shindu

I am tryint to convert my c++ coed that solves a HiQ puzzle with a depth first search into c# so that i can play around with a gui for it. I have tried a few different approaches but the whole idea of everything being inside of a class is …

Member Avatar for shindu
0
174
Member Avatar for Zohaq

im trying to make a word puzzle project but im having a few problems.. i need a 10x10 grid (list of lists) but the important thing about the grid is that the user fill the grid in the following way: a b c d e f g h i for …

Member Avatar for woooee
0
177
Member Avatar for kyuu

hi i am making a 16puzzle game and i keep getting error about parameter conversion in main function. maybe someone can help me out and figure out whats wrong? i had this program written with functions and it worked perfectly,but now making it with classes(coz my teacher requires classes in …

Member Avatar for Fbody
0
168
Member Avatar for DallasFan3

Ok, Iam now doing my last assignment for my class. Thank god. lol Well I have to make a problem that will write an interactive Java program that allows the user to play the game of Hangman with words that are given to me from a file. Here is what …

Member Avatar for jon.kiparsky
0
618
Member Avatar for mbouster

Dear all , I need your help on this. I will say how I am thinking the solution and any help will be much aprreciated. I will denote the husbands with the following notations h1 = 11, h2=12, h3=13 and their respective wives with the numbers w1 = 21, w2 …

Member Avatar for mbouster
0
2K
Member Avatar for XxPKMNxX

I have written a piece of code, everything is fine until i run it, i get [CODE]"Exception in thread "main" java.lang.NullPointerException at useCADSL.main(useCADSL.java:5)"[/CODE] i know what it means, i just cant see where to modify [probably the whole you read what you think you've wrote thing] my first class is …

Member Avatar for JamesCherrill
0
235
Member Avatar for XxPKMNxX

I have written a program to create a 4x4 grid Sudoku style. The numbers for the puzzle are read from a file and placed in the puzzle. As you can see, i have assigned the first numbers 'a' and the second 'b' etc However, i can not access the a,b,c,d …

Member Avatar for XxPKMNxX
0
141
Member Avatar for j_cart007

Hello! Does anyone have any idea about Futoshiki Puzzle Solver. I'm new to programming and i want to make a puzzle solver in java. Any helpful reply would be regarded. Thanks

Member Avatar for jon.kiparsky
0
2K
Member Avatar for GHETTO COWBOY

hi, In short I need to create a word search puzzle. I ask the user for the dimensions and words to be inserted. The hardest part is that there is a 50% chance the word should be forwards or backwards, then there is a 25% chance the word should be …

0
49

The End.