qiqinuinaifen128
Programmer
Hi there,
Below is my code, when i run it it show this error" Debugger Exception Notification" can anyone give me suggestion. Thank You.
Singapore Swimming Lessons
Below is my code, when i run it it show this error" Debugger Exception Notification" can anyone give me suggestion. Thank You.
Code:
#pragma hdrstop
#pragma argsused
#include <stdio.h>
#include <conio.h>
#include "string.h"
char **word;
int i;
void add( char *newWord )
{
word[ i ] = new char[ strlen( newWord ) + 1 ];
strcpy( word[ i ], newWord );
}
void main(int argc, char* argv[])
{
add("MoveForward");
}
Singapore Swimming Lessons