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
  #41 (permalink)  
Old 10-07-2008, 12:25 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: Array troubles

Quote:
Originally Posted by WingedPanther View Post
One of the things a lot of people don't realize is how much of programming falls under math. Math isn't about crunching numbers, it's about systems of information. Function calls, regardless of the data passed or returned, are part of mathematics. Understanding compositions of functions is relevant here. Even if the only data you work with is strings, it still falls under math. Also, SQL is completely based around the principles of set theory.
I don't need to know how to write a recursive descent parser front end for a compiler -- I just click the **** build button.

Languages like C are still lowish-level, and you are still insulated from needing to know most of this stuff. In fact, you are actually encouraged NOT to try to look up the implementation's skirt.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #42 (permalink)  
Old 10-07-2008, 02:10 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: Array troubles

Quote:
Originally Posted by WingedPanther View Post
One of the things a lot of people don't realize is how much of programming falls under math. Math isn't about crunching numbers, it's about systems of information.
Math isn't just about crunching numbers. There are plenty of occasions which could be called "math" which isn't even concerning information systems.
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #43 (permalink)  
Old 10-07-2008, 02:19 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 Re: Array troubles

One of the ways math impacts a programming language: Is it Turing-complete? The very question is mathematical, yet it addresses whether the language has the power to do anything we can think of.
__________________
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
  #44 (permalink)  
Old 10-07-2008, 02:27 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: Array troubles

Quote:
Originally Posted by WingedPanther View Post
One of the ways math impacts a programming language: Is it Turing-complete? The very question is mathematical, yet it addresses whether the language has the power to do anything we can think of.
While this is true, using the language requires none of this.

The ones who choose to come up with languages have to deal with that. But that's not programming, per se -- that's language development, right?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #45 (permalink)  
Old 10-07-2008, 02:44 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 Re: Array troubles

True. But it does impact the languages I choose to work with
__________________
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

Sponsored Links
  #46 (permalink)  
Old 10-07-2008, 10:59 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: Array troubles

Programming isn't about math, it's about logic. If. unless. While. Until. And so on. Like a statement like this:
Code:
if(key[KEY_LEFT])ship->x -= ship->spd;
That's not about the math, it's about the if. The user is making a choice. That's what I think programming is mostly made of.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #47 (permalink)  
Old 10-07-2008, 11:24 PM
dargueta dargueta is offline
Guru
 
Join Date: Oct 2007
Age: 18
Posts: 793
Last Blog:
Programs Under the Hoo...
Rep Power: 13
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default Re: Array troubles

Programming involves math. What do you think RSC encryption involves? Math. Lots of it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #48 (permalink)  
Old 10-07-2008, 11:35 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: Array troubles

Sure it includes math, but the thing that makes it programming rather than just issuing commands, is conditionals: logic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #49 (permalink)  
Old 10-08-2008, 12:28 AM
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: Array troubles

Quote:
Originally Posted by Aereshaa View Post
Programming isn't about math, it's about logic. If. unless. While. Until. And so on. Like a statement like this:
Code:
if(key[KEY_LEFT])ship->x -= ship->spd;
That's not about the math, it's about the if. The user is making a choice. That's what I think programming is mostly made of.
Programming is explicitly pure logic, and implicitly pure mathematics. The former applies and is valid because mathematics is also in the larger category of logic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #50 (permalink)  
Old 10-08-2008, 01:05 AM
dargueta dargueta is offline
Guru
 
Join Date: Oct 2007
Age: 18
Posts: 793
Last Blog:
Programs Under the Hoo...
Rep Power: 13
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default Re: Array troubles

...shown by the fact that any arithmetic operation can be performed using a combination of logic operations. Completely agree with you there.
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
2D Python Array - "List Indices Must Be Integers" (cannot access an array element) Bertsche Python 3 07-07-2008 11:51 AM
filling an array with random #s gaylo565 C# Programming 5 05-02-2008 12:21 PM
Array manipulation Question in C++ JJJIrish05 C and C++ 1 03-08-2008 03:06 PM
Usage of array structures to increment letter instances of text Yuriy M C and C++ 2 09-13-2007 11:49 AM
Python 2D array question annannienann Python 3 04-23-2007 05:36 PM


All times are GMT -5. The time now is 03:47 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