//=====
#include "bbstdExit.h"
#include "bbstdPackage.h"
+
namespace bbstd
{
// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
+#if defined(_WIN32)
+ int pid=getpid();
+ char tmp[256];
+ sprintf(tmp,"taskkill /pid %d /F", pid);
+ system(tmp);
+#elif defined(__GNUC__)
+ exit( bbGetInputIn() );
+#else
exit( bbGetInputIn() );
+#endif
+
}
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)