Search:

Type: Posts; User: ewoods

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,301

    Program not closing

    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,...
  2. Replies
    3
    Views
    1,742

    Ah, that did it. Thanks! Like I said, I'm new...

    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!
  3. Replies
    3
    Views
    1,742

    Finding a character in an array of strings

    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...
Results 1 to 3 of 3