Comment Re:QNX is the bad touch (Score 1) 61
Well, I am using a pretty old version of Debian. .
That compiles and runs on Linux and QNX and cygwin without any warnings or errors. Care to post another example of where g++ is "busted" on QNX? Please be sure to test it on other platforms first#include <iostream>
#include <memory.h>
using namespace std;
int main(void) {
int c;
cin >> c;
char array[c];
memset(array,0,sizeof(array));
cout << "sizeof(array) is " << sizeof(array) << endl;
}