No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
i have this code. i am trying to set a grid and start at c. it then moves to the next value - 1, so in this case, would move to a 4. However, in my IF statement, i want to put if(position surrounding c == c-1){then change that position … | |
getting the problem ~ mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /studhome/1/0803087/public_html/RSS.php on line 14 trying to create a RSS feed no idea what is wrong, so can anyone help [CODE] <? // Connect to database DEFINE ('DB_USER', '******'); DEFINE ('DB_PASSWORD', '********'); DEFINE ('DB_HOST', '*****'); DEFINE … | |
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 … | |
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 … | |
Been asked to write a program using Cream library. We have to used Constraints, but i have no idea what they are Could someone give an explanation of one and possibly some examples? | |
Being a noob, such a simple question i answered as soon as i posted :| - delete thread please. | |
Ok, i have my code: [CODE] int seconds; clock_t clock(); seconds = clock()/CLOCKS_PER_SEC; if (seconds == 8){ FIVE.SetPositionX(-1); } //.... if ((AdventureGame.keypressed[DIK_F]) && (WOO.positionX == -10)){ //reset clock() here FIVE.SetPositionX(-5);} [/CODE] the clock starts when the program is run and after 8 secs, FIVE moves position. When i press F, … | |
I have this program, when it starts, i am unable to press numbers. By pressing F this turns the numbers on. However, the result is, i have to hold down F to use the numbers. I thought declaring ignition as true would stick after i had released F. And pressing … |
The End.