source error

Status
Not open for further replies.
You need to dimension your arrays. Try,

Code:
const char Kodas[4][65] = {"1111111110101010101010101010101010101010101010101010101010101010",
                           "1111111111010101010101010101010101010101010101010101010101010100",
                           "1111111110101010101010101010101010101010101010101010101010101010",
                           "1111111110101010101010101010101010101010101010101010101010101010"};
const char Vardas[4][9] = {"12345678", "01234567", "12345670", "02345678"};
const char Pavarde[4][13] = {"123456789012", "012345678901", "123456789010", "023456789012"};

Note the second dimension is one more than the number of characters, this is because using double quotes adds a trailing zero.

Mike.
 
can anybody tell me, hot shoud i improve my source, that after card reading, the reading time appiers in LCD. there ar two ways: show reading time in miliseconds, or show real time. the problem is, that i am not good at programming, so maybe anyone can write me example, which is suitable for my program
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…