LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2003, 11:19 PM   #1
paladins_r_1
LQ Newbie
 
Registered: Sep 2003
Location: USA
Distribution: Windows For now
Posts: 27

Rep: Reputation: 15
Lightbulb Linux or Windows?


Hello all
I have decided after approx. 2years of playing and trying to get familar w/ pc's to teach myself C/C++. My Question is which would be easier to learn from Windows (which i am pretty fair with) or Linux (which i only know what i have read)? i have Visual Studio as well as some other progy's to try and learn but still wondering what is the best way to self learn C/C++? i started "The Art of Assembly" and made it near the end of chapter 3. then relized i really need to learn C/C++ before i continued lol . anywho any help is appretiated. I have done alot of searching with Google but because i am a bit on the older side and not familar with programing am trying to find something that is easy to at least get a start in learning C/C++.
thx
Paladin
 
Old 09-27-2003, 11:59 PM   #2
jjwood
LQ Newbie
 
Registered: Sep 2003
Location: Chicago, IL
Distribution: Red Hat 9
Posts: 1

Rep: Reputation: 0
Not really sure you understand what your asking. Linux as an OS is often considerd a programmers OS. I think 90% of that is beacuse its command line, and free. You can do allot with a little. Where as Microcrap you cant do much with a whole bunch.
If your intrested in learning a new language you should probably learn the systems that will use the programming you intend to code.
You can grab a current distribution of several flavors of linux I would try a couple, get comfortable working from command line, and learn for yourself why Linux is the OS of choice. You should know though before you get started, dont go buy a bunch of win32 crap if you plan on installing linux.
Good luck, and enjoy!
 
Old 09-28-2003, 12:17 AM   #3
paladins_r_1
LQ Newbie
 
Registered: Sep 2003
Location: USA
Distribution: Windows For now
Posts: 27

Original Poster
Rep: Reputation: 15
Although i already have thousands of $$ worth of windblows software Linux is the OS that i am very interested in do to the point you mentioned concerning windblows. i kind of got the impression that Linux was command line from reading post here, and was affraid that because i don't know any programming language as of yet i may get buried. after messing with C/C++ a little i ()see what your saying even in winblows it requires a command line (which i finally figured out how to get a true command line under windblows). i was wondering if there is a tut. and simple program to enlighten me on the basic's of C before i start screwing things up with Linux
thx
Paladin
 
Old 09-28-2003, 01:24 AM   #4
mdlnx
Member
 
Registered: Sep 2003
Location: San Diego
Distribution: Mandrake 9.1
Posts: 35

Rep: Reputation: 15
y windblows? when windows is used correctly and optimized, it can do you a lot of good. During the many years i had windows i didnt get 1 single virus, same with linux. But linux is far better for me personally (every aspect imaginable, except playing games, which u can configure if u have the know abouts. Also windows is made to reckonize things and make them work automatically, which in linux u need to configure. I think linux just makes you smarter, and more aware of wut the fuck is going on.)

Enuff of my bable, try coding on both and see which fits your desire best. They both have a lot to offer. ( i recommend linux )
 
Old 09-28-2003, 01:36 AM   #5
paladins_r_1
LQ Newbie
 
Registered: Sep 2003
Location: USA
Distribution: Windows For now
Posts: 27

Original Poster
Rep: Reputation: 15
I appretiate the advice and will continue to fumble around with C in windows until i learn more about Linux. I believe Linux is what i am looking for but need to get much more familar with the command prompt before making it my main OS.
thx
Paladin
 
Old 09-28-2003, 01:40 AM   #6
unwrittenlaw
Member
 
Registered: Sep 2003
Distribution: Slackware FreeBSD Gentoo Novell
Posts: 73

Rep: Reputation: 15
i used windows for a long time maybe approxmately 3 or 4 years now and i started linux like a few days i go and so far i love it becuase on windows, how could i put that in simple words thats for air heads
and linux you have to use your mind and a lot of things well not a lot but is very challengin so thats why i like it...
 
Old 09-28-2003, 04:27 AM   #7
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
i'm still on dual boot an i'm using dev c++ (free open source software for windows) on http://www.bloodshed.net/
i quite like it, it will take time for me to get the whole programing-under-linux idea (there are no automatic compilers and that stuff - just the command line...)

Last edited by Nechos; 09-28-2003 at 04:29 AM.
 
Old 09-28-2003, 04:36 AM   #8
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
originally quoted by jjwood
If your intrested in learning a new language you should probably learn the systems that will use the programming you intend to code.
Just an observation, but the quoted comment above seems to be the most obvious/best advice.

All the rest, while well meaning, seems to be a little unfocused.

If you are trying to learn C or C+ or C++ or whatever, then the platform, that you will use the coding in, is the best one to do the background study for.

The linux vs windows thing, is a different matter entirely.

regards

John
 
Old 09-28-2003, 04:40 AM   #9
mdlnx
Member
 
