Could you post the code you're having trouble with? Most likely you're trying to acess memory you shouldn't be, such as using a pointer that isn't pointing to what you expect it to, but it's kind of hard to guess unless you actually show us what you're trying to do.
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
His problem is almost certainly not caused by using TC 4.5 (which though old is still somewhat servicable and can produce 32 bit Windows code) but by a bug in his code.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Thanks for reply. You are probably right that I'm missing some goodies staying with an old compiler, but I don't want the cost of a new one, or learning a new environment.
In spite of the bizarre error messages, it turned out to be a simple coding error.
cost is no excuse -- some such as Dev-C++ are free.
>> or learning a new environment
If you want to do this as a hobby that's ok. But no company uses that compiler any more.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
and no company uses Dev-C either.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Depends on what exactly do you mean by a company -- a big time software gaint or a small time budding organization with no more than 10 people.
If the former, then yes, you are correct. But if the latter, then no, I have seen small time companies (like those in embedded development etc.) using free IDE's like Code::Blocks and Dev C++.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
I've also seen 10+ year old software in use in even large (multinational large) companies...
So it's pretty likely that BC 4.5 is in use somewhere to this day, in a similar niche market as your market for DevC...
But with free and cheap versions of major implementations (Borland and Microsoft both for example) being available for commercial use now that's likely to change (though there's a lot more market for BC 4.5 out there than DevC as it can do DOS and 16 bit Windows development, which are handy for things like PLCs).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
C'mon people. C++ is C++ whether TurboC Ver 1 or MSVC.NET (for the most part).
There are a few things you have to keep in mind at high level programming but at basic learning it doesn't matter what compiler you use as long as it's solid. Yes the older compilers don't follow the current standards 100% (but neither do current compilers) but what they implemented was looked at when the standards were adopted.
When compiled, the program from TCver1 works the same as DevC++.
And I can guarantee the problem exists no matter what compiler he uses, so please let's concentrate in the OP's problem rather than an upgrade that produces a non-fix.
JMAO :twisted:
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
C'mon people. C++ is C++ whether TurboC Ver 1 or MSVC.NET (for the most part).
Not when you have a deadline to meet, in that case having a really good IDE helps big time.And I can guarantee the problem exists no matter what compiler he uses, so please let's concentrate in the OP's problem rather than an upgrade that produces a non-fix.
A bit correction....lets concentrate on an upgrade that keeps him away from non standard programming.:twisted:
But yes, back on topic,danijohn post your code so we can have a look at it. Maybe then we would be able to help you better.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
But yes, back on topic, danijohn post your code so we can have a look at it. Maybe then we would be able to help you better.
Which is what I said in the first place.
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
I think the Op's original problem has been solved -- see his post #5 and 6 to this thread.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Sheesh, missed that, marking this as solved...
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734