diff options
Diffstat (limited to 'utilities/mod2vpl.cpp')
-rw-r--r-- | utilities/mod2vpl.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/utilities/mod2vpl.cpp b/utilities/mod2vpl.cpp index fb0804a..1cbf398 100644 --- a/utilities/mod2vpl.cpp +++ b/utilities/mod2vpl.cpp @@ -1,6 +1,14 @@ #include <swmgr.h> #include <versekey.h> -#include <iostream.h> +#include <iostream> +#ifndef NO_SWORD_NAMESPACE +using sword::SWMgr; +using sword::VerseKey; +using sword::SWModule; +using sword::SWKey; +using sword::SW_POSITION; +using sword::ModMap; +#endif void cleanbuf(char *buf) { char *from = buf; @@ -62,11 +70,11 @@ int main(int argc, char **argv) { cleanbuf(buffer); if (vref) { if ((strlen(buffer) > 0) && (vref)) { - cout << (const char *)(*vkey) << " "; - cout << buffer << "\n"; + std::cout << (const char *)(*vkey) << " "; + std::cout << buffer << std::endl; } } - else cout << buffer << "\n"; + else std::cout << buffer << std::endl; delete [] buffer; (*mod)++; |