I was talking with someone on ICQ, and we were talking about system commands and such. Then he started to show me some program that worked like the command prompt, or something like that. He wasn't real clear on what it did, but I know it had to do with using the command prompt or an equivalent. He gave me the code for it, but there are errors. Here's the code he gave me:
if(fopen == ("DOS.txt", "r") )
if(fgets(line, 80, DOS))
Anyone know what this looks like it was intended to do, or how to fix it?
C:\Documents and Settings\Administrator\Desktop\dos.cpp(10) : error C2446: '==' : no conversion from 'char *' to 'struct _iobuf *(__cdecl *)(const char *,const char *)'
There is no context in which this conversion is possible
C:\Documents and Settings\Administrator\Desktop\dos.cpp(10) : error C2040: '==' : 'struct _iobuf *(__cdecl *)(const char *,const char *)' differs in levels of indirection from 'char *'
Error executing cl.exe.