There are actually three errors and one potential pitfall in this code.
First, you are creating an uninitialized pointer to a structure. I think you meant do just say:
s st;
Second,...
Type: Posts; User: ThunkInTheNight
There are actually three errors and one potential pitfall in this code.
First, you are creating an uninitialized pointer to a structure. I think you meant do just say:
s st;
Second,...
<< split from http://cboard.cprogramming.com/showthread.php?t=77061 >>
This worked for me when run as a windowed (windows subsystem) app, but when I changed it to a console app, it does not. I...
<<Mod edit: split from http://cboard.cprogramming.com/showthread.php?t=77061>>
Can anyone tell me if there is any reason that this shouldn't also work from a console based app? Unless I am...