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.

## 2 Replies - 8225 Views - Last Post: 10 February 2007 - 06:42 AM

##
**Replies To:** Discrete mathematics

### #2

## 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>

Please help.

#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

### #3

## 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

Page 1 of 1