Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
42% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
5
Posts with Downvotes
4
Downvoting Members
5
1 Commented Post
~30.8K People Reached
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
Favorite Tags

37 Posted Topics

Member Avatar for wakesin

You people are over-analyzing this. All he needs to do is use IOMANIP. He should use a for loop to print however many asterisks are specified to a line, aligned to the right after he sets a width for each row. Then he should fill in the blank spaces with …

Member Avatar for Rock426
0
6K
Member Avatar for andrewriebel

Because newGame() is a method, not a class, and you are trying to declare an object of type "newGame". Simply change the code in your main() method to this instead. newGame();

Member Avatar for andrewriebel
0
255
Member Avatar for strungoutfan78

Since you seem to have figured it out, take a look at the header file I'm working on. It isn't, by any means, complete, but it should help you a little bit to understand how it should be structured. [CODE=c++] /** * This header file was designed to make creation …

Member Avatar for strungoutfan78
0
530
Member Avatar for packetpirate

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 …

Member Avatar for packetpirate
0
246
Member Avatar for packetpirate

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 …

Member Avatar for Ancient Dragon
0
99
Member Avatar for ManCard67

Here's a pointer. [CODE=c++] int y = 5; int * x; x = &y; *x = 10; [/CODE]

Member Avatar for Sky Diploma
0
335
Member Avatar for tlwtheq

If you don't even know what's wrong with the code, why are you posting it here? Compile it and find out.

Member Avatar for VernonDozier
0
124
Member Avatar for Jutch

The variable 'i' is undeclared on line 36 because it is outside of the for loop. Look up variable scope.

Member Avatar for Jutch
0
203
Member Avatar for axa121

I'm sorry, but I had to ask... what was the point of this line? [CODE] if (x == 15 || x != 15) { [/CODE] ...that line will always execute, because no matter the number, it will always either equal 15 or not 15...

Member Avatar for axa121
0
236
Member Avatar for iamuser_2007

Oh wow, talk about lazy... you didn't even attempt to solve the actual problem... you just wrote some simple output and an IF statement. And the assignment called for floating point numbers, not doubles... If you aren't will to make a serious attempt at the program yourself, nobody here is …

Member Avatar for iamuser_2007
0
292
Member Avatar for gladius33

Hahaha! Gladius33, you're not going to learn anything by getting everyone to do the work for you. Here's some pseudocode... if you can't figure it out by reading this, you probably shouldn't be a programmer. Not to mention that it doesn't sound like you even enjoy coding. It sounds like …

Member Avatar for ajst
0
187
Member Avatar for maketick123

The only web development resource you'll ever need. [url]http://www.w3schools.com[/url]

Member Avatar for Arkinder
0
154
Member Avatar for samccarn

For moving the picture around via the keys, look into KeyListeners. As far as the picture goes, you'll have to make the picture an object. The object draws the image to the screen. When keys are pressed, the KeyListener event methods within your object's class should redraw the picture the …

Member Avatar for packetpirate
0
81
Member Avatar for packetpirate

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 …

Member Avatar for MosaicFuneral
-1
2K
Member Avatar for apanimesh061
Member Avatar for BlueZephyr

Is nobody else going to point out that he's trying to return a value with a void function?

Member Avatar for packetpirate
0
271
Member Avatar for cclausen7
Member Avatar for baconswife

Nathaniel is right, you're using cin incorrectly. The correct syntax for getting multiple values with cin would be: [CODE] int x, y; cout << "Type two numbers: "; cin >> x >> y; [/CODE]

Member Avatar for Fbody
0
2K
Member Avatar for BarnacleBoy

That's scientific notation you're seeing, because the variable type you're using can't hold the numbers you're trying to store.

Member Avatar for vijayan121
0
215
Member Avatar for rayden150

Don't worry yourself trying to remember every little method... just memorize the syntax and keep a cheat sheet or a pocket reference with you.

Member Avatar for ceyesuma
0
161
Member Avatar for kanna5836

Why is it that people can never just do their homework on their own? You're not learning anything by having others do the work for you.

Member Avatar for packetpirate
0
177
Member Avatar for packetpirate

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] /** …

Member Avatar for NormR1
0
1K
Member Avatar for Win Myat
Member Avatar for packetpirate

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 …

Member Avatar for packetpirate
0
5K
Member Avatar for alcx88
Member Avatar for XxGrplay3R

First of all, you need to have the font in a directory on your server. Then all you have to do is add a style to your main stylesheet. [CODE] @font-face {font-family: FontName;src: url('location of font');} [/CODE] Replacing FontName, obviously, with the name of the font, and the text between …

Member Avatar for canadian_sars
0
118
Member Avatar for packetpirate

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 …

Member Avatar for packetpirate
0
95
Member Avatar for techno2007

What have you done to research the problem? If you're going to ask for help with the problem, it might help to post the actual problem instead of assuming we already know what it is. We will not write code FOR you... do some work yourself and post your code, …

Member Avatar for techno2007
-1
86
Member Avatar for bookmark

[CODE] static_cast<int>(boxesrequired + 0.5); [/CODE] We're not here to do your homework for you... you can figure out how to use that and why it works.

Member Avatar for packetpirate
-1
112
Member Avatar for djkasmira
Member Avatar for churva_churva
Re: css

I'm assuming that you mean you want to right-align text within an image? Do you mean you want the text to overlap the image? If so, you're going to have to put them within a div container and use absolute positioning.

Member Avatar for packetpirate
0
79
Member Avatar for alex k

If you want an undetermined amount of employees, you won't be able to use an array. Use a vector, instead.

Member Avatar for manojwali
0
120
Member Avatar for GameGuy

Get an FTP client such as FileZilla and connect using the info your webhost provided you... learn to use Google... this is an easy question to answer if you had actually bothered to do any research yourself.

Member Avatar for packetpirate
-1
80
Member Avatar for Baby.D

I noticed that the text on your front page is jutting out from its container... wrap your text, bro.

Member Avatar for packetpirate
0
142
Member Avatar for btbam006

iamthwee... doesn't compile in Visual Studio 2010. I had to make a few minor changes. Here's the revised code. [CODE] //TETRIS #include <iostream> #include <ctime> #include <conio.h> #include <windows.h> using namespace std; enum { KEY_ESC = 27, ARROW_UP = 256 + 72, ARROW_DOWN = 256 + 80, ARROW_LEFT = 256 …

Member Avatar for packetpirate
0
138
Member Avatar for magnumsv

1. system("pause") is not portable... don't use it. 2. Get rid of Dev-C++... it's no longer supported or updated and needs to die. 3. If you can't figure this out or learn to use Google, then go read a book. Don't just jump ahead to the hard stuff if you …

Member Avatar for packetpirate
0
157
Member Avatar for Prasad Bhujbal

We're not going to sit here and walk you through everything you'll need to do to learn C++... here's a good resource for you... http://www.lmgtfy.com/?q=c%2B%2B+tutorials

Member Avatar for packetpirate
0
90

The End.