Forum: C++ Oct 16th, 2009 |
| Replies: 5 Views: 257 I use either g++ or make (to compile multiple files together). I'm programming this on a terminal on linux. |
Forum: C++ Oct 16th, 2009 |
| Replies: 5 Views: 257 I'm using pthread but no, I just forgot to paste in the #endif, it's there in my code. The errors I've posted are the only the ones I'm getting...
Not too sure as I am doing this on a... |
Forum: C++ Oct 15th, 2009 |
| Replies: 5 Views: 257 I want to use the string class in my program but I keep getting the following errors:
process.cpp:10: error: 'string' has not been declared
process.cpp:10: error: prototype for 'Process::... |
Forum: C++ Oct 15th, 2009 |
| Replies: 7 Views: 350 Alright, thanks for letting me know! |
Forum: C++ Oct 13th, 2009 |
| Replies: 7 Views: 350 Thanks for pointing that out. I tired compiling it on my school's Linux computer and there wasn't a problem. I'm not sure whether our instructor is okay with us using pthreads-w32 so I'll have to ask... |
Forum: C++ Oct 13th, 2009 |
| Replies: 7 Views: 350 That sort of worked.... mutex.cpp doesn't have an error anymore but now I have an error message in mutex.h saying:
`pthread_mutex_t' does not name a type (on line 15)
as well as
pthread.h:... |
Forum: C++ Oct 13th, 2009 |
| Replies: 7 Views: 350 The codes our instructor provided for us has been giving me a "no such file" error message for the line #include <mutex.h> in the following code:
/*
* mutex.cpp
* scheduling
*
*/
... |