Discrete mathematics

Applying discrete math with C++

Page 1 of 1

2 Replies - 5939 Views - Last Post: 10 February 2007 - 06:42 AM Rate Topic: -----

#1 newprogrammer  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 10-February 07

Discrete mathematics

Post icon  Posted 10 February 2007 - 12:32 AM

Are there any resources available to learn coding for discrete math problems involving sets, relations and functions? I understand the math but I do not know the syntax and rules to code the stuff.I've looked in many C++ books, but cannot find anything concrete, except how to declare some sets.

#include <set>

Please help.
Is This A Good Question/Topic? 0
  • +

Replies To: Discrete mathematics

#2 horace  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 291
  • View blog
  • Posts: 1,900
  • Joined: 25-October 06

Re: Discrete mathematics

Posted 10 February 2007 - 02:12 AM

View Postnewprogrammer, on 10 Feb, 2007 - 07:32 AM, said:

Are there any resources available to learn coding for discrete math problems involving sets, relations and functions? I understand the math but I do not know the syntax and rules to code the stuff.I've looked in many C++ books, but cannot find anything concrete, except how to declare some sets.

#include <set>

Please help.

have a look at the C++ standard template libaray
http://www.cppreference.com/index.html
http://www.cpprefere...cppset/all.html
http://www-control.e...com/cppset.html
Was This Post Helpful? 0
  • +
  • -

#3 horacio  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 67
  • Joined: 29-January 07

Re: Discrete mathematics

Posted 10 February 2007 - 06:42 AM

i would advise using any kind of functional programming languaje.. it makes that kind off stuff EASY.. it just takes a little bit off time getting used to it.. Haskell, LISP or F# (this one is really good, it has the power off Haskell and Lisp with the known visual studio capabilities that makes programming easier)

This post has been edited by horacio: 10 February 2007 - 06:44 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1