Home » U++ Library support » U++ Library : Other (not classified elsewhere) » What's wrong in this code? (Heap leaks detected)
What's wrong in this code? [message #45178] |
Wed, 23 September 2015 11:36 |
charlie
Messages: 2 Registered: September 2015
|
Junior Member |
|
|
#include <Core/Core.h>
using namespace Upp;
void Test()
{
for(int i = 0 ; i< 30 ; i++){
puts("hello world!\r\n");
Sleep(1000);
}
return;
}
CONSOLE_APP_MAIN
{
Thread::Start(callback(Test));
}
//When I run the application. pop a warnning dialog "Heap leaks detected!"; Why?
|
|
|
Goto Forum:
Current Time: Sat Apr 20 07:44:22 CEST 2024
Total time taken to generate the page: 0.04938 seconds
|