Problems with MSVC++ 6...
quote:
Original post by cippyboy
So the best way of = 2 arrays is to use a for ?
The only way.
quote:
It`s so stupid that 2 things of the same sizes not to be able to equal them...
The c++ standard prohibits you from assigning arrays. If you don''t like it, use std::vector, or pick a different programming language.
quote:
Dev-C++ is way better in these kinda things...way better...
No it''s not - it''s uncompliant, wrong, and teaches you poor coding habits because of it.
March 08, 2003 05:12 PM
quote:I think this is something we can all agree on!
Original post by cippyboy
is he stupid or what ?
quote:
Original post by cippyboy
So the best way of = 2 arrays is to use a for ?
Original post by sjelkjd
The only way.
Or memcpy() for arrays of primitive types, or std::copy().
quote:
The c++ standard prohibits you from assigning arrays. If you don''t like it, use std::vector, or pick a different programming language.
Don''t forget boost::array or std::valarray.
->However, dev-c++ doesn''t even work most of the time, and it ---->makes it harder than it already is...
What the heck does that supposed to mean ? MSVC++ never works !!!
Its damn stupid ! It gives me an error because I said that:
float a=0;
SO I have to ahead in more than 300 lines and set 0 to 0f or 0.0f
is it so hard for him to understand ?
What the heck does that supposed to mean ? MSVC++ never works !!!
Its damn stupid ! It gives me an error because I said that:
float a=0;
SO I have to ahead in more than 300 lines and set 0 to 0f or 0.0f
is it so hard for him to understand ?
Relative Games - My apps
It doesn''t give you an error, it gives you a warning. You can easily disable warnings or limit the compiler to reporting a warning only once using the #pragma directive.
"Walk not the trodden path, for it has borne it's burden." -John, Flying Monk
Oh well I managed to fix all my 60 errors and 500 warnings I had when I first compield my whole Project in MSVC++...I`m running fine right now...My exec is 100 KB Smaller(in Release offcourse)
but...in Debug Mode it gives me an error with some ESP,and says :
Microsoft Run-Time Debug Library Error...
Tells about some callig convetion...
I have a func(that might be the problem)
CheckButton(char C,..../*blah blah*/)
And I`m using it like
CheckButton((char)VK_RETURN,/*blah blah*/)
It`s no error when compiling(both IDE-s as someone said...)
but...in Debug Mode it gives me an error with some ESP,and says :
Microsoft Run-Time Debug Library Error...
Tells about some callig convetion...
I have a func(that might be the problem)
CheckButton(char C,..../*blah blah*/)
And I`m using it like
CheckButton((char)VK_RETURN,/*blah blah*/)
It`s no error when compiling(both IDE-s as someone said...)
Relative Games - My apps
quote:
Original post by cippyboy
but...in Debug Mode it gives me an error with some ESP,and says :
Are you overwriting some stack-allocated array?
I`m using 3 times a memcpy(Blah1,Blah2,sizeof(Blah2));
is this a bug ?
is this a bug ?
Relative Games - My apps
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement