Search:

Type: Posts; User: lepricaun

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. command line taskmgr / taskkiller for windows

    hi all,

    a couple of months ago i was searching really hard for a command line version of the windows taskmgr, but i wasn't able to find one :(

    so today i decided to write one myself, my brain...
  2. Replies
    15
    Views
    11,109

    gee, thanks for all the responses... ok, i did...

    gee, thanks for all the responses... ok, i did see the coded sucked in error checking, and "void main" wasn't that nice either, but i just wanted it to get compiled to see if it is the right...
  3. Replies
    15
    Views
    11,109

    socket programming for windows in C

    hi guys,

    I'm still learning C, and although socket programming for linux works like a charm, i can't get it to work for windows....

    the code that is given in this tutorial is supposed to be...
  4. Replies
    4
    Views
    4,577

    thanks, i'll have a look at it :)

    thanks, i'll have a look at it :)
  5. Replies
    4
    Views
    4,577

    sorry, it is for windows 2k / XP, and i'm using...

    sorry, it is for windows 2k / XP, and i'm using dev-c++, i already know there are some API's that will do that, found the link here,
    but it isn't clear to me how they work :(
  6. Replies
    4
    Views
    4,577

    locking mouse and keyboard in C

    Hi all,

    I was wondering how you can disable the mouse and certain keys in C.
    I want to write a program which has a lock. Meaning: if you enter the correct password, the mouse and keyboard are...
  7. Replies
    15
    Views
    5,783

    that clears things up! i'll keep it in mind for...

    that clears things up! i'll keep it in mind for future reference :D

    thanks for the reply :P
  8. Replies
    15
    Views
    5,783

    do i need a special library for it? how about...

    do i need a special library for it? how about exit 1?
  9. Replies
    15
    Views
    5,783

    well, actually someone else (can't remember his...

    well, actually someone else (can't remember his nick at the moment, also helped advised me to do the same(www.security-forums.com)) but special thanks to everyone that helped me, from the first...
  10. Replies
    15
    Views
    5,783

    written command line password generator

    hi guys, i've written a command line password generator ideal for scripting (works both on linux and windows).

    everything works great, it has the GPL license, and i'm satisfied with it :)

    BUT,...
  11. Replies
    16
    Views
    2,187

    well, that shouldn't be so hard :), i'll get to...

    well, that shouldn't be so hard :), i'll get to it right away :)
  12. Replies
    16
    Views
    2,187

    i'll read the faq, hope in the faq also is...

    i'll read the faq,
    hope in the faq also is explained how to free memory and how to check if malloc() didn't fail, otherwise i hope google will give the answer....

    oh yeah, b.t.w., i've wanted to...
  13. Replies
    16
    Views
    2,187

    #include #include ...

    #include <windows.h>
    #include <stdio.h>
    #include <stdlib.h>
    int main(void)
    {
    int bufsize=256;
    char *buffer=malloc(bufsize);
    while(1)
    {
    printf("\nCommand:>");
  14. Replies
    16
    Views
    2,187

    thanks guys, this helps a lot :D

    thanks guys, this helps a lot :D
  15. Replies
    16
    Views
    2,187

    well, i've used the pointer just like: int...

    well, i've used the pointer just like:


    int main (int argc, char *argv[])

    at least, that's what i think, but how should i do allocate space?
    and should scanf() be used like

    ...
  16. Replies
    16
    Views
    2,187

    pointer problem

    hi guys,

    can someone please tell me why this code isn't working?:


    #include <windows.h>
    #include <stdio.h>
    int main(void)
    {
    char *run;
  17. Replies
    17
    Views
    15,582

    is that your first time then??? ...

    is that your first time then???

    CONGRATULATIONS :D
  18. Replies
    17
    Views
    15,582

    that is a good tip! i'm surely gonna do this,...

    that is a good tip!
    i'm surely gonna do this, but i'm pretty new to C (i'm still learning) and i wanted to get the program to work first, before i changed it to use functions for everything that has...
  19. Replies
    17
    Views
    15,582

    well, it's just a sig, but if it is bothering you...

    well, it's just a sig, but if it is bothering you guys i'll change it :)

    as for the program, i did what pianorain suggested and got to this code:



    #include <stdio.h>
    #include <stdlib.h>...
  20. Replies
    17
    Views
    15,582

    WaltP>> i understand what you mean, but try this...

    WaltP>> i understand what you mean, but try this site, it has a bunch of C tutorials and most of them start out without declaring main() as an int, like my signature...

    i understand that the OS...
  21. Replies
    17
    Views
    15,582

    that i do get, but as far as i can see in my...

    that i do get, but as far as i can see in my above code, the program always runs into a return 0; if no error occurs, so i didn't saw the need to put it in the end of main.
    but let's just forget...
  22. Replies
    17
    Views
    15,582

    ok, learned something new about the srand()...

    ok, learned something new about the srand() function :)
    as for the return 0; i still don't get it, but i'll go and study it even more...

    how would i process a string in memory?
    never heared of...
  23. Replies
    12
    Views
    1,901

    just do a disk to disk copy, this has to work!...

    just do a disk to disk copy, this has to work! otherwise get a copy (trial) of cloneCD, this will surely get the job done...
  24. every distro is good, try knoppix if you don't...

    every distro is good, try knoppix if you don't wish to learn linux itself, it is a linux-live cd, it runs completely from cd...
  25. Replies
    17
    Views
    15,582

    if it is not allowed, the srand(), then how come...

    if it is not allowed, the srand(), then how come it worked? i compiled it on gcc and on dev-c++, on gcc i used the command "gcc -o mastermind mastermind.c" so i didn't use it as c++.

    but i will...
Results 1 to 25 of 27
Page 1 of 2 1 2