Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Re:QNX is the bad touch (Score 1) 61

Well, I am using a pretty old version of Debian.
#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;
}
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 .

Slashdot Top Deals

Advertising is the rattling of a stick inside a swill bucket. -- George Orwell

Working...