- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 3
- Downvotes Received
- 5
- Posts with Downvotes
- 4
- Downvoting Members
- 5
- Interests
- Star Trek, Dungeons & Dragons, Astronomy, Archery, Japanese Music, Video Games
- PC Specs
- CPU: Intel Q6600 Quad Core 2.4 GHz, RAM: 3 GB DDR2 SDRAM, ATI Radeon 2400 HD Pro 128 MB Video Card
Re:
hey there Daniweb. So I am in need of some help with a project I have. We need to create a program that will print out rows of asterisks as tall as defined by the user. [CODE]For example, if the user entered, 1 2 3 4 3 2 1 10 … |
|
Re:
Hello, all. I'm creating a program that lets a user play Hangman. I've attached the directions for the program for clarification. My code is pasted below. I've set up a couple methods for it, but I'm having difficulty in understanding how to call these methods in the main class (assuming … |
|
Re:
I really need help on my latest C++ assignment. The program was due a week ago and I'm still beating my head against a wall here. This is supposed to be a VERY SIMPLE linked list implementation. I have rewritten this dang thing countless times in as many different configurations … |
|
I'm not sure if it's the way I'm sorting this ArrayList or the way I'm constructing new Term objects. Can anyone tell me what's wrong? My program is too long, so I'll narrow it down to the parts that are giving me trouble: The declaring of the terms and new … |
|
I'm having trouble aligning some text with setw and the left alignment. I'm not sure if it has something to do with the fact that I'm printing from a function. The text within quotes aligns fine, but the output from the function aligns to the right and screws up the … |
|
Re:
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, … |
|
Re:
What is wrong with this and how do I fix it? Thanks. [CODE] template<typename T> class Array { public: Array(unsigned arraySize): data(0), size(arraySize) { if (size > 0) data = new T[size); } ~Array() { if (data) delete[] data; } void setValue(unsigned index, const T& value) { if (index < … |
|
Re:
I have this assignment for school due tonight but I can't figure out the two errors causing problems for me. I've asked my class, I've asked twice on yahoo answers and I still don't understand what to change. If someone can please show me the exact changes that need to … |
|
Re:
Hi, I've decided to make a hangman game. I made this in Python last year, however I'm a little bit stick in Java, since I'm quite new to as well as Swing. Anyway, the problem I'm having is that my while loop keeps terminating if I enter 1 incorrect letter, … |
|
Re:
write a program in C++ that computes the minimal and the maximal value of function f(x,y) obtained on an integer point in a given rectangle [a, b] x [c, d]. Your program should prompt the user to input numerical values of a, b, c and d, as floating point numbers, … |
|
Re:
Hellooo guys could any one help me pllz i have a final exam tmw :( and the exam is Write a program that read 5 integers numbers and print the largest and smallest numbers By using IF statements :( |
|
Re:
Hi Everyone, I am a new comer in this forum. I am too weak to making code in HTML and CSS. Please help me how can I improve myself in this particular coding. |
|
Re:
Hey, I'm making a maze game, where the user is a picture I've got, and they have to move the picture using the arrow keys to get to the end of the maze. How do i make a picture into a character like that? Also, how do I assign the … |
|
This is for the numerous people I see constantly asking how to "pause" the console after their code runs. The explanation for how the code works is within the snippet in comments. Basically, the "cin.clear();" function will clear the input stream, getting rid of any newline characters that would have … |
|
Re:
[CODE] class example { public static void main(string args []) { Sysytem.out.printIn (This is a simple Java program....); } } [/CODE] I am using Windows Vista Ultimate I tried to rum this program in DOS shell...... Error 1 :Exception in thread "main" java.land.NoClassDefFoundError : example I tried to remove it...by … |
|
Re:
I get this error: variable or field 'calc_score' declared void and I am pretty much stuck. Here is my code, it obviously isn't finished but I need to be able to get this void to compile to continue on. [CODE] #include <fstream> #include <iostream> #include <cstdlib> #include <iomanip> using namespace … |
|
Re:
I decieded to make a program that translates a phrase in english to "1337" or "elite". I have searched this website and others and can't find an answer to the error I'm getting. Thanks for any help :). Btw I'm using Bloodshed Dev C++, not sure if that matters. [code] … |
|
Re:
With this program I need to be able to find the circumference, area, diameter and radius of a circle. Here is what I have, please let me know of any advice you have: [CODE]#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main () { int x1; int x2; … |
|
Re:
So I'm trying to write this time keeping code for a project of mine. Basically, I'm adding 0.01 to a variable over and over again. While (A < B) { X = X + 0.01 A = A + 1 } I have written down the basic idea. The problem … |
|
Re:
i have been in a java course it´s kinda expensive but anyways i am thinking that im going to quit cause its not hard but its really overwhelming dont you get that feeling?, theres just to much to learn!, i cant believe people learned more than 1 programming language also … |
|
Re:
Project Makcik Minah has opened a new children art class. During the Registration Day, 30 children have registered. Makcik Minah’s assistant, Munah has manually obtained information from the children that include name, birth certification number, date of birth and gender. All these information is required in order to divide the … |
|
I'm trying to draw a string at the center of an applet. The problem is that it's STARTING to draw at the center of the applet and going off to the right. I need for the center of the string to be centered. Here's my code so far: [CODE] /** … |
|
Re:
I have a promblem with following case : i have a properties.txt that included: 10 Napier St. Palm Cove 350000 47 Darkien Cl. Smithfield Heights 265000 i want to write: On start-up, the program is to prompt the user for the property listings filename (the sample file provided is called … |
|
I'm just starting to learn Java and I need help. I'm trying to draw a rectangle in an applet window and have it centered so that if the applet is repainted when it is resized, the rectangle will stay centered in the applet window. I know how to retrieve the … |
|
Re:
[CODE] #include <stdio.h> 5 6 #define MAX 100 7 8 int main(void) 9 { 10 char msg1[MAX], *p, *q, msg2[MAX]; 11 12 printf("Enter a message: "); 13 for (p=msg1; p<msg1+MAX; p++) 14 { 15 *p=getchar(); 16 if (*p=='\n') 17 break; 18 } 19 20 for (p--; p>=msg1; p--) 21 { … |
|
Re:
First of all hello to everyone, this is my first thread!! Second, i face a problem with a website i am trying to create! I wanna use a font i downloaded by myself but noone gonna have it! So what should i inlude in my Css or Html code in … |
|
I am having trouble with the ads that T35's Free Hosting places on their member's pages. They insert the ads via Javascript just before the closing <body> tag. My problem is that they're floating off to the right of my web layout. I tried shrinking my layout and they went … |
|
Re:
Hi all, I want to solve the dining philosopher problem in c++,linux. But i don't get any clue. Can anybody help me to solve this. I know the problem theritically very well. But having confusion to implement it. Thanx in advance. |
|
Re:
[CODE]// This program gives the number of boxes required for a number of figurines #include <iostream> using namespace std; int main() { unsigned boxcapacity; cout << " Enter the total amount of figurines each box can store: "; cin >> boxcapacity; unsigned figurines; cout << " Enter the total amount … |
|
Re:
So, I have a problem on my myspace for my music account (myspace.com/djkasmira) There seems to be a 2 or 3 pixel black line through my table on the banner (or marquee) at the top of the page. The black line appears between my 2 table rows. Now I'm not … |