Problem SOLVED. Thanks everyone
This is a discussion on check if a argv[1] contain all numbers within the C++ Programming forums, part of the General Programming Boards category; Problem SOLVED. Thanks everyone...
Problem SOLVED. Thanks everyone
Last edited by appointment; 08-19-2009 at 01:19 AM.
Get rid of that semicolon at the end of your if statement.Code:if (!isdigit(n[pos]));
bit∙hub [bit-huhb] n. A source and destination for information.