LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   learning C... point me in a direction (https://www.linuxquestions.org/questions/linux-newbie-8/learning-c-point-me-in-a-direction-945285/)

lleb 05-16-2012 08:23 AM

learning C... point me in a direction
 
Good morning LQ.org, I just started learning BASH scripting a few months ago and would now like to start learning C and then PEARL. I am currently in school working towards my electrical engineering degree, just finished my AA for that, and know i will need C and possibly C++.

My personal reason for wanting to learn PEARL is to help me administer Linux servers better, my current job, and to write better scripts that are a bit more powerful then what BASH can do on its own.

What I am asking the LQ do you have any web pages and or books that you recommend for self teaching C? I have found a few web pages some better then others via google searching but they all seem to be leaving vital bits out of their tutorial. example they show me the basic C "hello world" type script, but then fail to tell me howto compile it so i can run it.

An other site tells me to build one way, then compile it as C++, um not what I am looking for.

Thank you in advance for your time and directions.

some of the sites i have found:

http://www.learnconline.com/2010/03/introduction.html
http://www.howtoforge.com/learning-c...s-step-by-step

There was an other but it was so badly designed I could not follow.

devUnix 05-16-2012 08:51 AM

Welcome to LQ!


It is not PEARL that you want to learn. It's not even PERL. It's Perl. Larry Wall named it that way and its lovers tried to expand it to, for example: Pathetically Eclectic Rubbish Lister and Practical (Text) Extraction (and) Reporting Language. Sounds interesting? That is what Perl is. It's, in fact, more than interesting.

In order to kickstart learning Perl, you can visit this official website of Perl: http://perldoc.perl.org/perlintro.html

For C and C++ resources, you need to do your homework i.e. you need to search for tuturials and guides available on the web. Here is such a pointer. Check those PDFs and see yourself if they can help you.


A good place is to visit Google Books and read C / C++ books online. There titles such as C or C++ Complete Reference. They can help you greatly.

lleb 05-16-2012 08:55 AM

ty you for correcting my ignorance in Perl, and for the links and suggestions devUnix.

pan64 05-16-2012 09:32 AM

just one additional comment: perl looks like a mix of bash, c and other languages (that means there are parts which look similar to those other languages), but it is actually not only a mix, but a really powerful, unmatched and unique world. If you need c you better not try perl now (but later).

lleb 05-16-2012 09:40 AM

Quote:

Originally Posted by pan64 (Post 4679969)
just one additional comment: perl looks like a mix of bash, c and other languages (that means there are parts which look similar to those other languages), but it is actually not only a mix, but a really powerful, unmatched and unique world. If you need c you better not try perl now (but later).

That is why I am interested in learning C first.

chrism01 05-16-2012 07:20 PM

A good tutorial on Perl in addition to perldoc above http://www.perlmonks.org/?node=Tutorials


All times are GMT -5. The time now is 01:34 AM.