Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>;
- using namespace std;
- int main( void ) {
- int* Buffer = new int[ 255 , 255 , 255 ];
- Buffer[ 0 , 0 , 0 ] = 255;
- cout << ( int ) Buffer[ 1 , 0 , 0 ] << endl;
- delete[] Buffer;
- int xx;
- cin >> xx;
- return 0;
- };
- /*
- For some reason the entire Buffer array is 255 rather than only 1,0,0...
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement