Seeking information on multidimensional vectors
I am trying to learn about vector<vector<int>> some_name and im not finding much information about accessing the elements. I got some decently obscure information pointing towards using...
View ArticleExiting loops in C++
Hi, I am working on a Project called math Ops and using alot of While and Do while loops in it. But here is my question. Is there a way to exit the loops without having questions and start back the...
View ArticleWhy is my variable undefined
I am trying to put together a program and would love someone to tell me why it is saying that my variables in my methods are undefined when they are defined in the class. The ones that are giving me...
View ArticleHashcode
key: Hashcode Algorithm Hashcode Alex A(1)+L(12)+E(5)+X(24) = 42 Dirk D(4)+I(9)+R(18)+K(11) = 42 This is an example from my text book. Both names with be found the the same bucket as their Hashcodes...
View Articlegui components in java game
Is possible to add a component into graphic frame? I had an idea to add JProgressBar, which I will use as health bar above players heads.
View ArticlePictures don't display in Oracle Java Tutorials
I'm looking at the online tutorials at http://www.oracle.com/technetwork/java/prog-140388.html The pictures only display placeholders; must be some graphic utility not loaded?
View ArticleError when trying to access a Textbox on a User Control
I created two user controls with different user interfaces. Depending on a selection the user makes, one of these interfaces will be used in my class. Since I don't know until after the user makes a...
View ArticleJava program to output start time and time after that in intervals
Hi everyone! I need help writing a program to get a starting time from the user, getting a period from the user, getting the number of points from the user, and outputting the number of points the user...
View ArticleEnvironmental Variables in to Array List
Problem: Cannot put environmental variables into a neat list on output: Tried solutions: Thought an array list might work, however i am struggling to understand how i would go about it. The working...
View ArticleJtable - reading from file and splitting data
I know how to read text from a file line by line. But I would like to get data from a file to the Jtable using a better method such as a for loop or a while loop. Basically, the jtable has 4 columns....
View ArticlePHP table output restyling
I have a php output to a table format. I'm trying to get google docs excel to query the result and display the output... example if output is true, it displays YES, else it display NO. What would be...
View ArticleHaving trouble with proper syntax for sql update statement.
Hi, I'm having a problem with updating multiple fields in the same row without updating one field at a time in the sql statement. Basically what would be the proper syntax for combining both...
View ArticleJFrame to JApplet
Good Evening, i have this public class Game extends JFrame { public Game(){ //code here } public static void main(String[] args){ Game new =new Game(); } } how i turn this into a JApplet ??
View ArticleVariables from different class as array arguments
I have spent the last hour trying to get public class Moving { private int myY = 0; private int myX = 0; public void coord( int x, int y ){ x = 0; y = 0; myX = x; //these variables (x and y) myY = y; }...
View ArticleXNA "SoundEffect" Issues...
Basically, this sound won't stop playing when I release the mouse left click button. But it should. No errors, it just doesn't work. Ideas? SoundEffectInstance c4soundsf = C4Sound.CreateInstance(); if...
View ArticleHow to make a g.fillrectangle dissapear on a doubleclick
hi all , so i have to make the user click once to make the rectangle appear where it clicks and then when you double click it is supposed to dissapear, i thought maybe to just translate it but in same...
View Articleproblem with php shopping cart
Hi, I am new to programming in php and I am having a couple issues. I followed a tutorial on building a php shopping cart and I am trying to add an option to choose a size in the shopping cart. On the...
View ArticleJava Zero Day
Critical Java Zero Day Bug is being massively exploited in the wild via ArsTechnica ... Again? TL;DR: disable java, and scan for viruses. Fully patched Java? Doesn't matter, you're still shafted. On a...
View ArticlePHP's Bad Reputation
I came across this article discussing why PHP has a bad reputation. A lot of it came down to developers using poor practices. This excerpt: Copying internet tutorial code and not reviewing it struck me...
View ArticleNetworking application in regards to boolean
Hi everyone, Thanks for taking your time to read my post and double thanks for giving some input! We have two programs, I understand the datagram socket/packet, byte, send() and receive() methods.I...
View Article