Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
charlie is currently offline  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?
 
Read Message
Read Message
Previous Topic: Printing on raspberry Pi 2
Next Topic: msvc10 64 automatic setup does not work
Goto Forum:
  


Current Time: Sat Apr 20 07:44:22 CEST 2024

Total time taken to generate the page: 0.04938 seconds