Forum: C++ Jun 6th, 2007 |
| Replies: 7 Views: 1,163 Thanks for your help, Vijayan. Compiling with the -fpermissive gave me many new errors... It seems that every solution uncovers more errors. :( For now I'll just use a precompiled version which I got... |
Forum: C++ Jun 4th, 2007 |
| Replies: 7 Views: 1,163 That helps a lot, thanks. The code is pretty old, so it makes sense that an older version of g++ would compile it.
Why would you be uncomfortable with the -fpermissive?
How do I change the... |
Forum: C++ Jun 4th, 2007 |
| Replies: 7 Views: 1,163 Thanks for replying, Vijayan.
I did as you suggested, but got more errors. I have three files: autodif.cc, autodif.c and autodif.h (see below).
I tried adding extern "C" { ... } in the .cc as... |
Forum: C++ Jun 4th, 2007 |
| Replies: 7 Views: 1,163 Hi,
I'm trying to use a program, written by others, that has C/C++ code compiled as part of its setup procedure (it's called Content - integrated environment for the analysis of dynamical... |
Forum: C++ Aug 3rd, 2006 |
| Replies: 4 Views: 2,657 void grid<T>::print(std::ofstream &file)
in stead of void grid<T>::print(std::ofstream file)
was all I did and it worked. Thanks! |
Forum: C++ Aug 3rd, 2006 |
| Replies: 4 Views: 2,657 There are quit a couple of files, but I'll give you the two most important.
Here's SK_.cpp:
/* SK.cpp: simulates a reaction-diffusion model of chemical warfare between microbes. */
#include... |
Forum: C++ Aug 3rd, 2006 |
| Replies: 4 Views: 2,657 Hello :-)
I'm trying to pass a filestream to a function:
template <class T>
void grid<T>::print(std::ofstream file)
{ for (int i = 0; i < h; i++)
{ for (int j = 0; j < w; j++)
... |
Forum: C++ Jul 30th, 2006 |
| Replies: 3 Views: 1,648 Thanks. That's very useful information. |
Forum: C++ Jul 29th, 2006 |
| Replies: 3 Views: 1,648 I'm writing small command line programs that for instance numerically solve systems of differential equations. The programs are so simple, that I think it would be an overkill to use a development... |
Forum: Community Introductions Jul 21st, 2006 |
| Replies: 2 Views: 727 Well, we can still chat in the coffee lounge... ;-) |
Forum: Community Introductions Jul 21st, 2006 |
| Replies: 2 Views: 727 I stumbled uppon these forums and they seemed like a place with friendly people so I thought I'd introduce myself here.
I'm a biologist, and I recently got a job as a researcher at an intstitute... |
Forum: Troubleshooting Dead Machines Jul 21st, 2006 |
| Replies: 4 Views: 7,448 Hey!
I'm having the same trouble with the same laptop. I dropped it on the floor yesterday. It was still in it's bag, it happend before and all was ok. When I switched it on this morning, it... |