User profile: tcs

User info
User name:tcs
Name:Thomas Schmidt
Number of posts:506
Latest posts:

Need help
For better reading and to have a line reference: [code]#include <iostream> #include <fstream> using...

compute pi value using monte carlo method multithreading
Your threads doesn't return a defined value. See [quote]pthread_exit(3)[/quote].

Make table of values
F.e. use a for-loop. [code]for (unsigned int i = 0; i <= 127; i++) { // Call your function with...

Binary Trees Question
[code]bstree[/code] is a pointer so access its value using [code]operator->()[/code]. [code]return ...

Random function
There's no standard function [code]randomize()[/code] and only a standard function [code]long random...