Forum: Coder's Corner Lounge
Jul 8th, 2008, 6:49 AM
|
|
Replies: 56
Views: 2,517
Re: Is it right to have your child baptised?
Good luck to any guy trying to get a girlfriend in America that's uncircumcised. Obviously I'm not yielding cold hard (no pun intended) facts, however, from middle to high school any sexual...
|
Forum: Java
May 6th, 2008, 9:49 PM
|
|
Replies: 3
Views: 516
video in java
I'm looking into writing a program that requires using video. Not across the Internet, and I would either like to use an already stored video file or live streaming video. I looked into the JMF...
|
Forum: Java
Apr 8th, 2008, 11:36 PM
|
|
Replies: 2
Views: 184
Re: simple GUI assistance
I did exactly what you said for the buttons and that worked great.
For the 2nd question I figured out a different way to get the effect I was looking for.
Thanks a lot for the help.
|
Forum: Java
Apr 8th, 2008, 9:26 PM
|
|
Replies: 2
Views: 184
simple GUI assistance
Hello. I have 2 questions about why my GUI seems to be acting up.
1) I have a few buttons that I'm adding to the south of a BorderLayout. When I run the program only the last button I add shows...
|
Forum: Java
Mar 25th, 2008, 9:48 PM
|
|
Replies: 4
Views: 260
|
Forum: Java
Mar 24th, 2008, 12:15 PM
|
|
Replies: 4
Views: 260
VB Mdi Container in Java?
In VB there is an MDI container property that allows multiple windows to remain fixed inside another window. In which case one window is the parent to child windows. The child windows open inside...
|
Forum: Visual Basic .NET
Nov 19th, 2007, 3:36 PM
|
|
Replies: 2
Views: 278
Problems with Date objects
I'm writing a program that's interacting with a database that has two tables. The table relevant to my question is my customer table, which has a Date/Time field that expresses the current customers...
|
Forum: C++
Apr 30th, 2007, 3:25 PM
|
|
Replies: 2
Views: 144
Ah, I knew that, that was completely foolish on...
Ah, I knew that, that was completely foolish on my end. I was thinking along the lines of the ending node pointing to null.
Thanks for pointing that out, I changed the NULL to the .end() of my list...
|
Forum: C++
Apr 30th, 2007, 1:29 PM
|
|
Replies: 2
Views: 144
linked list seg fault
The code I'm writing goes through a linked list looking at each node. If it encounters a node with an ID (a char) that's a period, to look at the next node, if that node also has an ID of a period...
|
Forum: C++
Apr 26th, 2007, 10:59 AM
|
|
Replies: 1
Views: 159
|
Forum: C++
Apr 25th, 2007, 2:34 PM
|
|
Replies: 1
Views: 159
OS Simulation Help/Error
Maybe I'm blind but I cannot see why this error is occurring. It generates
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
I'm at the...
|
Forum: Java
Apr 25th, 2007, 2:17 PM
|
|
Replies: 3
Views: 193
Good call. I figured it out.
I moved the code...
Good call. I figured it out.
I moved the code with JFileChooser into a function, then whenever the button was selected, I just added an anonymous listener that called the function, it got me...
|
Forum: Java
Apr 24th, 2007, 1:02 PM
|
|
Replies: 3
Views: 193
event handeling assistance
I have a menu bar with some menus, file->open, new, save..etc. But I also have a tool bar that I placed buttons on for open, new, save..etc.
My problem is I'm not sure how to have these buttons...
|
Forum: Coder's Corner Lounge
Apr 2nd, 2007, 11:40 AM
|
|
Replies: 27
Views: 441
|
Forum: Java
Mar 27th, 2007, 1:43 AM
|
|
Replies: 1
Views: 142
Blinking Text
What would require to make a label's text color blink for a few seconds?
I tried to do a loop that looped through, incremented and used a mod operator to see when it's even change it to one color,...
|
Forum: Java
Mar 6th, 2007, 8:02 PM
|
|
Replies: 1
Views: 122
|
Forum: Java
Mar 6th, 2007, 3:27 PM
|
|
Replies: 1
Views: 122
simple question
I have a label thats in a panel in the southern portion of a border layout. The panel is blue, but I need to have the label's background to be white.
I'm confused because I'm doing...
|
Forum: C++
Dec 5th, 2006, 10:35 AM
|
|
Replies: 6
Views: 181
I got the errors figured out. The outside for...
I got the errors figured out. The outside for loop was not needed. Got rid of that, made the necessary changes to accommodate for the iterator having now vanished with the dismissal of that for...
|
Forum: C++
Dec 4th, 2006, 2:09 PM
|
|
Replies: 6
Views: 181
Yeah they are two way. If the user enters an...
Yeah they are two way. If the user enters an edge and chooses that it's undirected, I just call the edge function twice and flip-flop the parameters(which are the vertices) so an edge is created...
|
Forum: C++
Dec 3rd, 2006, 8:42 PM
|
|
Replies: 6
Views: 181
|
Forum: C++
Dec 3rd, 2006, 7:51 PM
|
|
Replies: 6
Views: 181
graphs - breadth first traversal help
I'm working on a graph that the user creates by entering vertices and edges at their liking. The user defines where the traversal starts by entering a vertex (which is T data in the header of the...
|
Forum: Assembly
Nov 26th, 2006, 11:32 AM
|
|
Replies: 0
Views: 141
sparc error help
Working in Unix. Sparc architecture.
I'm using a makefile to compile 4 seperate files, main.m, eval_poly.m, print_A.m, read_A.m.
I'm completely lost as to what the following error is saying. My...
|
Forum: Assembly
Oct 25th, 2006, 5:15 PM
|
|
Replies: 5
Views: 218
|
Forum: Assembly
Oct 25th, 2006, 2:58 PM
|
|
Replies: 5
Views: 218
sparc error help!
I'm getting this error which I personally don't get much help from...
Undefined first referenced
symbol in file
i ...
|
Forum: Assembly
Sep 27th, 2006, 6:23 PM
|
|
Replies: 4
Views: 338
|
Forum: Assembly
Sep 27th, 2006, 5:08 PM
|
|
Replies: 4
Views: 338
|
Forum: Assembly
Sep 27th, 2006, 2:18 PM
|
|
Replies: 4
Views: 338
loop problem!
The loop wont work? This is my first program in assembly and I'm getting frustrated as all hell. It reads the data correctly, but it just wont loop. scanf returns into %o0 the amount of pieces of...
|
Forum: C++
Sep 26th, 2006, 9:08 PM
|
|
Replies: 1
Views: 141
recursion hw help
Write a recursive function to print a list in reverse..
void f(list<int> &l, list<int>::iterator itr)
{
if(itr != l.end())
f(l,itr++);
itr--;
cout << *itr;
}
|
Forum: C++
May 1st, 2006, 8:15 PM
|
|
Replies: 10
Views: 318
|
Forum: C++
May 1st, 2006, 7:06 PM
|
|
Replies: 10
Views: 318
debug=-g
p4: WordData.o WordDatum.o...
debug=-g
p4: WordData.o WordDatum.o LinkedList.o p4.o
g++ -o p4 p4.o WordData.o WordDatum.o LinkedList.o $(debug)
p4.o: p4.cpp WordDatum.h WordData.h
g++ -c p4.cpp ...
|
Forum: C++
May 1st, 2006, 5:56 PM
|
|
Replies: 10
Views: 318
Here are the errors.
p4 error LNK2020:...
Here are the errors.
p4 error LNK2020: unresolved token (0A000037) LinkedList<WordData>.__dtor
p4 fatal error LNK1120: 1 unresolved externals.
---------------
I didn't include temp.cpp because I...
|
Forum: C++
May 1st, 2006, 5:14 PM
|
|
Replies: 10
Views: 318
|
Forum: C++
May 1st, 2006, 4:30 PM
|
|
Replies: 10
Views: 318
VS C++ .net help
My programming class that I'm in works out of Unix. Which, I can't stand, so I use VS .net. My teacher has us use a 'makefile' to compile. Now, I'm getting linker errors in my program, which...
|
Forum: C++
Mar 28th, 2006, 7:31 PM
|
|
Replies: 2
Views: 168
pointer to array of a class
I want to make a pointer in one class that points to an array of another class.
Will this code
//in classA
private :
classB *thePointerToClassB;
|
Forum: C++
Mar 27th, 2006, 10:05 PM
|
|
Replies: 12
Views: 409
|
Forum: C++
Mar 27th, 2006, 7:58 PM
|
|
Replies: 12
Views: 409
That answered my question.
I overloaded >> to...
That answered my question.
I overloaded >> to take the stream (reference) and a "WordData" object, which is word in my code example. I wasn't sure if putting code such as an overload, which does...
|
Forum: C++
Mar 27th, 2006, 6:15 PM
|
|
Replies: 12
Views: 409
|
Forum: C++
Mar 27th, 2006, 5:36 PM
|
|
Replies: 12
Views: 409
|
Forum: C++
Mar 27th, 2006, 4:51 PM
|
|
Replies: 12
Views: 409
|
Forum: C++
Mar 27th, 2006, 4:25 PM
|
|
Replies: 12
Views: 409
while loop question
while ( src >> word){ //code };
In this case, does (src >> word) actually do my overload for >>? Or does it just check if it's possible, then enter the loop?
I hope that makes sense...!!
Thanks!
|