I've compiled with success the first version
of NanoCPP (STDCXX for Nanodesktop).
So, when I enter this program:
#include <nanodesktop.h>
#include <iostream>
int main()
{
ndInitSystem ();
using namespace std;
ios_base::Init::Init ();
cout << "Hello World!";
return 0;
}
I obtain the "Hello world" on the
screen of the PSP.
But, if I remove the string:
ios_base::Init::Init ();
the system crashes at startup. Is it
a normal behaviour or there's some
option in config.h that I must enable
in order to autoinit any object ?
Thanks
Filippo Battaglia
--
View this message in context:
http://www.nabble.com/ios_base%3A%3AInit%3A%3AInit-%28%29--tp17111782p17111782.html
Sent from the stdcxx-dev mailing list archive at Nabble.com.