Hi all, hope someone can help here, i cant seem to get this to compile.
maybe im tired and have not looked at it, but its a bit like blind leading blind etc, meaning not sure what the error is referring to, i have enclosed an attachment image of the error thrown on line 13 in the code.
Thanks for reading all who partake in doing so
(I had a rant the other day about not many people helping newbies on here, i hope i was wrong or that it gave people an opportunity to think about my points and undertand if no-one wishes t help as a result, no harm in persitent faith that things will change though, maybe) :)
gruffy321
#include <stdio.h>
#include <stdlib.h>
int main()
{
FILE *file_test;
file_test = fopen("test.txt", "w" );
if( file_test != NULL)
{
printf("File has been created\n") ;
fclose( *file_test) ;
return 0;
}
else
{
printf("Unable to create file\n" ) ;
return1 ;
}
}
:)
Thanks again
:)