Can anyone help me learn to program graphics in either Java or C++ (I don't care which) without having to download an external plug-in or framework or engine or something? My computer recognizes Graphics and Graphics2D classes in Java, and I know that my computer support OpenGL, but I don't know if I really NEED GLUT to make things work. I'm used to not using common tools.
Offline
Tell me if you find something. I was looking for the same thing.
Offline
nickbrickmaster wrote:
Tell me if you find something. I was looking for the same thing.
Or you could just check this topic every once in a while.
Offline
Java has it built in, C++ needs a library.
Offline
If you want really basic (and I mean DOS like) graphics, try <graphics.h> in Turbo C++ (There's also a port for Dev C++).
For some rudimentary graphics (2D sprites), sound,keyboard and mouse support you could try HIVE.
http://hiveforwindows.tripod.com/
Other wise, SDL or OpenGL are better.
Offline
Get eclipse (http://eclipse.org/), it helps A LOT! Also, if you can get "Java All-in-One for Dummies"! (Available irl or as an e-book!) It helps TONS! If you need anymore hep just comment on one of my project
Offline
piggy12345 wrote:
Get eclipse (http://eclipse.org/), it helps A LOT! Also, if you can get "Java All-in-One for Dummies"! (Available irl or as an e-book!) It helps TONS! If you need anymore hep just comment on one of my project
So far, I've been fine with TextEdit, and I use Xcode occasionally, and I don't really feel that I need a book when I have Google. I just want a straight answer about how to do this.
Last edited by maxskywalker (2012-01-27 14:47:08)
Offline
maxskywalker wrote:
piggy12345 wrote:
Get eclipse (http://eclipse.org/), it helps A LOT! Also, if you can get "Java All-in-One for Dummies"! (Available irl or as an e-book!) It helps TONS! If you need anymore hep just comment on one of my project
So far, I've been fine with TextEdit, and I use Xcode occasionally, and I don't really feel that I need a book when I have Google. I just want a straight answer about how to do this.
The book helps tons! I can't explain it well.
Offline
Not completely on-topic, but can someone help me get javac to work from command line? I've tried editing the PATH variable and everything, but it still doesn't work.
Offline
16Skittles wrote:
Not completely on-topic, but can someone help me get javac to work from command line? I've tried editing the PATH variable and everything, but it still doesn't work.
Javac never worked for me either. I have to type in the file path to use it.
"C:\program files\java\bin\javac.exe"
Use quotes if there are spaces.
Make sure that you are at the correct file which contains the .java file first.
You command should look something like this.
C:\Users\username\Documents\ "C:\program files\java\bin\javac.exe" myjavaprogram.java
Offline
what-the wrote:
16Skittles wrote:
Not completely on-topic, but can someone help me get javac to work from command line? I've tried editing the PATH variable and everything, but it still doesn't work.
Javac never worked for me either. I have to type in the file path to use it.
"C:\program files\java\bin\javac.exe"
Use quotes if there are spaces.
Make sure that you are at the correct file which contains the .java file first.
You command should look something like this.
C:\Users\username\Documents\ "C:\program files\java\bin\javac.exe" myjavaprogram.java
Ugh that seems like a chore. Also, isn't Javac located in C:/Program Files (x86 (on windows 7))/java/jdk(version number)/bin/javac.exe?
Offline