Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - My Computer Programming 11 Class.... | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Nebetsu

Shmee
Level: 55

Posts: 965/1574
EXP: 1291130
For next: 23059

Since: 09-01-04
From: Nebland

Since last post: 3 hours
Last activity: 1 hour
Posted on 02-08-05 07:05 AM Link | Quote
Well basically I went into the CP11 class because I wanted to do C++. So all through the semester, I'm waiting excitedly to take a C++ class. The teacher said that we most likely would be doing C++. At the last minute, everything goes wrong. Turns out we're doing Java. All I know about it is that it runs REALLY slow on my computer and isnt for people who want to make programs that will run very quickly and efficiently. Can anyone give me some more on what to expect for the course?
windwaker

Ball and Chain Trooper
WHY ALL THE MAYONNAISE HATE
Level: 61

Posts: 1114/1797
EXP: 1860597
For next: 15999

Since: 03-15-04

Since last post: 4 days
Last activity: 6 days
Posted on 02-08-05 07:34 AM Link | Quote
Well, one usually takes Java before they take C/C++; I doubt you'll do Java the entire time.
Black Lord

Level: 34

Posts: 175/453
EXP: 235639
For next: 18012

Since: 03-15-04
From: Nebraska, what's a Nebraska

Since last post: 8 days
Last activity: 1 day
Posted on 02-08-05 07:43 AM Link | Quote
be glad your school offers more then just qbasic... plus if you want to C++ that bad just find some tutorials...
Nebetsu

Shmee
Level: 55

Posts: 968/1574
EXP: 1291130
For next: 23059

Since: 09-01-04
From: Nebland

Since last post: 3 hours
Last activity: 1 hour
Posted on 02-08-05 08:31 AM Link | Quote
Originally posted by Black Lord
be glad your school offers more then just qbasic... plus if you want to C++ that bad just find some tutorials...


I LOVE QUICKBASIC! You probably could tell from my layout anyways, but its awesome!!!!

I would take QuickBasic over Java any day. At least QB runs well on my computer!
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 2067/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 02-08-05 11:53 AM Link | Quote
as for slow--java is mostly for server or cross platform applications. using to write a CPU demanding game is usually out of the question but there is a debate between C vs. Java so yeah. To me, they are equally as fast with computers today. But C is more efficient since it compiles to CPU code while Java must run through an interpreter. Slowness also is influenced by computer make up--Java runs just fine for me but if the HD is going constantly then well, it is almost impossible to run.

Anyways, Java (to me) is the best way to learn Object Oriented Programming. C++ has nasty syntax that doesn't make it kind to OOP learning.


(edited by neotransotaku on 02-08-05 07:53 AM)
dan

Snap Dragon
Level: 43

Posts: 404/782
EXP: 534516
For next: 30530

Since: 03-15-04

Since last post: 20 hours
Last activity: 14 hours
Posted on 02-08-05 02:58 PM Link | Quote
Once you learn Java, it shouldn't be too hard to learn C++. In fact, once you learn any object orientated programming language, it's not hard to learn another one.
Jesper
Busy, busy, busy.
Level: 69

Posts: 1889/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 02-08-05 04:26 PM Link | Quote
What dan said is true. I couldn't program any of Java, Objective-C and C# two years ago. Can now.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3147/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-09-05 06:53 AM Link | Quote
Ugh, this same thing happened to me. They mentioned C but we ended up with Java and Turing instead. But the next year, we did VB6. I don't think my mark ever dropped below 90 that year. The teacher would look at my code and just walk off confused, it rocked.
Nebetsu

Shmee
Level: 55

Posts: 981/1574
EXP: 1291130
For next: 23059

Since: 09-01-04
From: Nebland

Since last post: 3 hours
Last activity: 1 hour
Posted on 02-09-05 07:38 AM Link | Quote
Yeah. The thing is: Here VB6 is Computer Programming 10. I dont think we'll be doing it in Computer Programming 12.
Squash Monster

New Age Retro Hippie
Togateiru Fohku Kohgeki!!
GRUNGE no HAMSTER otona bite
Peace love and turnpike!

Level: 40

Posts: 531/677
EXP: 430507
For next: 10802

Since: 03-15-04
From: Maryland (of the Country Between Canada and Mexico)

Since last post: 5 hours
Last activity: 5 hours
Posted on 02-10-05 08:33 AM Link | Quote
My school did the same thing with our Computer Science class. However, it has turned out to be a blessing, as Java is really bloody spiffy.

Java does all the object oriented types of things very well, and it has a metric crapload of useful classes to help out.

Also-
Originally posted by neotransotaku
using to write a CPU demanding game is usually out of the question
Pshaw to that. I've been programming a game in Java.

http://squashmonster.tripod.com/Treasure/treasureGameSSA.png
http://squashmonster.tripod.com/Treasure/treasureGameSSD.png

3D graphics are usually considered to be CPU demanding, but I've not dropped below 60fps yet. You could compare VB to assembly for all it matters -- the way you program it matters a lot more than the innefficiency of nearly any programming language (unless you're using something intentionally lousy like Whenever or whatever the one I'm thinking of was called).

