View Single Post
  #1 (permalink)  
Old November 9th, 2005, 03:34 PM
scoobie scoobie is offline
Authorized User
 
Join Date: Jan 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default creating an array of size 2^16 bits

Hi,

i am very new to c programming and was wondering if someone could help me. i am using linux and i am trying to create an array of type unsigned short and of size 2^16 (400000 bits) in my c program. does anybody know how to do this?

i tried the following code:

unsigned short result[];

i didn't know how to specify the size. can anyone help?

Thanks in advanced.

s

Reply With Quote