server_crash 64 Postaholic

Ohh, you have an environment variable issue. Check the java.sun site to get the latest info on how to correctly set your variables.

server_crash 64 Postaholic

Is this the reason why these books never mention the complexity of scanf function, never mention that using gets after scanf may result in disaster, never mention that fgets is the best way to take in strings, never mention that fflush (stdin) has undefined functionality ?

You know of a C++ book that goes over that stuff in detail?

I was just wondering if people could tell me what they think is the best way to learn C++, and link to some tutorials maybe? Recomend a book, ect.

I prefer Brad Jones' "Teach yourself C++ in 24 days".... In my opinion it covers material better than any other C++ book I've read. "The C++ Programming Language" by Bjarne Stroustrup is excellent, but you'll probably want a little knowledge before getting into that one.

server_crash 64 Postaholic

write a chat program, that's something nobody else is doing!

baaaaaawhhhahhahhahahaha.


What about one of those fart noise makers? Press a button and it makes a fart noise. Have it select a random fart each time the button is pressed. You could also make it a web service where users can submit their farts to your fart database.

server_crash 64 Postaholic

Why couldn't you split your code into seperate methods and execute a certain method when you need it? As Wolf said, goto is bad practice and I consider it old school :cheesy:

server_crash 64 Postaholic

I recommend a project ideas generator to help people like you.

server_crash 64 Postaholic

A- ha ha ha. What you say is pure gold server_crash. I'm adding to your rep.

Hey, ya know, what's wrong with a little excitement? I knew YOU would understand:cheesy:

btw, what are the specific reasons why you need to use miracle c dude?

Personal reasons. I was testing something stupid, but I just dropped it. I like Dev C++ too much.

iamthwee commented: gold +1
server_crash 64 Postaholic

I'm shitzo so I can't tell what's real. I think I'm a wildebeast sometimes.

server_crash 64 Postaholic

I thought it was easy, but if you don't know OOP then you're screwed. That's all the test is.

server_crash 64 Postaholic

Either schools are teaching programming at a much younger age these days, or English class is ignoring grammer.

English classes everywhere are ignoring grammar and all of India thinks they are cut out for programming. I can tell you first hand that English teachers spend more time on stupid crap like poetry than on grammar.

Salem commented: Depressingly correct on both points. +17
server_crash 64 Postaholic

Ok, we didn't ask your opinion, if you are not wanting to SIGN the petition, you shouldn't post in here.... thanks.

Wow... Who crapped in your cereal?

christina>you commented: lol +15
server_crash 64 Postaholic

There's no relation. You can make about any object simulate a simple physics vector, but a C++ vector is just a container. If the name was different would you still think there's a relationship?

SpS commented: Rightly Said +1
server_crash 64 Postaholic

Only opened by your program? You can save something as a different extension, but other programs will be able to open it and probably easily decipher the contents, especially if it's just text.

server_crash 64 Postaholic

I think you got it backwards.

compareTo() is used to compare Objects. It tests if THIS object is of the same type as the parameterized object. For instance,

String s = "t";
String s2 = "sdfsa";

s.compareTo(s2); ///would be true

.equals() compares the contents of the object. For instance,

String s = "t";
String s2 = "sfsdf";
s.equals(s2); // would return false.... "t" is not equal to "sdfdf"

hooknc commented: Thanks for catching my mistake. (b) +1
server_crash 64 Postaholic

It works like this: People get mad at posts, so they give you negative reputation. I kind of like that though. I'm getting close to having a red bar.

server_crash 64 Postaholic

You always make me feel bad after a mean comment...Sorry!


Anyways, I'm just plain sick of hearing about it. It's all over the news. I just don't get why that women and other people let the war have so much affect on them. Why don't they let it go, support what's going on and shut up?

Catweazle commented: The about face brought a smile! +9
server_crash 64 Postaholic

JDialog. It will be just like creating a JFrame, but it's a dialog. A bit more complex, but it will do the job.

joshSCH commented: haha.. Thanks for helping me out when I was a complete idiot :) +7
server_crash 64 Postaholic

I don't think you want JTextFields. Look up JOptionPanes. They give you many options to get input from the user via an input box.

Rashakil Fol commented: That's an answer! +8
server_crash 64 Postaholic

If I didn't get it all, let me know.

freesoft_2000 commented: Thanks For The Help +2
server_crash 64 Postaholic

I've had two minus rep on the 22nd of april for no reason in a word game... these rep arent used properly thats for sure...

It seems like nobody has got anything else to say about piracy...

I'll give you some positive rep. It's funny but stupid how some people are treating this. It's like, people don't understand that when your in a debate, you argue with people.

belama commented: returning the favour thx dude +1
server_crash 64 Postaholic

Yes, they violated UN sanctions about monitoring, but is that a reason to go to war and send large amounts of people to their death?

And you were the one telling me to read a history book? Take a look at numbers. This has been one of the most succesful wars ever. Can you name a war that had fewer deaths than this one,and accomplished the "cause"? Don't think so.

You implicitly include hints that intervention is a bad thing. If you haven't realized it, read your responses again. Pretty obvious, even to the dumbest. Support is intervention, right? and your going off about us supporting Israel? You preach Isolationism... A concept that doesn't work in this day and age.


By the way, you know America is hated across the middle east because we represent everything they are against, and don't have..in which they envy us...But of course you didn't know that..


Now, you were ranting about Africa and genocide, but your not even sure if it's still going on today? What's up with that?

server_crash 64 Postaholic

All I was doing was giving help. I don't think it does the entire profession a great dis-service? I mean, it's just weeding the people out that wont make it. If I supply him with some code and he turns it in, it's his problem. I've done my part of helping, and that makes me happy. I don't give a crap what he does after that. If he decides not to learn and just get help with everything, then it's his butt later on, NOT mine. That code was like 7 lines long, and I get criticized for that? I've seen people give some like a whole page long, but nothing said to them. So, if you don't like me because I'm helping someone out, don't post some message criticizing me for helping, because I'm not going to change anything I do.

server_crash 64 Postaholic

The first part that DMR posted would probably be very sufficent security, and as long as you specify the number of connections and the allowed mac address', I would say that would be sufficent. I mean, I would do whateven DMR says in the second half of his security tutorial though.

server_crash 64 Postaholic

Here's a real example of it:

class UCase
{
  public static void main(String[] args)
  {
	String s = "This has Three Upper case characters";
	int upperCaseCount = 0;

	for (int i=0; i<s.length(); i++)
	{
    		 for(char c='A'; c<='Z'; c++)
    		{
        		   if (s.charAt(i) == c)
          		   {
                    		upperCaseCount++;
          		   }		
     		}
	}
	System.out.println(upperCaseCount + "");
  }
}
server_crash 64 Postaholic
JTextField.setHorizontalAlignment(JTextField.RIGHT);
server_crash 64 Postaholic

Thanks DMR, I'll have a look at them after school.

Note: Linksys has been making me mad the past few days also. :twisted:

server_crash 64 Postaholic

This is just a general question. I was wondering how you can make programs compile and run quicker? Does it have to do with the primative type you use or what?