Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/05/2009 at 11:49, xxxxxxxx wrote:
User Information: Cinema 4D Version: r11 Platform: Language(s) : C++ ;
--------- heya, i get an error i dont understand:
> `
\> Vector count = bc->GetVector(SC_COUNT); \> \> for (int i=0;i<count.x;i++) \> { \> for (int j=0;j<count.y;j++) \> { \> for (int k=0;k<count.z;k++); \> { \> temp += i + j + k; \> } \> } \> } \>
`
gives me error C2065: 'k': nichtdeklarierter Bezeichner
what exactly is wrong there??
thanks for helping me here..
(btw, seems the email notifier of this forum is not working?? too bad it seems that this counts for the password recovery, too)
On 07/05/2009 at 12:11, xxxxxxxx wrote:
Hi,
maybe you should remove the ';' at the end of this line :
> <code> > .. > for (int k=0;k<count.z;k++); > .. > </code>
this type of error is hard to spot and can really drive you mad
On 07/05/2009 at 13:15, xxxxxxxx wrote:
omg.. i am getting blind thanks for seeing it
On 07/05/2009 at 18:50, xxxxxxxx wrote:
Yeah, like if you forget the ";" at the end of an enum in the plugin's .h file. Suddenly you get hundreds of compiler errors that lead you anywhere, but not to the missing ";".
C++ can be so much fun ^_^
Cheers, Jack
On 07/05/2009 at 20:21, xxxxxxxx wrote:
Come on! C++ is an adventure, a quest, well, nevermind...
On 08/05/2009 at 06:13, xxxxxxxx wrote:
I know That's why I love it!
You can write code for 30 years, and still learn something new once in a while, I guess.
Greetings, Jack
On 08/05/2009 at 06:38, xxxxxxxx wrote:
yeah, for example i always discover lots of new ways to produce errors, when i'm on a late night coding session