i am trying to put a list of 78 words onto an array of strings so that it can be checked the program works as in it copys the input file words on the array but the array doesn't keep the words can anyone work out why?
No worry. The language has beautiful consistent design, but dangerous to the extent of impracticality. Tests are permitted as statements and statements are permitted as tests. May be with the proper compiler options or static analysis tool this would at least show as warning.
my lecturer would kill me for a rookiie mistake. yeah usually i use vs2010 but my laptop died so i've had to go back to an earlier version . thanks for the help