Thanks so much for all your suggestions. I tried them all; the last post from Paul McKenzie worked!!

However, when I run my executable, I get errors. Does anyone know how I can look into these problems?

General Protection Fault exception occurred at EIP = 10001C1D on thread 016A.
Register Dump at point of exception:
EAX = 0137DA1F EBX = 10062900 ECX = 10000000 EDX = 77FA5560
EBP = 0003FF6C EDI = 00000000 ESI = F9A00035 ESP = 0003FF08
_CS = 001B CSLIM = FFFFFFFF DS = 0023 DSLIM = FFFFFFFF
_ES = 0023 ESLIM = FFFFFFFF FS = 0038 FSLIM = 00000FFF
_GS = 0000 GSLIM = 00000000 SS = 0023 SSLIM = FFFFFFFF
NPX Environment:
CW = 0262 TW = FFFF IP = 0000:00000000
SW = 0000 OPCODE = 0000 OP = 0000:FFFF0000
NPX Stack:
No valid stack entries.
Process terminating.