All about C Forums

Discuss Programming

All about C Forums

Postby bazoukas » Wed Feb 05, 2003 10:22 pm

http://cboard.cprogramming.com/


Thought you guys might like this one.












Man I have finals tomorow in C++ and am way too bored to open up my book.
bazoukas
programmer
programmer
 
Posts: 191
Joined: Tue Jan 14, 2003 1:38 pm
Location: NYC

Postby Calum » Thu Feb 06, 2003 6:07 am

i just found out about cprogramming.com earlier in the week, but i didn't see they had a forum. i printed out their 20 lessons in C++ so i can try (again) to learn something about programming...
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby X11 » Mon Feb 10, 2003 1:33 am

Calum, buy some books if you can.

I would suggest that you learn PHP as a first language, get PHP in 24 hours to learn that. C is good but you might want to try JAVA which is very simple.

I think voidmain should add sections for different languages. Hopefully C/C++, PHP, perl, python
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia

Postby TheQuirk » Mon Feb 10, 2003 10:25 pm

X11 wrote:Calum, buy some books if you can.

I would suggest that you learn PHP as a first language, get PHP in 24 hours to learn that. C is good but you might want to try JAVA which is very simple.

I think voidmain should add sections for different languages. Hopefully C/C++, PHP, perl, python


Java is *not* simple, and there's nothing wrong with learning C as a first language.
TheQuirk
programmer
programmer
 
Posts: 113
Joined: Wed Jan 22, 2003 4:11 pm

Postby X11 » Tue Feb 11, 2003 3:22 pm

Quirk is a script kiddy, dont listen to him. (Really he is!)

Java is a pretty easy language. And it is easy to move to C, C++, C# (Using the Free compiler of cource).

Another good language as a first would be Yabasic or Python. But PHP I feel would be best of all to learn, then maybe C, C++, JAVA. I like perl but know little about it (i dabble with others source code occasionally).

I would suggest you buy a good book to learn any language, its the best way to go.

Some good books on programming are:
PHP in 24 hours. (By Sams)
The complete idiots guide to java2
C++ for dummys
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia

Postby Calum » Wed Feb 12, 2003 7:38 am

i do like the sams 24 hours books, but i think i will try and start with C++ (not counting scripting which i hope to dip into here and there).
There's no hurry, and i really don't think i'll be bothering with C# or VB.
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby ButtDog » Wed Mar 12, 2003 11:37 pm

You wll want to learn either C or C++ as a first language. JAVA is, by far, difficult to learn if you have had no programming experience. PHP and Perl are good starts, then C/C++, then JAVA. It is a lot easier to go from C/C++ to JAVA than it is to do it in reverse.

Shell programming in also a good place to start. BASH scripts are fun to play with, you have an armada of built-in-goodies you can incorporate, and you should have a rack of manuals and guides already installed on you box in /usr/share/doc.
ButtDog
user
user
 
Posts: 10
Joined: Wed Mar 12, 2003 5:09 am

Alright!

Postby snowdog » Fri May 09, 2003 12:07 am

bazoukas, thanks for the link! I'm starting a Programming in C course this month. No delusions of grandeur, I'd just like to get even warmer and fuzzier with Linux.
snowdog
n00b
n00b
 
Posts: 1
Joined: Thu May 08, 2003 11:53 pm

Postby agent007 » Fri May 09, 2003 11:50 am

A question for the experts!

I really want to learn C and C++ so that I can code small and lightweight applications for GNU/Linux and release them under GPL. Also, I want to understand source code and figure out bugs. Hence I zeroed in on C and C++...Have started to learn a bit. Bought a book on C for dummies. Dunno how to continue next. Could u guys pls give me some kind of framework on how to go on? Also, do I have to be good in math cause my math sucks!

thanks,
007
agent007
administrator
administrator
 
Posts: 254
Joined: Wed Feb 12, 2003 11:26 pm

Postby Void Main » Fri May 09, 2003 2:19 pm

There is usually strong emphasis on math for computer science and programming but that doesn't necessarily mean that you have to be good at math to be a good programmer. Although most all programs use a certain amount of basic math (adding, subtracting, incrementing, decrementing, etc) it depends on what type of programs you are writing as to how deep your math skills need to be.

For instance, I used to work in a weather shop writing weather programs that did things like calculate the probability of various icing conditions at various flight levels at various points on earth at various times of the year. This took a fair amount of math work. Game programming in particular can be very math intensive. On the other hand it doesn't take a lot of math skills to do the majority of general purpose systems programming.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby ZiaTioN » Thu Jan 15, 2004 4:02 pm

Perl is an excellent language to start with for a couple reasons. It has very very saimilar syntax and functions as C or C++ (and even Java). This makes it very easy to move onto other languages once you master (or at least feel comfortable) withy Perl. Second it ia a very high level language so you need not bother with the low level stuff at first. This makes learning to program alot easier and headacheless in the future.

Perl has literally millions of modules that will help you perform any number of tasks you can think of. This fact also helps lessen the length of your source code and allows for you to not have to "re-invent the wheel" if you know what I mean.

Python is headed in the direction of Perl but is still years behind Perl in number of modules and effective literature. http://www.cpan.org/ (CPAN) is a great resource for any perl programmer. It has all modules fore the language and literature on each one of them.

http://www.perldoc.com/ (PERLDOC) is also a great place for any perl lover. It is basically the same as CPAN just another reference. perl also has an automated repository program called ppm that comes with any perl install. Just type "ppm" at any command or shell prompt on a system that has perl installed and you will be connected.

Perl has a powerfull regexp pattern matching capability which can be very helpfull also. Perl even has a compiler that you can use to compile your script or source code into an executable or stand alone binary. This compiler is called "perl2exe". Another function that does this but is not as reliable or easy to work with is "perlcc" which is a free compikler and comes with the perl package.

There are those who say perl code is confusing but they are also people who say that C and C++ or even Java are confusing. If they feel that way then maybe programming is not the arena for them.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby TheQuirk » Thu Jan 22, 2004 5:39 pm

OKay, X11, then riddle me this:

Why would you first learn an OO programming language, and then a non-OO one? Geeze.
TheQuirk
programmer
programmer
 
Posts: 113
Joined: Wed Jan 22, 2003 4:11 pm

Postby Void Main » Thu Jan 22, 2004 6:44 pm

TheQuirk wrote:OKay, X11, then riddle me this:

Why would you first learn an OO programming language, and then a non-OO one?


I can think of one reason I just read about today:

http://linuxtoday.com/developer/2004012200526OSKNDV

If you want Linus to merge some code into the Linux kernel it beter not be C++. But what does Linus know? :)
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby TheQuirk » Fri Jan 30, 2004 6:41 pm

Um.

How does that prove that you should first learn an OO language, and then a non-OO one?
TheQuirk
programmer
programmer
 
Posts: 113
Joined: Wed Jan 22, 2003 4:11 pm

Postby Void Main » Fri Jan 30, 2004 6:49 pm

TheQuirk wrote:Um.

How does that prove that you should first learn an OO language, and then a non-OO one?


It doesn't. I apparently misunderstood you. I read what you were saying as "why would you want to learn a non-OO language after learning an OO language", or "why would you need to learn a non-OO language after learning an OO language", but I guess that's not what you meant at all now. :) Sorry about that.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron