Jump to content
SubSpace Forum Network

Recommended Posts

Posted

there are tutorials on the site

 

As for what to use, I'm sure wikipedia can help you somehow; check for c++ compilers like Dev-C++, or MS Visual Studio

Posted

Someone should move this to Development Discussion as this topic needs more exposure.

 

Check this place out for a C tutorial that will give you a solid foundation before going on to C++. I also would recommend downloading ebooks that teach C++ (maybe you can find a Dummies version?).

Posted
Yeah, moving this topic out would be best, and I'm only 15, so I'm not to good with programing, I don't have the slightest clue about it, like I don't know what it's used for...
Posted

I recommend starting with c# or java first. That'll teach you the basics of object oriented programming and how everything works and all.

 

C++ is a lot more complicated with exotic structures here and there, no automatic garbage collection, pointers flying all over the place, etc etc. I think it would be easier to follow if you learn that after you got the hang of programming, it's why i used visual basic 6 as my first programming language.

 

Start out small, and work your knowledge all the way up ^^

Posted

Some people think of it the other way around... start by knowing how things work, then move on to things that handle stuff automatically, but you'll know how to use them efficiently.

 

But seeing as you have no programming background at all, starting with visual basic 6 might be a good idea

Posted

I'd personally start with C, it's simple, not Object Orientated, useful, powerful, has free compilers, has loads of source code that you can read through and works on every platform. Also, you'll see traits of C in pretty much any language you learn, so it gives you quite a good foundation. If you are up for reading, actually pick up 'A Book on C' aka 'ABC'. It is a pretty good read, and will show you through everything. Once you understand those basics, move onto OO stuff like Obj-C, C#, Java etc. I got my copy from EBay for a few quid, so it's not exactly damaging to your income (even at 15). If you really can't get your hands on a book, settle with PDF. But, if you've got a short attention span then try to learn something with an online compiler. (read on)

 

Also, as D1 said, Python is a good start, or if you really want something basic yet effective have a look at Ruby. With that you can get the idea of how basic operators and functions work and how to compile properly. It also has an online compiler so you can test your code instantly within tutorials.

 

-L

Posted

I learned mostly from finding open source programs, basic ones. Looking at what they did, and comparing the code they used...

 

Granted this was back in like 99-01 era, so there is sure to be LOTS more info on the web now.

Posted
jGRASP is good as well.. mostly for programming java in, but works well with C++

 

JGrasp is an IDE, not a language blum.gif

 

And if you want to program in java, use JBuilder (based on Eclipse) or Netbeans 6.0. Those 2 are the best IDE's available at the moment

 

I wish that visual studio had implemented the same functionality those 2 offer, refactoring sure would be a lot easier.

 

 

I think the best way to start learning is to start with java, and move on to c#. They're not all that different and c# is a mix of c++ (without the complexity) and java (with added features such as structs, pointers, ...).

 

Unless you want to keep it cross platform, then stay in java blum.gif

 

 

A lot of companies are focussing on webservices now and they either go with the java approach or with the .net approach but for the output it's the same (a webservice in .net can be used with a webservice client in java because it uses SOAP as intermediate xml language as communication).

 

There was a mobile development hype a few years back (yay, my internship is developping a client for Microsoft Dynamics on a mobile platform in .Net ^^), now there is webservices. I don't know what the next thing will be, but it'll probably involve either java or .net again, so you're good with those 2.

 

I think C++ is becoming more and more obsolete, it's fast and complex, true, but most programs don't need to be fast in the c++ sense of the word, and then again, you could always write a dll in c++ that manages the algorithm that needs raw speed (plain c would be even a better choice there) and do the rest in C#.

 

 

Besides, you have to learn to program and that's independent from what language you use (each one is still a dialect from each other anyway). Analogy: you needed to learn to talk, using different languages is a whole different skillset (and easier one)

Posted

VisualAssistX will give Visual Studio all the refactoring tools youd expect from NetBeans and others plus more if you want. Also I would say what you should start with really entirely depends on your personality and the structure of your mind. Some people can start with Java and then move to C++ and unlearn all the bad habits Java and its ilk teach you without much problem. Others can never quite get past the idea that C++ has no garbage collection and you actually have to take some responsibility and keep track of the memory you allocate blum.gif Then theirs starting with C, some people can quickly grasp the idea of Object Orientation and move away from the bad habits procedural programming will cause, others can never get past GOTO blum.gif

 

Either way my personal opinion is that if you can get into and understand C++, you will have absolutely NO problem understanding ANY other language you want from that point on. C++ is (just short of assembly) the most powerful and complex programming language ive ever encountered. Whatever you decide let us know and we can probably point you in the right direction for the language your interested in. If you are still interested in C++ I would suggest Jamsa C/C++/C# Programmers Bible. Its more of a "dive in and get your feet wet" type of book, if you learn that way. It starts off with C but you can skip it if you want and it goes all the way on to C# should you decide that's your particular flavor of choice.

 

If your more of a "learn the concepts first and then do it later" type of person, then I would recommend going to college courses or buying college coding books, they tend to flow more in that direction.

Posted (edited)

Once you've learnt one procedural/OO language, you've pretty much learnt them all, they just have different syntax.

 

C/C++/C#/Delphi/Java/PHP/PERL/Python/Visual Basic.

 

Are all pretty much the same. Ive coded in all of those.

 

You get a bunch of functions (The operators on your calculator eg. + or sin/cos/tan)

and variables (like memory locations in your calculator)

You write code to initialise and manipulate the variables by calling functions to get the results you want. (ie typing into your calculator)

 

There really isn't much more to it.

The only real difference between your computer and your calculator is the number of functions and what those functions do. And when you code you can get the computer to repeat instructions or make choices based on the value of variables.

 

Objects are just handy ways of keeping functions together (and manipulating functions).

 

I would recommend starting with c# or Java as they are "easier" as you dont need to think about how the computer works so much. In C/C++ you have to do all dynamic memory allocation yourself.

 

c# visual studio express 2005 is a really nice program to start with, and you're be able to code stuff that works on most computers.

The great thing about visual studio is its excellent GUI development interface.

 

Microsoft also have a C++ express version.

Edited by doc flabby
Posted

Here is what order I would recommend

 

HTML > Python > C > C++

 

HTML isn't really a language, but it introduces you to some of the stuff.

Python is somewhat easier than C because most of it is built into the built in functions/ect. You don't have to declare variables/choose type of output/whatever and the error system is superb.

  • 1 month later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...