Skip to content

Commit 151339b

Browse files
committed
Correct function prototypes
1 parent 07b6e1d commit 151339b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

LineCounter/LineCounter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ using namespace std;
66
#pragma comment(lib, "User32.lib")
77

88
int linesInFile(WIN32_FIND_DATA); // Returns the number of lines in the file to which the argument is a handle
9-
int linesInDirectory(const char*); // Returns if an error occurred, exactly like main
10-
int linesInDirectoryRecursive(const char*); // Returns the number of lines in the directory tree with root directory given, or -1 if an error occurred
9+
int linesInDirectory(string); // Returns if an error occurred, exactly like main
10+
int linesInDirectoryRecursive(string); // Returns the number of lines in the directory tree with root directory given, or -1 if an error occurred
1111

1212
void help(const char*); // Prints the help message to cout
1313
bool isHelpFlag(const char*); // Returns whether the passed string is a recognized help flag

0 commit comments

Comments
 (0)