Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Hi! I want to learn how to make progarams...


  • Please log in to reply

#16
duckie

duckie

    Member

  • Member
  • PipPip
  • 15 posts

fespite what people have told me....
i have started to do java
but everytime i try extracting it....
it gives me a message like -

C:\>java compiler add.java
Exception in thread "main" java.lang.NoClassDefFoundError: compiler

why the [bleep] does it do that?
i cna't get it to work...

View Post

Because you have the wrong syntax. "java" is for running the program. It thinks "compiler" is your class name. The proper command to compile your class is:

javac add.java

This will make add.class, then you can run it with "java add [any param here]"
  • 0

Advertisements


#17
jenna7

jenna7

    Member

  • Member
  • PipPip
  • 44 posts
I taught myself Visual Basic when I was 12 years old. I liked it because it was simple and I could create what I thought were pretty cool programs fairly easily. I then took C++ in high school. I will graduate in a year with a major in Computer Information Systems. The degree requires only one C++ class and two in Java. They do seem to be phasing out C++ in favor of Java, which is fine with me. I would recommend books in the "Teach yourself in 21 days" (though you might want to proceed a little slower) or "Dummies" series to start with.

Jenna
  • 0

#18
jweinraub

jweinraub

    Member

  • Member
  • PipPip
  • 21 posts
i also just graduated with a BS in CS last spring. My school is still very much focusing on C++. Even though the AP classes in HS are doing Java, the freshmen level courses at my school are still focusing on C++. I never took Java, even when it was offered as an elective. I think C++ is more powerful, and as somebody already stated, if you write the C++ code, it is equally portable to any OS. That is the purpose of the ISO standard. Don't use the system calls (esp what .net offers).

However, I am now learning C# by myself and it seems like a good language. If I were you, I'd learn C# as it seems like its going to be the future, at least in Wndows programming.

It depends where you want to be making money in this field. PHP is a great web scripting language, with mySQL. I rather do things in PHP than PERL anyways.

For Linux development I do things in C++/Qt.

For Mac OS X development I prefer the objective-C/Cocoa route.

Windows development I havent made up my mind yet on C# over C++. I prefer C++, but its awkward using .net features in that language, it doesnt seem natural. VB.net, though now a better language, its probably good for beginners.

But there is no reason why a beginner cant learn C++.

This was my textbook used when I was in college. Though I used the 2nd/3rd editions, this is a great book, offers a lot of examples and explains the code very well. It is pricey but a good book to have for reference and to learn from.

Good luck!
  • 0

#19
lilhawk2892

lilhawk2892

    Member

  • Member
  • PipPipPip
  • 128 posts
i just turned 13 ive known html since i was about 10 so dont say your to young u could be 5 for all anybody cares if u can read and write your half way there
  • 0

#20
jweinraub

jweinraub

    Member

  • Member
  • PipPip
  • 21 posts
is that comment referring to mine? i'm 24, and i said nothing discriminatory about anyone being too young.
  • 0

#21
lilhawk2892

lilhawk2892

    Member

  • Member
  • PipPipPip
  • 128 posts
no not you the topic starter
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP