Search:

Type: Posts; User: megareix

Search: Search took 0.00 seconds.

  1. Thank you for the answer tabstop. Here is the...

    Thank you for the answer tabstop. Here is the code using your suggestion:


    #include <stdio.h>

    main()
    {
    FILE *archivo;
    int one, two, three, four, five, six, seven, eight, success;
    ...
  2. Thanks for all of your answers. One thing I...

    Thanks for all of your answers. One thing I forgot to mention is that I'm using C, not C++.
    The code in fact was very simple, and is made, as you said, using GetModuleFileName. Here is the code:

    ...
  3. How to get the current directory and the file name

    Hi, I'm looking for a code that gets the directory where the file is being executed (for example: C:\some\directory) and the name of the file that is being executed.(for example: someprogram.exe)
    ...
  4. Thanks for all of your answers. It still doesn't...

    Thanks for all of your answers. It still doesn't work, but I think I know why. I have been looking at the srt file, and it seems that it's not as straightforward as I thought. What I mean is not...
  5. Thanks for the answers. Here is what I've got so...

    Thanks for the answers. Here is what I've got so far:


    #include <stdio.h>

    main()
    {
    FILE *archivo;
    int linea = 1, i, num = 0;
    char ubicacion[60], linea2[40], *ptr, caracter;
  6. Replies
    6
    Views
    1,909

    Thanks a lot Salem, the problem is apparently...

    Thanks a lot Salem, the problem is apparently because I send the whole recvbuff instead of "result" bytes. Apparently that was the problem, and now everything works perfect. Here is the new code:

    ...
  7. Is there any way to read a line from a text file?

    Hi, that's the question. Is there any way to read a line from a text file (I want it to work with .srt files). I want to read a line and just a line, but the problem is that I don't know how to...
  8. Replies
    6
    Views
    1,909

    Thanks for the answer root4. I tryed to use...

    Thanks for the answer root4. I tryed to use netcat as you said, and afer I send the irc server and the port (for example: irc.freenode.net 8001) I get this message over and over again, very fast:...
  9. Replies
    6
    Views
    1,909

    Yes, it compiles. And it can connect to the...

    Yes, it compiles. And it can connect to the server. The problem comes then, when I try to join a channel or use any other command. To test it, configure the proxy server type in XChat as wingate. If...
  10. Replies
    6
    Views
    1,909

    Need help coding a bouncer

    Hi, I'm trying to code an IRC proxy (aka bouncer), but I'm having troubles with it. I'm sorry for not being very specific, the problem in general is that it just doesn't work and I don't know where...
Results 1 to 10 of 10