User profile: DeathLeap

User info
User name:DeathLeap
Number of posts:220
Latest posts:

thread1 finish before thread2
Hi there, I want the producer thread finish before the consumer thread gets executed. How can I do ...

Changing program to use arrays.
What is in your code that you want to implement as arrays? I don't understand your question.

Help with Functions
Well it returns 0 because in line 146, you have 'return 0'. What do you want that function to retur...

Else without If
Your code is missing an '}' at the end. Also, you can't have an [code]else [/code]before an [code]e...

error message: abort() has been called
[code]#include <iostream> #include <string> #include "assert.h" using namespace std; int flipAroun...