Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~12.0K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Superfat

Ok, i have been working on a simplistic game for about an hour now. This is what i have so far: [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Game extends JApplet { private int APPLET_WIDTH = 500, APPLET_HEIGHT= 100; private int money; private int owned; private JLabel labelMoney; private …

Member Avatar for VernonDozier
0
12K
Member Avatar for Superfat

Is there a way to tack a variable onto the end of a print.drawString so it would show up like Text: <variable> Or: [CODE]page.drawString ("Text: " object1, x, y);[/CODE] Where object1 is the variable. I tried doing that, but i get an error ")" Expected on that line, i suspect …

Member Avatar for tonyjaa
0
101
Member Avatar for Superfat

Okay, i am trying to figure out how to use the Continue, and Break flow controlls correctly, however i keep getting an error: [code]continue statement not within a loop or a switch break statement not within a loop or a switch[/code] My code: [code=C++]#include <cstdio> #include <cstdlib> #include <ctime> #include …

Member Avatar for Superfat
0
157
Member Avatar for Superfat

I know about using ran() to create a random number between x and y, however i am creating a banking program and i am wondering how to randomly generate a 17 digit pin, then store the pin in an outside file, then have the program check the file for the …

Member Avatar for tesuji
0
169