×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

QNX 6.3 Released

variable Re:QNX is the bad touch (61 comments)

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 .

more than 10 years ago

Submissions

variable hasn't submitted any stories.

Journals

variable has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?