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...
Type: Posts; User: Picachu
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...
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...
Ok now I understand. Thank you very much, I like it a lot.
I hope my boss will like it to. ;-)
Thanks a lot.
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...
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...
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...
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...
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...
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...
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>
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...
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.
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...
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...
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...
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...
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...
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...
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...
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.
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...
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...