Click here to Skip to main content
15,900,254 members
Home / Discussions / C#
   

C#

 
QuestionRunning MsBuild Pin
kulile17-Sep-06 23:30
kulile17-Sep-06 23:30 
QuestionPopulating a datagrid Pin
subduction3617-Sep-06 23:05
subduction3617-Sep-06 23:05 
AnswerRe: Populating a datagrid Pin
Tamimi - Code17-Sep-06 23:43
Tamimi - Code17-Sep-06 23:43 
GeneralRe: Populating a datagrid Pin
subduction3618-Sep-06 0:06
subduction3618-Sep-06 0:06 
GeneralRe: Populating a datagrid Pin
Tamimi - Code18-Sep-06 0:44
Tamimi - Code18-Sep-06 0:44 
GeneralRe: Populating a datagrid Pin
llap44418-Sep-06 3:14
llap44418-Sep-06 3:14 
GeneralRe: Populating a datagrid Pin
llap44418-Sep-06 3:21
llap44418-Sep-06 3:21 
QuestionHow to create a EAN-13 barcode checking? Pin
llyod17-Sep-06 22:59
llyod17-Sep-06 22:59 
--------------------------------------------------------------------------------

Can someone help me in making a barcode checking in C programming language? The barcode is using EAN-13 code, which was normally grouped as 1-6-6. The code should check code like 9 300605 013278, and print out a message whether it's a valid barcode.
The requirement for a valid barcode is that:
• Add up all the even-numbered digits, and multiply the sum by 3:
3 + 0 + 0 + 0 + 3 + 7 = 13; 13 * 3 = 39

• Add up all the odd-numbered digits (including the check digit):
9 + 0 + 6 + 5 + 1 + 2 + 8 = 31

• Add up the two totals; the result should be divisible by 10:
39 + 31 = 70




Thanks and cheers for the help!!
AnswerRe: How to create a EAN-13 barcode checking? Pin
Stefan Troschuetz17-Sep-06 23:12
Stefan Troschuetz17-Sep-06 23:12 
AnswerRe: How to create a EAN-13 barcode checking? Pin
Hamid_RT18-Sep-06 9:32
Hamid_RT18-Sep-06 9:32 
QuestionHow to create windows service in C# Pin
Rajesh_K_Sharma17-Sep-06 22:38
Rajesh_K_Sharma17-Sep-06 22:38 
QuestionHow could i set at which second the sound play? Pin
Nafiseh Salmani17-Sep-06 22:24
Nafiseh Salmani17-Sep-06 22:24 
AnswerRe: How could i set at which second the sound play? Pin
Nafiseh Salmani19-Sep-06 2:58
Nafiseh Salmani19-Sep-06 2:58 
QuestionShowing the log file to user Pin
saqib8217-Sep-06 21:41
saqib8217-Sep-06 21:41 
AnswerRe: Showing the log file to user Pin
Stefan Troschuetz17-Sep-06 23:15
Stefan Troschuetz17-Sep-06 23:15 
Questionhow can i save utf-8 format characters to sql database/ Encode or Decode Pin
sikandarhayat17-Sep-06 21:37
sikandarhayat17-Sep-06 21:37 
AnswerRe: how can i save utf-8 format characters to sql database/ Encode or Decode Pin
Guffa17-Sep-06 22:38
Guffa17-Sep-06 22:38 
Questionhow to define struct Pin
Parshant Verma17-Sep-06 21:22
Parshant Verma17-Sep-06 21:22 
AnswerRe: how to define struct Pin
Christian Graus17-Sep-06 21:29
protectorChristian Graus17-Sep-06 21:29 
QuestionRe: how to define struct Pin
Parshant Verma17-Sep-06 21:36
Parshant Verma17-Sep-06 21:36 
AnswerRe: how to define struct Pin
Christian Graus17-Sep-06 21:42
protectorChristian Graus17-Sep-06 21:42 
GeneralRe: how to define struct Pin
S. Senthil Kumar18-Sep-06 3:20
S. Senthil Kumar18-Sep-06 3:20 
AnswerRe: how to define struct Pin
Guffa17-Sep-06 21:44
Guffa17-Sep-06 21:44 
GeneralRe: how to define struct Pin
Christian Graus17-Sep-06 22:26
protectorChristian Graus17-Sep-06 22:26 
QuestionCrystal Reports Pin
tyagi020817-Sep-06 21:18
tyagi020817-Sep-06 21:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.