Say Java took 1.5 seconds for what C++ did in 1 (that's way overkill, I'm sure). Now say you have a generic RTS with two sides, with n units on each side trying to find the nearest enemy. That's 2n^2 times through some logic in a for loop with the most obvious way of programming it. If you quickly made a grid and put the ID of each unit at its location, however, you would have to go through some logic 2n times. If you had 10 units on each side, that's 200 vs 20. That's 10 times, not 1.5 -- in almost every case, the difference in efficiency between any two languages is negligable.
loadingNOW

Red Paragoomba
Level: 14

Posts: 49/61
EXP: 10382
For next: 2689

Since: 07-15-04
From: Silent Hill

Since last post: 136 days
Last activity: 3 days
Posted on 03-16-05 07:42 PM Link | Quote
a very simple example:
when calculating 2^100 you can do it with a loop - simply mulitplying with 2 100 times. well needless to say this way sucks unless your exponents are very small. 100 mod 2 = 0 so we can do 2^100 = (2*2)^50 = (4*4)^25 = 16^24 * 16 = (256^12)*16 = 65536^6 * 16 = ...
simply checking if the exponent is odd or even does the trick

so if you program algoritm 1 in c and 2 in basic the basic version will be faster for big exponents.

of course if you're positive all your algorithms are great you can go ahead and kill overhead by using c or even asm.

of course this is just an example - you normally use very optimized standart libs for something like this.
Gavin

Fuzzy
Rhinoceruses don't play games. They fucking charge your ass.
Level: 43

Posts: 556/799
EXP: 551711
For next: 13335

Since: 03-15-04
From: IL, USA

Since last post: 13 hours
Last activity: 13 hours
Posted on 03-18-05 09:03 AM Link | Quote
Originally posted by neotransotaku
as for slow--java is mostly for server or cross platform applications. using to write a CPU demanding game is usually out of the question but there is a debate between C vs. Java so yeah. To me, they are equally as fast with computers today. But C is more efficient since it compiles to CPU code while Java must run through an interpreter. Slowness also is influenced by computer make up--Java runs just fine for me but if the HD is going constantly then well, it is almost impossible to run.

Anyways, Java (to me) is the best way to learn Object Oriented Programming. C++ has nasty syntax that doesn't make it kind to OOP learning.


sure, if you're retarded . if you're anywhere close to a half-decent programer there really isn't much that should throw you for a loop in C++. it's a fairly straight-forward syntax, even if used for an introductory language (which i'd actually recommend). and personally, as far as java is concerned, i feel that limiting the programmer to one, and only one code structure is pretty fucking retarded.


(edited by Gavin on 03-18-05 12:04 AM)
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 2679/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 03-18-05 11:21 AM Link | Quote
Originally posted by Gavin
sure, if you're retarded .
I know I am, you don't have to remind me

Originally posted by Gavin
if you're anywhere close to a half-decent programer there really isn't much that should throw you for a loop in C++. it's a fairly straight-forward syntax, even if used for an introductory language (which i'd actually recommend). and personally, as far as java is concerned, i feel that limiting the programmer to one, and only one code structure is pretty fucking retarded.
Yeah, the syntax is straightforward enough for introduction. But when you start using the more advance stuff of friends, virtual, and company it becomes confusing to learn. The same stuff I can do in Java can be done in C++ but it seems a pain to do so.

Java has one code structure...then what kind of code structures does C++ have?
loadingNOW

Red Paragoomba
Level: 14

Posts: 50/61
EXP: 10382
For next: 2689

Since: 07-15-04
From: Silent Hill

Since last post: 136 days
Last activity: 3 days
Posted on 03-18-05 10:50 PM Link | Quote
it's a pain to do java stuff in c++? eh? no. the whole cpp is hard stuff is just a myth it's not that hard. all these crappy apis are the hard part but c++ it'self isn't.


(edited by loadingNOW on 03-18-05 01:51 PM)
||bass
Programmer Admin
Level: 44

Posts: 240/817
EXP: 570813
For next: 40472

Since: 03-15-04
From: Salem, Connecticut

Since last post: 26 days
Last activity: 11 days
Posted on 03-18-05 11:01 PM Link | Quote
If you're interested in doing Managed C++ (.NET) then take the Java class. The C++ will be so easy to learn once you know Java, you'll be able to teach yourself everything you need to know within a few days.
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 2687/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 03-18-05 11:36 PM Link | Quote
Originally posted by loadingNOW
it's a pain to do java stuff in c++? eh? no. the whole cpp is hard stuff is just a myth it's not that hard. all these crappy apis are the hard part but c++ it'self isn't.
APIs are fun because there is no point in re-inventing the wheel although, it's a pain to work with Object

anyways, it's just preference--there are certain things in Java I dont' need to worry about in C/C++ and vice versa. That is why it's easier for me to develop in Java because of technical errors I didn't account for in C/C++... oh well, program the way you want and I'll program my way
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - My Computer Programming 11 Class.... | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.012 seconds.