Search:

Type: Posts; User: Picachu

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,764

    Thanks, I will took an eye on this. ...

    Thanks,

    I will took an eye on this.

    Excuse me, but it is the first time that I use ftp, so I don't know much about it. I think I am writting a client. I am usign FtpPut() to send the file, I...
  2. Replies
    3
    Views
    1,764

    file transmission with ftp

    Hy,

    I am programming with C, and I send files with ftp.

    But the connection betwen the client and the server is very bad and I use to loose it. When this appends, the transmission restart from...
  3. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Ok now I understand. Thank you very much, I like...

    Ok now I understand. Thank you very much, I like it a lot.

    I hope my boss will like it to. ;-)

    Thanks a lot.
  4. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Maybe I didn't understand something but I thought...

    Maybe I didn't understand something but I thought you said that quzahs didn't recognise between numbers and letters. If I understand his code, it is based on the spaces. But I can't use spaces to...
  5. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Sorry my english is very bad. I can't use the...

    Sorry my english is very bad.

    I can't use the spaces because I tried with many examples and in one of them, the OCR put an example when there isn't. So it sais that it isn't a Spanish plate, but...
  6. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    sl4nted, I was thinking about using your code,...

    sl4nted, I was thinking about using your code, because finaly I have to discard spaces because of some problems whith the OCR.

    But your system has a little problem. You define the pattern with...
  7. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Maybe I am confusing you more, but my boss just...

    Maybe I am confusing you more, but my boss just tell me that we are interested, not to see which plates are spanish, but which are not.

    So realy what I need to know is which plate is not like the...
  8. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Ok I think I'm trying to complicate it too much. ...

    Ok I think I'm trying to complicate it too much.

    I will do test with your examples and I will choose the fastest one.

    Maybe I am complicating it too much trying to use less patterns but maybe...
  9. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    In mine there is a lot of unizialised variables...

    In mine there is a lot of unizialised variables because I forgot to translate a lot of things. My code is in spanish and I tried to translate it into English for you tu understand it better, but it...
  10. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    I had an idea to use only 3 patterns instead of...

    I had an idea to use only 3 patterns instead of 7.

    This is the code I use :



    #include <stdio.h>
    #include <string.h>
    #include <ctype.h>
  11. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    I think I have an idea. It is more or less...

    I think I have an idea.

    It is more or less the example you give me but whith strings instead of bits.

    But I have a technical problem, something I am sure it is possible to do but I don't know...
  12. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    So OK I use isdigit with the patterns like you...

    So OK I use isdigit with the patterns like you said. But if letter is 1 and number is 0, what is space. Because the OCR give me the answer whith spaces if the plate have spaces.
  13. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    I discard this option at the begginig because I...

    I discard this option at the begginig because I think it will take too long for the execution.

    I need the program be as quick as it can be, so I prefer the fastest solution instead of the maybe...
  14. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    sl4nted, I like your code, it is exactly what I...

    sl4nted, I like your code, it is exactly what I was looking for at the beggining but now I think it will be complicated because I will need too much patterns. Because the old spanish plates can start...
  15. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Thank you both. I do it with sscanf and...

    Thank you both.

    I do it with sscanf and checking the size of the arrays that it returns.

    If you have an other solution, please tell me, because I am sure it will be a better one.

    Thanks a...
  16. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Exactly I am reading licence plates. I have to...

    Exactly I am reading licence plates. I have to recognise those who are spanish. The spanish plates can be like that :

    1111 AAA

    or A(A) 1111 A(A) (the lettres whith () can...
  17. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Sorry it's me again. I am finding troubles....

    Sorry it's me again.

    I am finding troubles. If I said that the text has to be "%2[A-Z] %3[0-9]" and you enter something like AAAAAA 2222222 it sais that it is OK, but it isn't the same, it has to...
  18. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Thanks a lot, it works very well. I was...

    Thanks a lot, it works very well.

    I was putting %s and things like that, so it always read something, but with the last change everything works ok.

    If someone else has the same problem, you...
  19. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Ok I tried with sscanf but I doesn't work...

    Ok I tried with sscanf but I doesn't work properly (maybe I'm not using it well). If I understand how it works, before using it, I have to know which kind of characters I have. That means that I have...
  20. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Excuse me, I think I confused with scanf or...

    Excuse me, I think I confused with scanf or something like that.

    I apologise but I am realy new in C programming, I always use Java.

    I will investigate sscanf.

    Thanks a lot.
  21. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    Thank you both. I can't use sscanf because...

    Thank you both.

    I can't use sscanf because the text I have to compare doesn't come form the keyboard, it is the return of an other function (an OCR).

    Using isdigit and isalpha is good but I...
  22. Thread: text comparing

    by Picachu
    Replies
    48
    Views
    5,929

    text comparing

    Hello,

    I am a begginer in C programming, an I have a problem I can't fix.

    The problem is that I have a "string" (array of char) and I want to know if it has a specific form. That means, for...
Results 1 to 22 of 22