Search:

Type: Posts; User: Granger9

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: .net

    by Granger9
    Replies
    1
    Views
    956

    .net

    Whats all this .net stuff microsoft have???
  2. Thread: MENU IDs

    by Granger9
    Replies
    1
    Views
    1,662

    MENU IDs

    I have made a menu but when I go to compile it I get these errors
  3. Replies
    20
    Views
    2,568

    Sorry but that only works for WIN XP and 2K and I...

    Sorry but that only works for WIN XP and 2K and I need it to work for WIN XP and 98 which I have said in a previous post.

    So can anyone help me?
  4. Replies
    20
    Views
    2,568

    It didn't work I did everything you said apart...

    It didn't work I did everything you said apart from but the close windows function in because I wanted to see if it would stop the shutdown completey but it did not. Heres my code so you can check...
  5. Replies
    20
    Views
    2,568

    Thanks

    Ok thanks I will try it. I had to rename the shutdown variable because it said I was redeclareing it (I renamed it as shutdownPC)

    I will be back to tell you if it works
  6. Replies
    20
    Views
    2,568

    Sorry I'm new to all of this how do you declare...

    Sorry I'm new to all of this how do you declare shutdown you to false. Do you declare a bool variable like this:

    BOOL shutdown;

    Thanks for the help
  7. Replies
    1
    Views
    863

    Stopping Windows Shutdown

    Can someone give me a working example how to stop windows shutting down please because I just can't do it.

    This is to help me with me PC timer which I have a thread on and there has been...
  8. Replies
    20
    Views
    2,568

    MSDN

    I have been looking at MSDN at WM_QUERYENDSESSION and it says somthing about XP but I don't quite understand what it means, can someone help me becuause this might solve my problem. MSDN...
  9. Replies
    20
    Views
    2,568

    GRR

    No the Message box did not appear! I also got my friend to try it on his Windows 98 box and it didn't work on there either.

    Can someone try and build and run it on there PC to see if they can get...
  10. Replies
    20
    Views
    2,568

    LRESULT CALLBACK Procedure(HWND hwnd, UINT msg,...

    LRESULT CALLBACK Procedure(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
    {
    switch(msg)
    {
    case WM_QUERYENDSESSION:
    case WM_DESTROY:
    case WM_CLOSE:
    get_second_time();...
  11. Replies
    20
    Views
    2,568

    #include #include ...

    #include <windows.h>
    #include <stdio.h>
    #include <time.h>
    #include <string.h>



    void remove_char( char *string, const char item )
    {
    char *at = strchr( string, item );
  12. Replies
    10
    Views
    1,687

    code tags

    Code tags put little lines and a title of code around your code like this



    #include <stdio.h>

    int main(void)
    {
    printf("Code tags are great");
    return 0;
  13. Replies
    20
    Views
    2,568

    Right I have got everything working apart from...

    Right I have got everything working apart from one thing, thats when the computer is turned off it doesn't run get_second_time();!! I am extreamly new to programming in windows and I have just copied...
  14. Replies
    6
    Views
    1,002

    ooppss

    Sorry I forgot to put #include<string.h> once I put that in it got rid of all the warnings.

    Thanks all for the help :cool:
  15. Replies
    6
    Views
    1,002

    Hey I got it

    #include<time.h>
    #include<stdio.h>


    void remove_char( char *string, const char item )
    {
    char *at = strchr( string, item );

    while( *at ) *at++ = *(at + 1);
    }
  16. Replies
    6
    Views
    1,002

    output

    The output of the program is like this:

    but i want it to look like this:
  17. Replies
    6
    Views
    1,002

    undesired newline (\n)

    #include<time.h>
    #include<stdio.h>

    int main(void)
    {
    char hello[25];
    time_t timer;
    timer=time(NULL);
    strcpy(hello,asctime(localtime(&timer)));
    timer=time(NULL);
  18. Thread: C programming

    by Granger9
    Replies
    2
    Views
    959

    C programming

    I'm new to windows programing, I have been programming DOS in C for a while now and I was wondering is the code I use there vaild when programming for windows. For example if I wanted to Open and...
  19. Replies
    20
    Views
    2,568

    computer timer

    I want to make a program which times the ammount of time my computer is switched on for. I want it to log this in a text file like this

    30/12/02
    12:50->15:00

    I know how to make a program which...
  20. Replies
    2
    Views
    3,247

    Free web host compatible with C cgi scripts

    Does anyone know where I can get a web host from which is compatible with C cgi scripts??

    Thanks
  21. Replies
    0
    Views
    1,256

    Reading and Writing to a file

    I have already asked this question before but I didn't really get anywhere. But now I have a new way of explaining what I want to do.

    The code below reads a file off my computer and then prints...
  22. Replies
    2
    Views
    1,487

    There is some info. about stream sockets here...

    There is some info. about stream sockets here http://www.ecst.csuchico.edu/~beej/guide/net/html/ but I not sure about the others. I know if you do a search at google you will find somthing on raw...
  23. Thread: Web tutorial

    by Granger9
    Replies
    3
    Views
    1,340

    Thanks

    Thank you for that also when I was installing it I did not install MSDN but now I want to, how do i do it???
  24. Thread: Web tutorial

    by Granger9
    Replies
    3
    Views
    1,340

    Web tutorial

    I have MSVC++ but when I click on
    Help|Microsoft on the web|Web tutorial it opens Microsoft Internet expoloer and because I have AOL nothing happens so can someone please give me the address to...
  25. Thread: Compilers?

    by Granger9
    Replies
    9
    Views
    1,367

    Thank you

    Thanks everyone for the help. I got VC++ now!!! :p
Results 1 to 25 of 109
Page 1 of 5 1 2 3 4