# Discrete mathematics

Page 1 of 1

## 2 Replies - 8225 Views - Last Post: 10 February 2007 - 06:42 AMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=23799&amp;s=cd39c1f0eff321d137f565783cecc424&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 newprogrammer

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

# Discrete mathematics

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>

Is This A Good Question/Topic? 0

## Replies To: Discrete mathematics

### #2 horace

• D.I.C Lover

Reputation: 656
• Posts: 3,396
• Joined: 25-October 06

## Re: Discrete mathematics

Posted 10 February 2007 - 02:12 AM

newprogrammer, 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>

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

### #3 horacio

Reputation: 0
• 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