Advertisement

Dev C++ user needs help

Started by November 19, 2000 08:21 AM
55 comments, last by Slade 23 years, 4 months ago
Mind sharing that code?
Joseph VanPelt
Open Source will destroy the Empire. Back to gaming...Hopeless? Does Dev-C++ have support for MFC or is that the reason U purchased VC++? Most Tuts assume your dealing with VC, like its premeditated. If there is support for Dev-C in particular could U lead me in a direction?

Advertisement
Ok - I''ve got them all to compile and run except for 3:
Lesson 28-
Compiles, but crashes
Lesson 36:
vfw.h: No such file or directory
Lesson 31:
In file included from d:\tools\dev-c++\personal\nehe\lesson31\lesson31.cpp:29:
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h: In method `class TVector TVector::operator -() const'':
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:139: initialization of non-const reference type `class TVector &''
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:139: from rvalue of type `TVector''
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:131: in passing argument 2 of `TVector::invert(const TVector &, TVector &)''
In file included from d:\tools\dev-c++\personal\nehe\lesson31\lesson31.cpp:31:
d:\tools\dev-c++\personal\nehe\lesson31\tray.h: In method `class TRay TRay::operator -() const'':
d:\tools\dev-c++\personal\nehe\lesson31\tray.h:36: initialization of non-const reference type `class TRay &''
d:\tools\dev-c++\personal\nehe\lesson31\tray.h:36: from rvalue of type `TRay''
d:\tools\dev-c++\personal\nehe\lesson31\tray.h:35: in passing argument 2 of `TRay::invert(const TRay &, TRay &)''
d:\tools\dev-c++\personal\nehe\lesson31\lesson31.cpp: In function `void idle()'':
d:\tools\dev-c++\personal\nehe\lesson31\lesson31.cpp:955: name lookup of `j'' changed for new ANSI `for'' scoping
d:\tools\dev-c++\personal\nehe\lesson31\lesson31.cpp:762: using obsolete binding at `j''
d:\tools\dev-c++\personal\nehe\lesson31\lesson31.cpp: In function `void InitVars()'':
d:\tools\dev-c++\personal\nehe\lesson31\lesson31.cpp:1070: name lookup of `i'' changed for new ANSI `for'' scoping
d:\tools\dev-c++\personal\nehe\lesson31\lesson31.cpp:1063: using obsolete binding at `i''
In file included from d:\tools\dev-c++\personal\nehe\lesson31\tvector.cpp:8:
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h: In method `class TVector TVector::operator -() const'':
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:139: initialization of non-const reference type `class TVector &''
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:139: from rvalue of type `TVector''
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:131: in passing argument 2 of `TVector::invert(const TVector &, TVector &)''
In file included from d:\tools\dev-c++\personal\nehe\lesson31\tvector.cpp:10:
d:\tools\dev-c++\personal\nehe\lesson31\tray.h: In method `class TRay TRay::operator -() const'':
d:\tools\dev-c++\personal\nehe\lesson31\tray.h:36: initialization of non-const reference type `class TRay &''
d:\tools\dev-c++\personal\nehe\lesson31\tray.h:36: from rvalue of type `TRay''
d:\tools\dev-c++\personal\nehe\lesson31\tray.h:35: in passing argument 2 of `TRay::invert(const TRay &, TRay &)''
In file included from d:\tools\dev-c++\personal\nehe\lesson31\tmatrix.cpp:10:
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h: In method `class TVector TVector::operator -() const'':
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:139: initialization of non-const reference type `class TVector &''
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:139: from rvalue of type `TVector''
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:131: in passing argument 2 of `TVector::invert(const TVector &, TVector &)''
In file included from d:\tools\dev-c++\personal\nehe\lesson31\tray.h:6,
from d:\tools\dev-c++\personal\nehe\lesson31\tray.cpp:8:
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h: In method `class TVector TVector::operator -() const'':
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:139: initialization of non-const reference type `class TVector &''
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:139: from rvalue of type `TVector''
d:\tools\dev-c++\personal\nehe\lesson31\tvector.h:131: in passing argument 2 of `TVector::invert(const TVector &, TVector &)''
In file included from d:\tools\dev-c++\personal\nehe\lesson31\tray.cpp:8:
d:\tools\dev-c++\personal\nehe\lesson31\tray.h: In method `class TRay TRay::operator -() const'':
d:\tools\dev-c++\personal\nehe\lesson31\tray.h:36: initialization of non-const reference type `class TRay &''
d:\tools\dev-c++\personal\nehe\lesson31\tray.h:36: from rvalue of type `TRay''
d:\tools\dev-c++\personal\nehe\lesson31\tray.h:35: in passing argument 2 of `TRay::invert(const TRay &, TRay &)''

Has anyone fixed these problems or got these to compile?

Thanx,
Blumojo
Joseph VanPelt
quote:
Original post by cliffhawkens
I think our moon is the only one in our solar system w/out a name... shame on our race =o)

Completely off-topic, but:

Earth''s satellite ("the moon") does have a name, it''s called "Luna".

quote:
Original post by Dactylos
Original post by cliffhawkens
I think our moon is the only one in our solar system w/out a name… shame on our race =o)

Completely off-topic, but:

Earth''s satellite ("the moon") does have a name, it''s called "Luna".



I''m glad we have that figured out, but Lukerd said it already, and the question was asked quite a long time ago, and nobody cares. If you do care, ignore that. I''m talking to all the ignorant uncaring people. Oh wait. He was just helping solve the mystery. Okay, forget I said anything, and shut up about the stupid moon.

That post was both useless and obnoxious. Thanks for nothing, Analnonymous Poser!
Joseph VanPelt
Advertisement
Well it made me gigle but could som1 post the dev-c++ ports of the tuts on a site somwhere plz? oh and post the addy. I would try and follow what youve all said about what to add/change but im very new to GL programing and even kinda new to C++(but i know my C and allegro alright ).

Why do they make Dyslexia so hard 2 spell?
Why do they make Dyslexia so hard 2 spell?

This topic is closed to new replies.

Advertisement