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 04-14-2008, 03:36 PM
R-G's Avatar   
R-G R-G is offline
Programmer
 
Join Date: Apr 2007
Location: Europe
Posts: 144
Rep Power: 0
R-G is an unknown quantity at this point
Default

Oh, you don't understand the term? Opposite from the methodology (computer software development process), a computer programming paradigm is the fundamental style of computer programming.
__________________
Like an angel without a sense of mercy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 04-14-2008, 04:21 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,897
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: C Or C++

I was trying (but failing, presumably) to express how I've never heard of the word "paradigm". Was ist es?
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 04-14-2008, 04:29 PM
R-G's Avatar   
R-G R-G is offline
Programmer
 
Join Date: Apr 2007
Location: Europe
Posts: 144
Rep Power: 0
R-G is an unknown quantity at this point
Default

Quote:
Originally Posted by Xav View Post
Was ist es?
Did you just overlook it?

Quote:
Originally Posted by R-G
Opposite from the methodology (computer software development process), a computer programming paradigm is the fundamental style of computer programming.
__________________
Like an angel without a sense of mercy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 04-15-2008, 08:14 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,897
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: C Or C++

Ach ya, jetzt verstehe ich!

And that was 100% correct, wasn't it?
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 04-15-2008, 08:22 AM
R-G's Avatar   
R-G R-G is offline
Programmer
 
Join Date: Apr 2007
Location: Europe
Posts: 144
Rep Power: 0
R-G is an unknown quantity at this point
Default

Quote:
Originally Posted by Xav View Post
Ach ya, jetzt verstehe ich!
No, you must replace the word "ya" with the word "ja".
__________________
Like an angel without a sense of mercy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #16 (permalink)  
Old 04-15-2008, 08:31 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,897
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: C Or C++

Oh, oops! It sounds like "ya", and I'm tired today.
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 04-15-2008, 12:04 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 3,421
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 Re: C Or C++

R-G, I agree absolutely that C++ offers more programming paradigms, though it is possible (painful, but possible) to do object-oriented style programming in C. Most of it requires discipline to not violate those methodologies. Of course, I simply prefer C++. Operator overloading is a mathematician's friend
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 04-15-2008, 01:40 PM
R-G's Avatar   
R-G R-G is offline
Programmer
 
Join Date: Apr 2007
Location: Europe
Posts: 144
Rep Power: 0
R-G is an unknown quantity at this point
Default

Indeed, Winged Panther. It must be funny trying to solve problems in the computer programming language C while using the computer programming paradigm of object-orientation. So, let me have a try.

Code:
#include <stdio.h>

class Mathematicians
{
   public:
     Mathematicians() {}
     ~Mathematicians() {}
   void Students()
   {
     printf("In the digital class of mathematicians, R-G is one of the students.\n");
   }
};

int main()
{
  Mathematicians x;
  x.Students();
  return 0;
}
__________________
Like an angel without a sense of mercy.

Last edited by R-G; 04-15-2008 at 01:42 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 04-15-2008, 03:13 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,897
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: C Or C++

Well, you seem to have got it working.
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 04-15-2008, 06:00 PM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 507
Last Blog:
Just over the next hil...
Rep Power: 10
G_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura about
Default Re: C Or C++

Quote:
Originally Posted by WingedPanther View Post
R-G, I agree absolutely that C++ offers more programming paradigms, though it is possible (painful, but possible) to do object-oriented style programming in C. Most of it requires discipline to not violate those methodologies. Of course, I simply prefer C++. Operator overloading is a mathematician's friend
I tend to do all my maths stuff in Lisp, in fact emacs slime mode is my calculator. First class functions are a god send. Also it's nice to have a number type that automatically converts between the various representations as needed (also uses rationals rather than floats where possible for exact representation. Infinite integers too and complex numbers). Of course the down side is that everything is prefix but a good mathematician should be able to handle that .

As for C v C++. C is very, very good at what it is good at but can be awful outside of it (you can write applications in C but you need to be very disciplined to avoid a mess. Structuring tends to be more natural in OOP). Despite this I think it a good first language because there's not actually much going on in C (which is sometimes why it's hard to use). Building massive GUI's is something to worry about later, new programmers struggle with the concept of a variable, function or for loop.

C++ is like several high level languages bolted onto a low level language. I recommend you learn it (because you need to understand OOP) but I'd start with learning the basic API differences (iostream instead of stdio.h, etc) and handling objects. Leave the template metaprogramming stuff for later. It's very rare you need it (even in Lisp, the language that invented metaprogramming, you rarely use it) though it can save you a lot of code.
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


All times are GMT -5. The time now is 11:21 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: 101%


Complete - Celebrate!

Ads