server_crash 64 Postaholic

I just listed a good CPU and monitor

I've heard of a good $1000 PC, but not an EXCELLENT $1000 PC.

server_crash 64 Postaholic

Hey,
Your replies are annoying me.
Annoying people is much simpler than building them.
This is not expected from a professional.
Plz try to be friendly.
Try to help me rather.
with regards:-|

What's annoying is you can't do a simple calculator program and you want someone else to do it for you.

server_crash 64 Postaholic

Pick up a book and start reading it. Then, when you have a problem try to figure it out yourself. If you can't after some time get it solved, then post back to a forum. Paying for a tutor is a terrible idea. As a programmer you need to solve problems on your own. Learn how to look up information and search google.

server_crash 64 Postaholic

I don't understand this OO-mindedness that people have. Learning CS isn't about learning how to think in an object-oriented fashion, or how to organize things in that particular fashion (because that's just one way of doing it). It's really only about learning how to solve problems -- being able to state problems precisely, and being able to encode algorithms that you could perform ad hoc into precise definitions. This ability comes from thinking about problems, and particularly, thinking about different ways of describing problems and their solutions. It also helps to have a general understanding of how important parts of the computer, like operating systems, work. And for that it greatly helps to have used vastly different languages, from C to Lisp.

This is just patently untrue. Besides rudimentary forms of BASIC, the only popular languages you could jump to are C# and Python, unless you want to willfully limit yourself to a subset of other languages' abilities.

Universities switching to Java is a good thing? I don't feel like listing a rant here, and fortunately, somebody else has replicated my opinion.

I did say as a beginner language. There's no University that front loads their courses with tough theory and complex algorithms.

server_crash 64 Postaholic

I've never heard of an excellent $1000 gaming machine. My monitor and CPU were both about $550 a piece.

server_crash 64 Postaholic

I'm not paying for the problems before they happen (ie: buying an extended warranty). I learned the hard way not to get a Dell. Now, I build all my computers. I get 5-10 year warranties on everything with any added cost and there's a few things with lifetime warranties. Not only are the parts much better quality for the money, but the machine doesn't severly overheat due to poor design like the laptop.

server_crash 64 Postaholic

What does happen? Just out of curiosity...

Single = sign is an assignment statement in almost all languages. Double = is suppose to be for comparison, so if you did this in C++:

if (x = 3)


then it's not comparing x to the value of three, it's setting x to the value of 3.

I'm not asking to start a language war-- I know full well how not to do that :D

I understand the example that you provided. Every language has examples of that-- little "gotchas" that you have to watch out for. C#, a .NET language, does not allow you to do that in an if loop. (It throws a warning/error) I'm genuinely asking for an opinion on a language/language family, and what drawbacks/limitations it may have. If it really takes the thread far off-topic, I'll split it out, but I think if you make a comment to avoid a particular framework, you owe it to provide a good explanation if someone questions. I really think that the original poster would benefit from such an exposition.

The .NET framework has a lot of handy and powerful classes/libraries. I think it's simple enough that you could learn basic syntax and programming technique, but it's powerful enough that you don't have to simply drop the language once you really need to start getting work done.

The biggest reason I despise the language for beginners is because I made the mistake of starting with VB.NET …

server_crash 64 Postaholic

I'm not going through everything or even in detail with it. This thread wasn't started to have a language war.


One example:

If x = 2 Then
  'blah blah
End If

Besides the really old if-then-end if syntanx, what happens if you do the same in about any other language not in .NET platform? I've seen this billions of times. It can occur as an accidental misstype or in a lot of cases from .NET programmers especially vb.

server_crash 64 Postaholic

Not possible. You'll have to use a language like Java to create an applet or create something in .net via active x.

server_crash 64 Postaholic

So what's the exact problem? Is you're frame showing up? Is it registering the click? Is something printed on the button?

PS: I'm sure it's gallons/miles.

server_crash 64 Postaholic

Have you tried setting a virtual directory? What's the exact error message?

server_crash 64 Postaholic

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

server_crash 64 Postaholic

Dim Var1 as string = Me.ListView1.SelectedItems(0).SubItems(0).Text

...

Dim Var5 as string =Me.ListView1.SelectedItems(0).SubItems(4).Text

server_crash 64 Postaholic

I think it depends on the type of application. Java is similar to C++ in style, but you'll notice a speed difference on desktop apps right quick ;) I'd recommend going for .NET unless you're doing some huge applicaiton like photoshop or something.

server_crash 64 Postaholic

Are you sure the average is not the gallons/miles instead of the other way around?

server_crash 64 Postaholic

I have done your homework for you. Please tell me where to send it so you can send it to your professor and get credit for something you didn't do.

server_crash 64 Postaholic

When the page is repainted the whole thing will be repainted, so spliting into sections will not help. Somehow, you'll have to keep static variables to tell your applet what to paint. That shouldn't be so hard.

server_crash 64 Postaholic

I wasn't just referring to the Editor when I said stay away from .NET from the get go. The general syntax and way of doing things is just way to easy and gives the misconception that all languages are that easy and will make you lazy... Doesn't work that way for everyone, but I've seen it happen too often.

server_crash 64 Postaholic

drag and drop?

server_crash 64 Postaholic

First of all, try to make your sentences more clear so I can understand. Secondly, are you sure the client has established a connection?

server_crash 64 Postaholic

If you're just starting out then don't go for .NET right away and stay away from tools that will make you lazy until you actually get a good feel for doing it without the added cushion.

server_crash 64 Postaholic

I recently got hired as a .NET programmer and compared to C++ and Java, it's like a walk in the park. .NET languages are extremelly easy, in my opinion. If I can do it, anyone can do it. You just have to personally want to make it as a programmer.

server_crash 64 Postaholic

Formula for each element:

R!
--------
C!(R-C)!
server_crash 64 Postaholic

Are you talking about providing a application that allows plugins (ie skins)?

server_crash 64 Postaholic

Dream teams fail.

server_crash 64 Postaholic

Just out of curiosity, do you post threads like this because you're incapable of coming up with something original? I sure hope not. It would be a truly sad existence if your only claim to fame is as a middle man providing links to other people's work.

I know something about 'The Dude' that probably only someone else (not mentioning names) and I know. I won't mention it, though.

server_crash 64 Postaholic

What do you mean by interactive? I'm not sure that you can really have such a thing in learning programming. I believe there are some courses that's offered by various companies, but be prepared to pay up to 2K. The best way to learn programming is by picking up a book, reading it, picking up another book, reading it, etc.

server_crash 64 Postaholic

looks an awfully lot like my old crap C code.

server_crash 64 Postaholic

Bjarne's book 'The C++ Programming Language". It has PLENTY of tough exercises at the end of each chapter. Some of them aren't exactly easy.

server_crash 64 Postaholic

I'll probably be in NY sometime in the upcoming spring... Must have lots of women for me to attend.

server_crash 64 Postaholic

set your environment variables.

server_crash 64 Postaholic

I don't like France, Italy or Portugal so I'm not watching anymore world cup. Besides I'm sick of all the actors on the field.

server_crash 64 Postaholic

I'm with you server crash, good ol chess. Where do you play?

www.gameknot.com

Ive timed out on a lot of games so my rating sucks right now.

server_crash 64 Postaholic

Angus?? The guy's name was Angus? Sheeeshh...

What, at least it wasn't Anus.

server_crash 64 Postaholic

I play chess online everyday (mostly with an old friend in Germany who really puts a beating on me sometimes). It's about the only game I can stand anymore. Other things I just cannot get into except for occasionally a soccer or hockey match via console with friends.

server_crash 64 Postaholic

It's my understanding that ::ate places you at the end of the file and allows you to write data anywhere in the file, however, writing to a specific location overwrites what was previously there.. I believe you use seek() or something with that method, but I doubt that's what you're looking for. If you want to append to a file (not at the end) and preverse what was previously there then it's impossible. Go with what AG said.

server_crash 64 Postaholic

Did you add the scrollpane to the tabbedpane and then the tabbedpane to the container? Remember, there is no need to add the textarea to the container since it alread has a 'container' and the same with the scrollpanes if you want them on the tabbed pane

server_crash 64 Postaholic

JTextArea textarea = new JTextArea(params);

JScrollPane test = new JScrollPane(textarea,
                JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, 
                JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);

content.add(test);

server_crash 64 Postaholic

Create scrollbars that with swing constants that suit you, then setWrapStyleWord(true) to the text area. Then add the JTextArea TO THE JSCROLLBAR. (Then the scrollbar to the container)

server_crash 64 Postaholic

Guy walks in a bar holding a big turd in both hands, showing it around and saying: "Look at what I almost steeped on!"

hahhahahhahahahhahahaha

server_crash 64 Postaholic

I'll wait to see what they post here: http://www.daniweb.com/techtalkforums/thread48047.html

server_crash 64 Postaholic

That's meeee.....

You're a fine female too.... geez. fine females all over this forum.

server_crash 64 Postaholic

It's over six years old now, but here is the photo that my avatar is from.

Woh, heeeeelllllooooooooooooooooooo.... You are a fine female speciman.

server_crash 64 Postaholic

When I was around 10-12, my two brothers and I shot each other with acorns and crab apples through our sling shots. We have a hill so we would play "charge the hill", which was meer suicide. The person at the bottom had to run all the way up the hill while being shot at. I remember blooding my brothers face pretty bad one time.. (not that I feel remorseful).... ahh good times.

server_crash 64 Postaholic

blogs don't interest me at ALL in any. I don't know why, but I find the concept to be very weird. I'd rather write a tutorial or do something constructive.

server_crash 64 Postaholic

This was what I thought Salem meant when I saw his reply at first. Is this so much agitating to you?

I think you missed part/most of the defintion:

The deriving of sexual gratification, or the tendency to derive sexual gratification, from being physically or emotionally abused.

I'll just settle this in a PM with this dirt bag.

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

This seemed to work for me:

float num;
        if (sscanf(text,"%f",&num) == 1 && num > 0)
server_crash 64 Postaholic

Think twice before posting things like that.

Oh, believe me, I did. I thought it through really well. I could have filled up a whole page on what I really wanted to say to that....

server_crash 64 Postaholic

But %d is the format specifier to read an integer. So it will read only the integer part of the contents in text . You have to use something like %f or %lf . I dont know what is standard specific ( I thought lf was the correct one for double, but someone said above that it was wrong, but my MSVC compiler only reads double for the %lf specifier) . I also saw some suggestions for a double in the above replies of this thread. you can lookup them.

Wow, that makes me feel dumb. For some reason I was thinking %d for for double. Although, I believe I have tried %f with double and it gave weird results.

Note:
English is not my first language. I dont know if being suggested to be a masochist is offending so much. But I know that being called an asshole is. I think that type of language is uncalled for. Think twice before posting things like that.

Why don't you head on over to dictionary.com and tell me which is worse, what he said, or what I said. I'm still fuming over that. I could have said a lot more but I had some self control.