Lost Password?


Go Back   CodeCall Programming Forum > Software Development > C and C++

C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 07-04-2006, 06:53 PM
brackett brackett is offline
Programmer
 
Join Date: May 2006
Posts: 193
Rep Power: 11
brackett is on a distinguished road
Default

Sure - like I said, I exaggerate a bit. There's a lot of existing investment in C++ codebases, and that stuff has to be maintained and extended. For new development though, I don't see the benefit. Some folks will howl and cry about the large size of managed frameworks, and the "performance hit" of garbage collected languages - but I think most of that is C++ coders protecting turf.

As for business development, there's no contest. VB used to be the king of business development because it'd take you 1/4 the time to develop it vs. C++. Of course, you paid for that with increased maintenance costs because of a limited language. Now, with .NET (or Java), you can have the speed of development of VB, with a language as powerful as C++....what's not to like?

Of course, I think C/C++ is still worth knowing, as it'll make you understand what higher level languages like Java/C# are doing for you. That way, you'll never want to go back.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 07-07-2006, 07:23 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 3,418
Last Blog:
wxWidgets is NOT code ...
Rep Power: 37
WingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to behold
Default

Quote:
Originally Posted by Jordan
I wouldn't waste much time learning C. If you learn C++ you also learn C. C++ is the better language.
I can only half agree with Jordan. I wouldn't waste time learning C. However, if you learn C++ you will not learn C, unless you are using a book that teaches you to do everything the "C way" instead of the "C++ way".

For example:
Code:
#include "stdio.h"
void main(){
  printf("Hello world.\n");
}
Is your most basic C program.

Code:
#include <iostream>
int main(){
  std::cout << "Hello world.\n";
  return 0;
}
is your most basic C++ program. If you learn C++, you will be able to pick up C quite easily, but you are definitely not learning C. Moreover, C++ accomodates some very different approaches to thinking about problems from C. Once you learn C++, C will feel very restrictive.

Last edited by WingedPanther; 07-07-2006 at 07:35 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 07-08-2006, 12:14 PM
DevilsCharm's Avatar   
DevilsCharm DevilsCharm is offline
Programming God
 
Join Date: Jul 2006
Posts: 887
Rep Power: 14
DevilsCharm is on a distinguished road
Default

C does look a lot different than C++. You're right, I can see how learning one would make it easier to learn the other, but you definately couldn't program in the other straight away just cause you know one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 07-15-2006, 11:13 AM
bernkly's Avatar   
bernkly bernkly is offline
Newbie
 
Join Date: Jul 2006
Posts: 15
Rep Power: 9
bernkly is on a distinguished road
Default

Quote:
Originally Posted by MrDiaz
hmm not quite my friends. C is still a major language, and the difference is that is a low level programming language. It works pretty much as assembly, directly with the processor.

Why do you think Operating Systems are written using C and not other language. Using C you get to control more the memory management of your operating systems as well as more directly the flow of your application. There are many things why you should learn C is that what you really are aiming for.

So it depends on what your goal is and where you're heading at in your professional life.

Hope that helps,
Yes, agreed with you.

I meet a project manager that code program for credit card system for banking industry long before and he was using C to wrote such program since it can subtitute assembly language at the same time minimise the program size.

C language was still used by network administrator til nowdays.

Anyway, just learned the basic of C and C++ and move on to other programming languages. It will be useful later.
__________________
Timemsg - Send self destruct message.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 11-05-2008, 09:52 PM
Steve.L's Avatar   
Steve.L Steve.L is offline
Programming Expert
 
Join Date: Sep 2008
Location: Ottawa,ON
Age: 19
Posts: 421
Rep Power: 3
Steve.L will become famous soon enough
Send a message via MSN to Steve.L
Default Re: Is it worth learning C now?

Whether C or C++ are useful in terms of what you can easily do with them is irrelevant. The fact is, many companies out there are based on C or C++, and you MUST know the language or you will simply not be hired, period. Yes, I agree that they are monsters, but you're definitely better off learning them. Plus you really get hands-on experience at a low-level of programming, and unless you start whipping out code in ASM, you probably won't get much lower. And for the person who claimed Java was as powerful as C/C++, well... I'm just going to leave it at that.

