C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #16  
Old February 5th, 2002, 07:19 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Quote:
Originally posted by Taradino
So probably you think one of these is ugly, probably Motif,

Yes.
Quote:
but instead of Motif you can also use GTK+, which you recommended yourself.

I recommended GTK ... I wouldn't dare to recommend OOP stuff to anyone

Reply With Quote
  #17  
Old February 5th, 2002, 07:39 AM
Taradino Taradino is offline
Python Prophet
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Amersfoort, The Netherlands
Posts: 45 Taradino User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Quote:
Originally posted by realnowhereman
I recommended GTK ... I wouldn't dare to recommend OOP stuff to anyone

GTK probably has the same look and feel as GTK+. I think you should really try to understand OOP, because you'll really need it if you want to work on larger applications. I don't think any serious developer could work without knowing at least the basic principles of OOP.
__________________
Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems. - Jamie Zawinski, in comp.lang.emacs

Reply With Quote
  #18  
Old February 5th, 2002, 07:43 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
You're probably right. But I discovered GTK right after giving up on Qt (nice but hell for those who aren't perfect in OOP) and was fascinated by the easiness with that one could add widgets in pure C. Of course, those who like it can do everything in C++ ...

Reply With Quote
  #19  
Old February 21st, 2002, 10:27 PM
PhatBarren PhatBarren is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Canada
Posts: 33 PhatBarren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to PhatBarren
I don't think anyone really mentioned that C is a subset of C++: If you know C++ then you know C. C++ is not really a fully object oriented language like Java (as someone mentioned above), but instead it is just C adapted to support object orientation. So some say learn C before you learn C++, but I say learn them both together..... do your C stuff, and when you need Object Orientation, then learn the OO stuff in C++. But to really get a good grasp on Object Oriented programming learn Java (although you probably will be seeing as you're in University)

Peace
__________________
X___________
the PhatBarren

Reply With Quote
  #20  
Old March 7th, 2002, 04:00 AM
Robo Robo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 29 Robo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I don't see why you need to learn C first, unless you really wanna use it. Since you know basic programming already, and hopefully you would know a bit about classes, learning C++ shouldn't be a problem at all. You should really learn an OO language anyway.

And I THINK you can compile C# to native code, so speed difference between C# and C++ won't be considerable.

Learning Java also has the advantage of gaining better understanding of OO, and after you know Java, you can pretty shift to C# w/o any problems. I believe C# is what you should eventually aim for.

Reply With Quote
  #21  
Old March 7th, 2002, 08:27 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,834 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 23 h 30 m 30 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
Quote:
by PhatBarren
I don't think anyone really mentioned that C is a subset of C++: If you know C++ then you know C. C++ is not really a fully object oriented language like Java (as someone mentioned above)
I would have to agree and disagree at the same time. Yes, C is a subset of C++, but no if you know C++ you don't necessarily know C. You have a good basis for the majority of the language, but you most likely would not know diddly about how to properly manage memory in C and a lot of other functions that are replaced in C++. Although it would not take long to learn the differences between the two langauges, you will be lost for a little while if you try to put C++ code in a C program. You can't very well use cout, cin, new or delete in C. But you can use scanf, printf, malloc and free in a C++ program.
Learning either language will give you a good basis for the other, but it is much easier to make the transition from C to C++ than it is vice versa. This is why it is recommended to learn C before learning C++. This way you have more of a respect for memory management and enjoy the new functionality that is included with the newer language.
One other thing, there isn't a fully object oriented language. This has been discussed already and it isn't an argument you can win.

Quote:
by Robo
I don't see why you need to learn C first, unless you really wanna use it. Since you know basic programming already, and hopefully you would know a bit about classes, learning C++ shouldn't be a problem at all. You should really learn an OO language anyway.
See the above statement. Sometimes C++ just isn't the right tool for the job. Image if you only learned C++ and got a job at a company to write applications for them, but they don't use C++ but instead use C (this is not a rare thing) then you have to go back and learn what you don't know about the language so you can use it.

Reply With Quote
  #22  
Old March 27th, 2002, 05:52 PM
GNUbie's Avatar
GNUbie GNUbie is offline
Throws Rocks
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: Cincinnati, Ohio
Posts: 392 GNUbie User rank is Corporal (100 - 500 Reputation Level)GNUbie User rank is Corporal (100 - 500 Reputation Level)GNUbie User rank is Corporal (100 - 500 Reputation Level)GNUbie User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 h 31 m 7 sec
Reputation Power: 8
Question Learning C

I am a somewhat young programmer (3 years of experience and counting), and I have learned a variety of languages. I have worked with languages such as C++, Perl, Java, and PHP; but not C. I would like to learn C because I see a lot of coding done with it, and it seems like a decent language.

I understand the syntax is overall the same regardless of OS, but I would prefer to learn C to use in a Linux environment with the gcc compiler (I run RedHat 7.1 currently).

What sites, books, and resources do you recommend for a structured approach to learning C?

Thanks
__________________
Two things have come out of Berkeley, Unix and LSD.
It is uncertain which caused the other.

Reply With Quote
  #23  
Old March 27th, 2002, 06:54 PM
jonsagara's Avatar
jonsagara jonsagara is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: USA
Posts: 286 jonsagara User rank is Private First Class (20 - 50 Reputation Level)jonsagara User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 7 m 23 sec
Reputation Power: 7
"The C Programming Language" by Kernighan (sp?) and Ritchie.

They wrote the language. Great book.
__________________
Jon Sagara

"Me fail English? That's unpossible!"

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > C or C++


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway