Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Microsoft Windows (http://www.domainnameforum.org/forumdisplay.php?f=118)
-   -   Wierd behavior of VC++ and visual studio Compiler (http://www.domainnameforum.org/showthread.php?t=139922)

windows 01-29-2011 05:47 AM

Wierd behavior of VC++ and visual studio Compiler
 
Hi, I observed a strange bug in VC6 and Visual Studio compiler. For one particular program I needed to declare a heap as *u = new double[width * height]*; where width = 640 and height = 480 and initialize all the values to 0. So I did *memset(arru,0,640*480*);. But to my surprise all the...


All times are GMT -4. The time now is 02:20 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.