As for the C/C++ debate on which one to learn, definitely learn C++, because you will also learn a lot of C in the process, due to the fact that they are, obviously, very similar languages. Also, definitely learn Java if you do not already. After that, you pretty much have to pick and choose which language(s) to learn based on relevance to your career/hobby goals.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #16 (permalink)  
Old 11-05-2008, 10:44 PM
dcs dcs is offline
Programming Expert
 
Join Date: Mar 2008
Posts: 371
Rep Power: 6
dcs has a spectacular aura aboutdcs has a spectacular aura about
Default Re: Is it worth learning C now?

Quote:
Originally Posted by effiesha View Post
true. C++ is much better than C.
I hope you're not replying to every 2-year-old thread and saying little if anything.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 11-06-2008, 12:24 PM
adrix.m adrix.m is offline
Newbie
 
Join Date: Nov 2008
Posts: 1
Rep Power: 0
adrix.m is on a distinguished road
Smile Re: Is it worth learning C now?

Definitely yes.

C is the low level language of choice for embedded systems, operating systems, real time operating systems, and a big selection of applications which live in the *X software ecosystem.

Also, be aware that C and C++ are not the same language: non-toy applications will be very different from every aspect, from req analysis/design specification to implementation/debugging/maintenance if built in C
(procedure oriented) or C++ (OO). It is also possible to program good OO stuff in C, but the language does not help very much, API-oriented interfaces are much more common.

Naturally, if the application ecosystem is desktop applications, web development, networking, you name it, C/C++ can be not the right choice or the bad one as well.

Last edited by adrix.m; 11-06-2008 at 12:26 PM. Reason: spellchecking, additions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 11-07-2008, 03:44 PM
Aereshaa's Avatar   
Aereshaa Aereshaa is offline
Guru
 
Join Date: Apr 2008
Posts: 539
Rep Power: 9
Aereshaa is a jewel in the roughAereshaa is a jewel in the roughAereshaa is a jewel in the roughAereshaa is a jewel in the rough
Default Re: Is it worth learning C now?

C is the lingua franca of the /*n?x/ environment. That means when writing programs for those systems, you will usually either be writing in C or in a language derived from C i.e any of these:
C, C++, Awk, sh, csh, Perl, Ruby, Python, Java, tcsh, Objective-C, ECMAscript, PHP...
The list goes on. Most programming languages in common use derive in one way or another from C, so it can be helpful to know it, kind of like knowing Latin when learning Spanish or French.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 11-10-2008, 05:12 PM
outsid3r's Avatar   
outsid3r outsid3r is offline
Programming Professional
 
Join Date: Jul 2008
Location: Portugal
Age: 20
Posts: 332
Rep Power: 5
outsid3r has a spectacular aura aboutoutsid3r has a spectacular aura about
Default Re: Is it worth learning C now?

C++ is more powerfull than C, but C for me is some kind of magic language, i really like it. Learning C is trully not a waste of time in my opinion, it's great because you will need to pay more atention in programming in C than most of other languages because is less type-safer, and also it's a different programming filosofy, in C you will use procedimental programming filosofy instead of OOP filosofy. You will program with a less abstract language. Definitly it's good learning C at start. Then you jump to other more high level languages you will undestand them better.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 11-11-2008, 07:18 PM
Prototype Prototype is offline
Newbie
 
Join Date: Aug 2008
Posts: 11
Rep Power: 0
Prototype is on a distinguished road
Default Re: Is it worth learning C now?

Is C++ the best language out right now?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning C## mysticalone C# Programming 1 04-06-2008 08:48 AM
C++: How should you start learning it? WingedPanther C Tutorials 8 03-25-2008 01:24 PM
ebooks on learning c# C# programmer C# Programming 1 04-13-2007 12:09 PM
Wikibooks.org - is it worth xtraze General Programming 1 01-17-2007 12:15 PM
learning java moonrise Java Help 2 11-21-2006 12:54 PM


All times are GMT -5. The time now is 02:58 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads