This won't work because the console's width is limited by default to 80 characters. You need to alter the size of the screen buffer to be able to resize the screen.
This code shows the function calls you need to make to resize the buffer.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Change elements of csbi here such as dwSize, dwMaximumWindowSize and srWindow which determine the size of the window
For next time, this question really belongs in the Windows Programming section of this forum - it's very windows-specific