| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> and why is the first floor in my dads house 1.5 floors high? <1> So, about 2% of a football field. <2> comparing length and area?? <0> ah ok <0> now where getting somewhere :) <0> forget miles and metres <0> use floors and footballfields :) <0> and start using elbows again <0> or earlobes <0> or eyeballs <0> or something else stupid <3> chill out Dragunov :)) <0> ok ok <0> im just doing my homework <0> wich are questions like: whats an cordless drilling machine? <0> "why can we use cordless drilling machines for screwing and unscrewing screws?"
<0> really, i dont get in a good mood with this kind of questions <0> i screw with something else <3> :) <0> i dont screw screws, i screw my girlfriend <0> :) <0> "how do WE get airpressure for pneumatic tools?" <0> they always say we... <0> well i wrote down: with a handpump ofcource! <0> silly questions silly answers :) <3> i get a lot of these: warning C4995: 'gets': name was marked as #pragma deprecated <3> i tried using the STL list you suggested <1> MrMuscolo: Aside from the annoyance of that message... never, ever, ever, ever use gets. <1> It's like wearing a mini-skirt and walking through the bad part of town. <3> i didn't.... <3> i just included #include <list> <1> Eh? <4> heh <1> How in hell would <list> use gets? <3> don't ask me.... :P <3> but if I remove the include, the warnings disappear <3> wanna see the code? :) <3> http://pastebin.com/550286 <3> don't look at the GameObj code, i haven't updated them since i started using the STL list <5> lines 48 to 53 are useless <5> looks like your old stuff <3> yea, i know... haven't really cleaned it up <5> calc using <6> Nothing found for 'using'. <5> # <5> using namespace std; <5> no need for that line there.. moreover it's not recommended in header files <7> What compiler, MrMuscolo? <3> Visual Studio 2005 <5> post the real code ;P <3> what do you mean real code? <5> i mean, is that the code that produces the warning? if so, what line? <3> 1 mmnt <3> hmmm they disappeared.... wtf?? <7> :| <4> I hacked your VS <8> how can i simulate call by value using call by reference? <5> simulate call by value? <9> you mean something like using a CONST ? <9> that won't allow you to alter the original. <9> just a thought. <9> or, simply ***ign a local variable from the reference. <9> and then work with the local variable. <3> Well not my code is generating the warnings... cstdio(33) (37) (40) cstring (20)(21)... etcetc <5> MrMuscolo, yes but ultimately a line in your code is calling the stuff from cstdio, cstring, etc <3> well yeah. The only thing I'm using is the stl::list object <5> can you post the WHOLE warning message? <3> yes <3> c:\program files\microsoft visual studio 8\vc\include\cstdio(33) : warning C4995: 'gets': name was marked as #pragma deprecated <3> (9 times, with different method names) <10> That's because MS ****s. <3> sprintf vsprintf strcat <11> gets()? why the heck are you using gets? <10> calc vc deprecated <6> vc deprecated = Herb Sutter about the deprecation of standard functions in VC8: "We are not removing *any* ISO C or C++ features from our compiler or libraries. Period." <3> strcopy sqprintf vswprintf wcscat wcspy <11> there's no good reason to use gets()
<3> I'm not using them intentionally <1> When I get time I'll dig around in the <list> include chain and figure out how that could be included, because I swear there's no way in hell that ought to be touched just by using std::list. <1> I can't imagine any way that MS would leave gets in their library code. <1> heh <11> well that was odd <1> JayKay33 on @#/etc/hosts #mp3goth #beginner #egold #hacks #mp3metal #mp3primeurs <1> I don't think he's any great loss <5> MrMuscolo, i don't think that's the whole error message... is it? <3> let me post you the whole output <3> http://pastebin.com/550315 <5> well, does main.cpp use all those functions? <10> I suggest you disable warning C4995 <3> main cpp doesn't use any of those functions... <10> calc no deprecate <6> Nothing found for 'no deprecate'. <5> maybe not directly.. <10> calc no deprecate <6> Nothing found for 'no deprecate'. <10> no deprecate = #define the symbol _CRT_SECURE_NO_DEPRECATE to avoid inappropriate deprecation warnings. <3> no, I took the main.cpp from another little app i wrote, and modified it alittle bit <5> #pragma warning(disable : 4996) <5> #if!defined(_CRT_SECURE_NO_DEPRECATE) <5> #define _CRT_SECURE_NO_DEPRECATE <5> #endif <3> that just hides the messages, but doesn't really solve the issue, does it? <5> i found that _CRT_SECURE_NO_DEPRECATE didn't remove all warnings (it warned about std::copy when used with unchecked iterators) <5> MrMuscolo, there's no issue, those functions are standard <3> ok. <1> Well, that's not the whole story. <1> Some of the standard functions can, indeed, get you into serious trouble. <1> Like gets or strcpy. <1> But they're not deprecated by the ISO standard. Just by MS. <1> It's MS's way of saying, "Look, you *really* ought not be using these standard functions." <1> If they had said that, I'd be okay. <1> But I really dislike their wording. <3> :) pl <3> ok <10> It's just that MS' replacement functions are not any better. And MS is not in the position to deprecate anything from the standard. <3> god, vcpp is so much different then Delphi :(( <3> finally..... directx1a - 0 error(s), 0 warning(s) <11> calc compiles <6> Nothing found for 'compiles'. <11> calc compile <6> compile = In #C++ we do not compile any sort of code. From "Hello World" to "winnuke.c". If you want compiled code, go to our website and get a compiler! Do it yourself! <11> hm <11> oh <11> calc works <6> works = "it works, IT WORKS!!! OMG! OMG! OMG! OMG!.... I mean, it compiles... now what is a segfault?" <11> :) <3> :)) <3> what is OMG:-? <3> ok <3> got it.... <11> "oh my gosh" <3> Oh My god, right? <3> well.... i was close ;) <11> either or <3> the self object is "this" in cpp, right? <10> right <10> calc omg <6> omg = http://www.omg.org/ Object Management Group The starting point for CORBA info. These are the people to thank/blame <12> does anyone have a good bitmap tutorial for reading 24b bmps and working with them? <8> i have in cc.cc file: #include "Cf.hh" int main(void ) { Cf cf; } and then in Cf.hh i have: cl*** Cf { public: Cf(); }; ? but when i compile with g++ cc.cc -o cc i get linking error cant find Cf? <5> probably can't find the definition of Cf's constructor <5> where do you have that? <10> ebbtepid: the header doesn't contain the definition of the constructor. You probably forgot to implement the ctor or you forgot to link against the object file that contains the implementation. <10> you probably need to do: g++ cc.cc cf.cc -o cc <13> g++ *.cc -o cc <10> Unlike a Java compiler, a C++ compiler will not track dependencies for you. <8> ok it was that i needed Cf() { } :P <8> c++ is like C on PMS <3> GameEngine::AddChild' : cannot convert parameter 1 from 'GameObj *const ' to 'const GameObj' <-- I tried calling GameEngine.AddChild(this) from GameObject constructor <5> this is a pointer to the self object <3> so i do ge.addChild(*this)?
Return to
#c++ or Go to some related
logs:
coco jambo T pictures paki larki prepQuery #MissKitten #linux page for poser6 #c++ #php php imagefill onclick freeRadius+stepbystep
|
|