Registered: Sep 2003
Location: San Diego
Distribution: Mandrake 9.1
Posts: 35

Rep: Reputation: 15
true that
 
Old 09-28-2003, 04:59 AM   #10
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
paladins: what is your goal? To learn Linux, or to learn how to program in C++? jjwood and bigjohn have it right, namely, that you need to take into consideration what platform you'd be using with the final product of your C++ project.

As a practical matter, if you need to get up to speed on C++, and you are unfamiliar with Linux but are familiar with Windows, then your choice is whether you want to spend the time learning two things (Linux first, and then C++) or one thing (just C++) Only you would be able to evaluate that.

In any event, I'd encourage you to take a look at Linux. It offers substantial advantages over Windows, at least in my opinion. As for the command line, well, Yes, you can use the command line if you want, but it's not as if Linux lacks GUI's. In other words, in Windows, you pretty much always use a GUI; in Linux, you can use a GUI if you want, but frequently certain tasks are just simpler/easier to do via the CLI. Considering that GUI's are just basically pretty front ends for plain-jane commands, this is only a difference in implementation, not a true difference in functionality. Just my 2 cents -- J.W.
 
Old 09-28-2003, 06:53 AM   #11
Tesl
Member
 
Registered: Jun 2003
Location: Durham, UK
Distribution: Slackware 9, Mandrake 9.1
Posts: 163

Rep: Reputation: 30
if you just want to learn the C language, then it doesnt matter what OS you use. As long as you use ANSI C (which i expect you would for a fair while) then your code should be able to run on either OS.

Id say that whilst your learning the basics it just doesnt matter. At some point though you will have to decide under what environment you want your programs to run.

Linux is very good because you also have its source code, as well as plenty of other open source programs source code. Scanning through other peoples sources is actually quite helpful.

Linux also gets you much closer to your system, and you will begin to learn how it all works and what makes things tick. This will only assist your programming, and it really will help. You will probably find that being comfortable with the gcc compiler will help too.

Linux isnt always a programmers place, but it does have its advantages. It doesnt have VC++ which is quite nice to use, but even KDevelop or Anjuta are catching up, if you prefer that sort of thing
 
Old 09-28-2003, 09:02 AM   #12
gill1109
Member
 
Registered: Dec 2002
Location: cyberspace
Distribution: Redhat 9
Posts: 61

Rep: Reputation: 15
Quote:
Originally posted by paladins_r_1
I believe Linux is what i am looking for but need to get much more familar with the command prompt before making it my main OS.
If ultimately you think Linux is what you are looking for then you should install yourself a linux and get started learning the linux command line. Otherwise you'll be wasting your time learning a lot of weird windows stuff and picking up bad habits while linux (unix) is clear and logical and open. Remember that C was invented for unix. As for a "main OS": for usually daily work surfing the web, emailing, playing mp3's ... you hardly need linux' command line. Plenty of people use linux who never touch the command line.
 
Old 09-28-2003, 01:51 PM   #13
paladins_r_1
LQ Newbie
 
Registered: Sep 2003
Location: USA
Distribution: Windows For now
Posts: 27

Original Poster
Rep: Reputation: 15
I want to thank all who responded and you have answered my question. after reading many post whithin this forum and all the help and support the peeps here offer i believe Linux is the only way to go. I will check out all the links i have picked up here in regards to Linux and the dif. distro's. I believe this will help me to decide what distro is best suited for me. I really appretiate all your help and look forward to eventually helping here after i pick all of your brains to get me familar first of course lmao ) the only thing i have not seen is a place to get some e-books on linux for free if possible.
thx
Paladin
 
Old 09-28-2003, 02:55 PM   #14
Tesl
Member
 
Registered: Jun 2003
Location: Durham, UK
Distribution: Slackware 9, Mandrake 9.1
Posts: 163

Rep: Reputation: 30
i know you can buy CDs with a few hundred ebooks off ebay (iv done it myself) which are quite useful, and many have Linux info on them

You will probably come across plenty of ebooks on your general travels, just google for them. If you cant find any i can email some Linux ones (although i think most are for RedHat) straight to you
 
Old 09-28-2003, 04:53 PM   #15
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
The heck with buying things, a few *excellent* sources are:

Rute: http://www.icon.co.za/~psheer/book/rute.html.gz
Slack: http://www.slackware.com/book/
Linux Doc Project: http://www.tldp.org/
Redhat v9: http://www.redhat.com/docs/manuals/l...hl-rg-en-9.pdf


Welcome to Linux paladins -- J.W.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 35 02-07-2006 04:29 PM
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 4 11-10-2005 12:37 PM
Vnc only works linux to windows not windows to linux mbdayton Linux - Networking 2 04-16-2005 07:36 PM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 07:03 AM
Samba - Linux box can see Windows, but WIndows can't see Linux Korff Linux - Networking 1 06-02-2003 11:23 AM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration