Prog'n aint ezay....or is it?

i’ve been trying to learn to program in c++ and languages of the sort for almost 2 years now with the only success being basic actioscripting and html.

anyone know of some good tutorial sites or books or somtehing that aren’t boring read threws and actually do their job teaching the reader?

any help would be great thanks

c++ is tough to start out with. i fell on my head with it years ago.
actionscript is an awesome awesome first language. the learning curve is so gentle and you can quickly create enough interesting things to keep you interested and learning. (compared to the high point of most c++ books, which is making a crappy, useless checkbook balancer or address book)

from there, i highly recommend java, which is a bit tougher than AS, and a lot stricter, but pretty similar. once you have java down, you’ll be ready to tackle c++.

i’m still on the java phase. and will probably try jumping back to c++ later this year.

so you think to start with actionscript, then head over to java, and then mosy over to c++?

i think it’s a pretty good plan, especially if you are teaching yourself. if you are studying in school, you might be good to go right off the bat with c++.

yeah i’m trying to learn programming. i did hear that you can start with c++ but like you i decided to start easy.

i was wondering what’s the difference between java and javascript?

thanks

more like:

Q: What do Java and JavaScript have in common?
A: the first four letters.

javascript has nothing at all to do with java. not made by the same people, no real similarity other than they are both languages. the name “javascript” was picked to cash in on the popularity of java.

thanks. it had been bugging me because i couldn’t really see many smilarities.

I started with C++ years before I even touched flash. I too found it difficult, just try and think carefully about what you are programming and remember that it is ALL logical.

After nearly 2 years of C++ I found the jump to actionscript very easy - although I am FAR from a guru in it.

If you have problems with Syntax when programming C++ then you don’t have any real problems, if you are trying to make it do something it can’t then u need to learn other ways of how to do it.

Once you understand how to structure it correctly and know its limitations it then becomes easy very quickly.
I can’t honestly say I ever got to this stage :stuck_out_tongue: but I was able to build a multitasking program from it !

Like the dude above said, Actionscript is a good language to start with and is very similar structure to C++ and JavaScript.

haha…yea. what the hell good does a finance calculator do anyway? hah that was one of the programs they had in the book.

don’t get me wrong. i’m sure finance calculators are very useful. it’s just not what i had in mind when i decided to do programming. i mean, you don’t email your friends and say, “doood! check out this cool finance calculator i just made!”

with flash, in about 2 weeks with some good tutorials or books, you can be doing things that are cool enough to email your friends about.

if you want any programming tutorials you should check-out
http://www.programmingtutorials.com/main.asp

bit>>> for how long you’re in AS???
cuz you’r my “hero” :stuck_out_tongue_winking_eye:
i wanna do thingz with AS as you do… TEACH ME MASTER!!!

*Originally posted by Law *
**if you want any programming tutorials you should check-out
http://www.programmingtutorials.com/main.asp **

nice stuff

any good as sites?

haha, programming, and they have listed html ;p

Learn Java if you’re using it as a stepping stone to learn C++, but be aware that it just might be the worst language EVER (yes, even worse than phrench). It takes 30x as long to process something in Java as it does in C++. It’s also takes a bit longer to make a program in java since it is SO picky about semantics and syntax.

Personally, I’d go from Actionscript to C++. But, that’s just me.

If you want some good languages to go into C++ with ActionScript might be … OK to go into it with.

Ehhem… Actionscript deals with the handling of objects that you create by drawing them on screen… And unless you use the drawing api handed to you inside of Flash MX… You’re really only learning a couple of the steps taken towards C++… Albeit… I’d suggest PHP… It requires more of a coding approach to creating things and nothing is really visual about the whole process… Of course if you combine the two you are hjust doing yourself a major favor. The communication between multiple devices is imperative in C++ creation.

I’ve made a couple of dos based games in C++ and I actually went from C++ to ActionScript because of its Webserver capabilities. I was thinking… COol… Programming for the web that moves :beam:

PHP + Flash MX (use drawing api alot)

then go towards…

TCLITE C++… (being a programming language that only allows you to use a veyr minimum of coding memory… you will learn how to optimize your code very early…)

then go towards Borland’s C++…

I personally only use Borlandsbecause it’s a wonderful interface when compared to Visual C++… But only when working with Dos programs… Anything like Windows or DirectX I’m right there on VC++…

After that… Go where your heart desires… The end isn’t very near with C++… You can create anything with this baby… :slight_smile:

playamarz :player:

I learned C++ a few years ago, and it’s not pleasant.

First of all, I learned C, back when I did my A-Levels. C was quite nice really, not object oriented, just a straight programming language. It was pretty easy to pick up. Then I went to University and did C++… That seemed to take all the worst bits of C and programming in general, multiply them and make it even worse. It was OK to begin with once you got your head round OOP, but when we got into pointers it just fell apart.

Then I learned Java, which by comparison was a piece of cake. I guess C++ made me appreciate it a lot more.

As far as book go, I used one by Deitel and Deitel to help with C++, it was very good. “C++ How To Program” it was called.

i started programming a good 6 or 7 years ago with dos. i basically made batch files to do my bidding and that’s where it all started. one thing led to the next and i started learning BASIC, then lightly touched assembly. i didn’t like either of them so i stuck with simple batch files. i later found out that i may actually pursue a career in programming because i liked it so much. i waited for a class to appear in college that had something to do with programming. this first class happened to be programming in Microsoft Access, which is basically Visual Basic. it was only a summer course so i stopped as soon as the classes stopped. then i heard about this “c++” my school was offering so i jumped right on it. i enjoyed it so much i took the next year’s course.

during all this time i’d been messing around with flash on and off. for the longest time, i didn’t want to touch the newly released flash 5 because it lacked the “simplicity” of flash 4, and also had more involved “actionscript” whcih i neglected in flash 4. one day i tried the trial and programmed a moving circle and i knew this program was for me. since c++ didn’t offer anything graphical, so to speak, i knew actionscript was my one chance. i worked up a couple hundred bucks through summer work and bought me flash 5.

so that was my timeline. if you want to do some heavy programming, you should take baby steps: learn visual basic or javascript and get comfortable with it. once you do, head on to c++ if you like. hell, you could even practice actionscript to give you the basic feel for programming. once you think you’re ready, take on c++, then be prepared to write code like this:


#include <stdio.h>

int main(void) {

char * str = "hey i'm writing c++!!!";

printf("%s
", str);

}

…or if you take it at a school, they may most likely have you program like this:


#include <iostream>

using namespace std;

int main() {

cout << "hey i'm writing c++!!!" << endl;

return 0;

}

once you think you’re ready to tackle code like that, head over to www.cplusplus.com and start learning. i still use that wonderful site today for reference.