I've got this tiny little program that's intended to do nothing but power off my monitor.
#include <Windows.h>
int main() {
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND,...
Type: Posts; User: ewoods
I've got this tiny little program that's intended to do nothing but power off my monitor.
#include <Windows.h>
int main() {
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND,...
Ah, that did it. Thanks! Like I said, I'm new to C and didn't realize there was a difference between %s and %c. Thanks again!
I'm pretty new to C and I'm trying to figure out how to access a specific character in a specific string in an array of strings. For example, I've got an array of strings, rec[2], which contains...