Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
29 Dec 2012Richard MacCutchan
First thing to do in all cases is check the documentation[^]. As you can see, the first parameter should be a pointer to a FILE* variable, so the line in your code should read:errno_t errorCode = fopen_s(&fis, "C:\\test", "w");Note that the function returns an error code rather than a...
29 Dec 2012Thomas Daniels
Hi,Change this:#include "stdafx.h"#include "string.h"# include "process.h"# include "malloc.h"Into this:#include "stdafx.h"#include "malloc.h"#include #include #include [EDIT]I see in your code that you use some quotation...
#include "stdafx.h"#include "malloc.h"#include #include #include #define maxim 20 int _tmain(int argc, _TCHAR* argv[]){ FILE *fis; int v=20; int i=17; char name[maxim]; char...
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.