Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. CyberOps

    Luhn algorithm for C++

    Hi, I'm trying to convert a luhn algorithm from C to C++. Here is what I have. I'm having a problem with the main function. I'm not sure where to put it. Here is the code and the compile errors. Thanks #include<string.h> static int verify_checksum(char *credit_card) { char *cp; int dbl; int...

Part and Inventory Search

Back
Top