- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
12 Posted Topics
I'm new to recursion and object oriented programming, but we have been assigned the knight's tour problem. This is where the knight's piece has to travel to every space on a chess board and land on each spot only once. I pretty much have my program done, except i'm having … | |
could someone atleast point me in the right direction? i'm new at this and i've been working on this program and I just hit a brick wall. Its like my brain stopped working or something... :confused: I have to make a "stop watch" program...have a class defined for stop_watch that … | |
This is my first attempt at creating a website using PHP. My database is done in MySQL. It is for a made up university. I am having trouble creating the page that should allow current students enrolled at the university to search for courses and add them to their schedule. … | |
I've been working on a binary search tree and I've written out most of what I think the code should look like but I can't test it because of an error I'm getting. I have no idea if what I have is even correct. My professor gave us the class, … | |
I have been given a lab assignment that should take a prefix expression such as *+-23/427 and use recursion to solve its infix equivilant ((2-3)+(4/2))*7. So far, the code I have will work for an equation with 2 or 3 numbers. Any more and it starts returning weird results. Its … | |
:confused: This is my first recursion project and i have no idea if i'm even going about it the right way...It's a palindrome checker, which checks for integers. I can't check it character by character as a string. It compiles clean but when i execute it i get weird results … | |
I'm doing a "magic square" program and I'm having trouble with a button. It is supposed to stay active for as many clicks as it takes to fill the array storing the numbers, then become disabled. The button stops working the first time i click it though, and i dont … | |
I'm not finished with my program yet, but i've run into a few problems. The first main problem i see is that i seem to be doing something wrong to display the array that the user enters. It only shows one value, and it displays it twice. I cant check … | |
This is my first windows app. I basically have my whole program written except for fixing a few lil problems and writing the code for 2 of my buttons. Could someone help me with the "Hex to Decimal" button code? or give some kind of example? my professor helped with … | |
Can someone help me please? I've got 17 errors and 3 warnings. The main problem is that it keeps telling me that "Triangle" isn't a class name :confused: i'm so confused. Could you also help me with any other problems that you see? Thx in advance. (list of errors at … | |
Re: im not sure, but you may want to try using the modulus operator "%". for example... to turn feet into yards and feet you could enter [CODE]int yards, feet; yards = feet / 3; feet = feet % 3;[/CODE] | |
I have to define a class for equilateral triangles. The triangle should be defined by a center point (x, y) and the length of the sides. The class should have a constructor which allows defining the triangle, a constructor with no arguments, and member functions for the x coordinate, y … |
The End.