| View previous topic :: View next topic |
| Author |
Message |
The_Blue_Wizard

Joined: Thu Aug 11, 2005 8:41 pm Posts: 2
|
Posted: Thu Aug 11, 2005 8:44 pm Post subject: How to start?????? |
|
|
OK, i'm new to linux and coding. Where should i start?? Are there any tutorials online for the basics etc. Or any good books to get. I would prefer to start with C++ . But which are the main coding languages?
Thanks in advance.  |
|
| Back to top |
|
 |
RD LXF regular
Joined: Mon Jul 25, 2005 3:53 am Posts: 272 Location: irc.ixl2.net
|
Posted: Thu Aug 11, 2005 8:54 pm Post subject: RE: How to start?????? |
|
|
Well i started out with Visual Basic (you can get real basic) then move onto c etc etc, yes use google  _________________ [url=irc://irc.ixl2.org/ixl2]irc.ixl2.org[/url] |
|
| Back to top |
|
 |
alloydog LXF regular

Joined: Thu Apr 07, 2005 8:32 pm Posts: 600
|
Posted: Thu Aug 11, 2005 9:09 pm Post subject: RE: How to start?????? |
|
|
Well, there's:
C++ Resourses network: and,
Teach Yourself C++ in 21 Days
Which should get you going.
In my experience, it seems C++ is proably the most widely used. Also, Java is pretty strong. Basic is still used to soem degree as well |
|
| Back to top |
|
 |
wiz LXF regular
Joined: Thu Apr 07, 2005 7:20 pm Posts: 119 Location: In front of a computer
|
Posted: Thu Aug 11, 2005 10:00 pm Post subject: |
|
|
If you really want to get going quickly, try Kdevelop & the Qt library.
Qt really tops the list for me * because of the excellent documentation and example programmes that come with it, and of course the excellent series of articles in Lxf by Jono Bacon.
I think one specific example such as the Lxf one is going to be a lot more use than any number of teach yourself books that try to be platform & toolkit independent.
* Other toolkits are available  |
|
| Back to top |
|
 |
RD LXF regular
Joined: Mon Jul 25, 2005 3:53 am Posts: 272 Location: irc.ixl2.net
|
Posted: Thu Aug 11, 2005 10:13 pm Post subject: Re: RE: How to start?????? |
|
|
| alloydog wrote: | | Basic is still used to soem degree as well |
I said Baisc because i dont know his/her level (in terms of how quick picks things up ). Basic is IMO a really good place to start the phrase "Learn to crawl before you learn to walk, then learn to run" comes to mind and basic is used in a lot of apps still never mind some  |
|
| Back to top |
|
 |
A-Wing LXF regular

Joined: Tue Jul 05, 2005 8:25 pm Posts: 460 Location: Wellingborough
|
Posted: Thu Aug 11, 2005 10:28 pm Post subject: RE: Re: RE: How to start?????? |
|
|
PHP is a good one to learn if you want to step up to C. It uses a similar syntax, in fact in some cases only a few minor modifications are required to convert small PHP scripts to C. _________________ Andrew Hutchings, Linux Jedi
www.a-wing.co.uk |
|
| Back to top |
|
 |
wiz LXF regular
Joined: Thu Apr 07, 2005 7:20 pm Posts: 119 Location: In front of a computer
|
Posted: Thu Aug 11, 2005 10:30 pm Post subject: |
|
|
I don't know a lot about Basic. I tried QBasic (and BBC basic about the time the earth was created) years ago and got nowhere with it. It wasn't until I used Pascal that I managed to get a better understanding of how things work.
Basic may do it for you so do a google search on Gambas and try it. |
|
| Back to top |
|
 |
The_Blue_Wizard

Joined: Thu Aug 11, 2005 8:41 pm Posts: 2
|
Posted: Fri Aug 12, 2005 9:25 am Post subject: |
|
|
Well i think i'm actually gonna go with java 2. Since my Dad has experience with it and a tonne of books. The first one i'm gonna do is Java 2 from scratch, which teaches me how to build a stock market analyzer and tracker.
Also when i said was completely new, that wasn't quite true. I have a basic understanding of HTML and when i was 7 i had a go at dark basic, i could create a game where you could move a box around . But now i'm 13 and i'm feeling lucky.
By the way i'm a boy  |
|
| Back to top |
|
 |
jjmac LXF regular
Joined: Fri Apr 08, 2005 2:32 am Posts: 1996 Location: Sydney, Australia
|
Posted: Fri Aug 12, 2005 12:38 pm Post subject: |
|
|
Just try doing some of the examples that come with various documentations, and small tests in general. C would be the most common language found in Gnu Linux environments. But if you bypass C and go for C++ you will really be doing just a better C. One doesn't have to get into all of the more extensive C++ aspects to do C++. Try things like ...
| Code: |
#include <stdio.h>
char * format = "%s",
char *hello = "Hello World...\n";
main()
{
printf ( format, hello );
}
|
then change it to ...
| Code: |
#include <stdio.h>
int main()
{
printf("Simple c test...");
}
|
then to ...
| Code: |
#include <iostream>
using namespace std;
int main()
{
cout << "Simple c test..." << endl;
}
|
Just for the contrasts. If you compile as plus, you will get the extra facilities that come with it, such as a more flexible syntax. One flexability involves not having to supply a "return" for main() And not having to declare everything first before you start to implement. Along with greater scoping allowances. That sounds a bit like a sales pitch in a way , sorry about that, Didn't mean it to (grin)
But I have found ...
http://www.mindview.net/Books/
to be very helpfull, by a Mr Bruce Eckel, it's been a while, but you should be able to find some html sets (tar.gz) to download from there. On both C++ and Java, with excellent included examples.
http://www.research.att.com/~bs/
Will take you to Bjarne Stroustrup's homepage... the horses mouth, so to speak.
Also, running small tests based on things found in the manual pages can also be good practice.
If you have a hobby interest, or some itch, as it is sometimes refered to ... that can be a good source of purpose, for directing small personal projects toward. Something to supply motivation.
What to do first ... i agree with Mr Stroustrup, a person will learn as they do. The mistake often made is trying to understand why it works to early, in every complexed detail but just to get discouraged by a lack of results by cumbersome systems. Something along the lines of the saying "Keep It Simple" is usually best. C++ has the ease and the libraries that can provide those results, by just using it as a better C rather than trying to get into the more extensive aspects. and using the library facilities rather than trying to do everything from scratch. Stroustrup also warns against trying to make it to optimised or perfect to early. Once you have a program working, that becomes the main thing. With C++/C you can readily go back over it and make it more refined/terse. Ok, VB will produce results too, especially in a RAD environment ... but it will also encourage bad habbits due to its lazy and somewhat over compensating nature. I took a lot of initial benifit out of Borlands C++Builder range of IDEs in windows myself, and similar Java environments. All freebes from PCPlus. Windows yes, but still they had lots of examples to exp with, and so were very good. For online tutorials i would check into google for that, but Mr Eckels does have an excellent teaching style with out sacrificing it by being over simplified.
edit: *hello --> char "hello
jm
Last edited by jjmac on Sun Aug 21, 2005 10:58 am; edited 1 time in total |
|
| Back to top |
|
 |
firefox
Joined: Mon Apr 11, 2005 12:21 pm Posts: 64
|
Posted: Tue Aug 16, 2005 2:41 pm Post subject: |
|
|
| jjmac wrote: | But if you bypass C and go for C++ you will really be doing just a better C.
|
why not bypass C++ too and go straight to Java?  |
|
| Back to top |
|
 |
A-Wing LXF regular

Joined: Tue Jul 05, 2005 8:25 pm Posts: 460 Location: Wellingborough
|
Posted: Tue Aug 16, 2005 2:45 pm Post subject: |
|
|
| firefox wrote: | why not bypass C++ too and go straight to Java?  |
Isn't that like saying why not bypass an italian resturant and go straight to MacDonnalds?  _________________ Andrew Hutchings, Linux Jedi
www.a-wing.co.uk |
|
| Back to top |
|
 |
Nigel LXF regular

Joined: Fri Apr 08, 2005 9:03 pm Posts: 1141 Location: Gloucestershire, UK
|
Posted: Tue Aug 16, 2005 2:57 pm Post subject: |
|
|
| A-Wing wrote: | | firefox wrote: | why not bypass C++ too and go straight to Java?  |
Isn't that like saying why not bypass an italian resturant and go straight to MacDonnalds?  |
... having originally bypassed the best curry house in town!  |
|
| Back to top |
|
 |
RD LXF regular
Joined: Mon Jul 25, 2005 3:53 am Posts: 272 Location: irc.ixl2.net
|
Posted: Tue Aug 16, 2005 6:06 pm Post subject: |
|
|
java sucks IMO there are too many versions of the damn thing just move right on to c _________________ [url=irc://irc.ixl2.org/ixl2]irc.ixl2.org[/url] |
|
| Back to top |
|
 |
A-Wing LXF regular

Joined: Tue Jul 05, 2005 8:25 pm Posts: 460 Location: Wellingborough
|
Posted: Tue Aug 16, 2005 6:38 pm Post subject: |
|
|
Java is also a part interpreted language and is therefore slower and consumes more resources.
The compiled form is designed to work on all platforms, in practice I find it hardly works on any. _________________ Andrew Hutchings, Linux Jedi
www.a-wing.co.uk |
|
| Back to top |
|
 |
jjmac LXF regular
Joined: Fri Apr 08, 2005 2:32 am Posts: 1996 Location: Sydney, Australia
|
Posted: Sun Aug 21, 2005 10:52 am Post subject: |
|
|
A-Wing wrote:
>>
Isn't that like saying why not bypass an italian resturant and go straight to MacDonnalds?
>>
rotfl hehehehe
jm _________________ http://counter.li.org
#313537
The FVWM wm -=- www.fvwm.org -=-
Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ... |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|