Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to start??????
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
The_Blue_Wizard



Joined: Thu Aug 11, 2005 8:41 pm
Posts: 2

PostPosted: Thu Aug 11, 2005 8:44 pm    Post subject: How to start?????? Reply with quote

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. Smile
Back to top
View user's profile Send private message
RD
LXF regular


Joined: Mon Jul 25, 2005 3:53 am
Posts: 272
Location: irc.ixl2.net

PostPosted: Thu Aug 11, 2005 8:54 pm    Post subject: RE: How to start?????? Reply with quote

Well i started out with Visual Basic (you can get real basic) then move onto c etc etc, yes use google Very Happy
_________________
[url=irc://irc.ixl2.org/ixl2]irc.ixl2.org[/url]
Back to top
View user's profile Send private message Visit poster's website
alloydog
LXF regular


Joined: Thu Apr 07, 2005 8:32 pm
Posts: 600

PostPosted: Thu Aug 11, 2005 9:09 pm    Post subject: RE: How to start?????? Reply with quote

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
View user's profile Send private message
wiz
LXF regular


Joined: Thu Apr 07, 2005 7:20 pm
Posts: 119
Location: In front of a computer

PostPosted: Thu Aug 11, 2005 10:00 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
RD
LXF regular


Joined: Mon Jul 25, 2005 3:53 am
Posts: 272
Location: irc.ixl2.net

PostPosted: Thu Aug 11, 2005 10:13 pm    Post subject: Re: RE: How to start?????? Reply with quote

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 Very Happy). 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 Very Happy and basic is used in a lot of apps still never mind some Very Happy
Back to top
View user's profile Send private message Visit poster's website
A-Wing
LXF regular


Joined: Tue Jul 05, 2005 8:25 pm
Posts: 460
Location: Wellingborough

PostPosted: Thu Aug 11, 2005 10:28 pm    Post subject: RE: Re: RE: How to start?????? Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
wiz
LXF regular


Joined: Thu Apr 07, 2005 7:20 pm
Posts: 119
Location: In front of a computer

PostPosted: Thu Aug 11, 2005 10:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
The_Blue_Wizard



Joined: Thu Aug 11, 2005 8:41 pm
Posts: 2

PostPosted: Fri Aug 12, 2005 9:25 am    Post subject: Reply with quote

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 Very Happy . But now i'm 13 and i'm feeling lucky. Very Happy

By the way i'm a boy Smile
Back to top
View user's profile Send private message
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Fri Aug 12, 2005 12:38 pm    Post subject: Reply with quote

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 Smile, 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 Rolling Eyes


jm


Last edited by jjmac on Sun Aug 21, 2005 10:58 am; edited 1 time in total
Back to top
View user's profile Send private message
firefox



Joined: Mon Apr 11, 2005 12:21 pm
Posts: 64

PostPosted: Tue Aug 16, 2005 2:41 pm    Post subject: Reply with quote

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? Wink
Back to top
View user's profile Send private message
A-Wing
LXF regular


Joined: Tue Jul 05, 2005 8:25 pm
Posts: 460
Location: Wellingborough

PostPosted: Tue Aug 16, 2005 2:45 pm    Post subject: Reply with quote

firefox wrote:
why not bypass C++ too and go straight to Java? Wink


Isn't that like saying why not bypass an italian resturant and go straight to MacDonnalds? Wink
_________________
Andrew Hutchings, Linux Jedi
www.a-wing.co.uk
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Tue Aug 16, 2005 2:57 pm    Post subject: Reply with quote

A-Wing wrote:
firefox wrote:
why not bypass C++ too and go straight to Java? Wink


Isn't that like saying why not bypass an italian resturant and go straight to MacDonnalds? Wink


... having originally bypassed the best curry house in town! Laughing
Back to top
View user's profile Send private message
RD
LXF regular


Joined: Mon Jul 25, 2005 3:53 am
Posts: 272
Location: irc.ixl2.net

PostPosted: Tue Aug 16, 2005 6:06 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
A-Wing
LXF regular


Joined: Tue Jul 05, 2005 8:25 pm
Posts: 460
Location: Wellingborough

PostPosted: Tue Aug 16, 2005 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Sun Aug 21, 2005 10:52 am    Post subject: Reply with quote

A-Wing wrote:
>>
Isn't that like saying why not bypass an italian resturant and go straight to MacDonnalds? Wink
>>

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 user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast