Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Intelligent voting machine using sd card with barcode scanner

Status
Not open for further replies.
just an array of 1 d names repeat[10] filled with 0 on all indexes and then when the vote is casted then the index of the matched cnic just becomes 1...now if again the voter tries to cast vote using same cnic then their is a condition that
if (cnics_array[][]==15 && repeat[]==0)
then vote casted.
 

i have attached my code

- - - Updated - - -

I have taken an array as
char repeat[10];
& int ctr=0;
then if my my sdcard value of cnic and barcode value of cnic matched then

Code:
if(cnics_array[][]==15 && repeat[]==0)
repeat[ctr]= 1;
 

Attachments

  • final final.rar
    531.6 KB · Views: 54

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top