No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
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 … | |
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 … | |
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 … | |
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 … |
The End.