- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
23 Posted Topics
Making an Android app for my senior project. The app that the professor wants will have approximately 225 strings. It's basic Q and A with the questions and answers always being in the same order. Would it be better to use the sql database or the strings xml to store … | |
Re: Check out the string class dude...character parsing and such | |
I want my user to be able to enter a fraction. I could be lazy and just take num and denom separate... But I was wondering if there is way I can allow user to enter a fraction like "3/4". And somehow ignore the '/'. I guess I could take … | |
Re: Well, at a quick glance your if statment seems off. You have a "="..which is for assigning. Might want a "==". Not sure if that's you're only prob. But start with that | |
Re: What are you naming the class? passArr <whats my name yo> In otherwords... passArry Obj1 (x); Obj1.giveNumber(); Just like an when you create an int... Type name int counter | |
I'm trying to complete the good old Knight's tour (Knight piece must touch every square on board without touching a square twice. My code goes all the way to the point where the knight is at a dead end, and I need to revisit the last stack... How do you … | |
How do you get data from gridview with select command? I have a populated gridview, I select a row, it highlights... Now how do I get access to that selected information? Do I have to go back to DB, or can I somehow pull the selected data. Asp.net 3.5 VS … | |
I set the title of my master page so all of my content pages would have the same default title. However, I wanted a couple of the pages to have a unique title. Is there a good way to do this? I know I could get it if I removed … | |
I've completed my web app and it runs well when I test it on my pc. I have a ftp up and connected to server. Now what? What exactly do I upload? There a tutorial floating around for this? I'm using VS 2008 with ASP 3.5. | |
If anyone can take a second to view my code, I would really appreciate it. I've been working on this for days. I think I am so so close. Its the Knights Tour (Knight must move to every spot on board without moving to one spot twice). It breaks when … | |
Why does my table always go to the bottom of the webpage? The table that lists "books" "author", etc always moves to bottom of screen. I want the image to be at bottom, not the table.... Anyone able to point me in the right direction? [code] <html> <head> <title> Ruth … | |
Ok, I tried and tried some more, if someone could push me in a right direction or point out the obvious for me that would be great. The dates have to be between the years 1900 and 2099, so I was thinking if I could calculate the amount of days … | |
a percent sign? My program asks the user for a percentage rate. It then puts (with cin) the rate into a double. However...if a user tries to type a % after he enters a number...the program goes wack... | |
Ok, stuck on homework. The program is supposed to read a list of presidents from a binary file and display them. I have it all working..except..when it gets to Truman...it just keeps repeating his information. I know its still going in the loop, but for some reason the pointer stays … | |
Each time the program goes through a loop, nameField gets bigger and bigger. Strcat keeps adding new names to the field. How can I clear the field after each output? I thought it was something like nameField = {' '};...but that doesn't work. There has to be a simply way … | |
Ok, new to C++, I bet this is a real easy question. Every time I input a char, it enters the same char twice to variable. So when I enter "r", and then output it..it outputs "rr" [code=c++] #include <iostream> #include <fstream> using namespace std; #define errorMsg1 "You must enter … | |
I can't seem to figure this one out. It seems like it would be easy... I want the savePane JFrame to close when the user hits the saveButton. Is there a line that I enter here? Or is there something I need to include in my saveListener class? Any help … | |
If anyone has a minute, I could use some help. Been working on this program all day. I know it's hard trying to understand someone's code and logic...but I'm hoping there is an easy solution here. My program needs to be able to read and write files at the push … | |
I really don't understand what I'm doing wrong. I've made windows before..and never have had this problem. The code complies fine, but when I run it I get this message.. java.lang.NoClassDefFoundError: smartMonster Exception in thread "main" right now all I want is a window to pop up with a button. … | |
Alright, I've been working on this one line for awhile, can't quite get it. I need to read all the characters after the "," (comma), ending at the end of the line. I'm guessing I'm just making a simple mistake. Can anyone help me out? [code]blocksArray [numBlocks][1] = Integer.parseInt(line.substring (line.indexOf(","),line.length())); … | |
I'm having all sorts of problems getting this program to work. I think I know what's wrong with it, but I don't know how to fix the problem. The program is supposed to read a text file that contains information like below.... 1 99 2 88 3 77 4 66 … | |
My loop keeps looping...even after the condition is changed to false. Whether I enter a "y" or an "n" my loop still loops. I know it's never leaves the loop, because I never get the "do I get here" println. This is my first time with booleans...so maybe I'm doing … | |
If someone has a second, could you please take a look at this. This is just a small part to a large program I have to write for school. Right now I'm just trying to get the arrays to load. I can't get my two dimesinal array to work (the … |
The End.