mirror of
https://gitea.home.endeavr.de/Marcel/Tarstats-pp.git
synced 2025-12-10 00:39:01 +01:00
Tarstats-pp-1 Prototyping: Parse all items of a tarball
- no loop yet. jumped to second item and parsed it's header.
This commit is contained in:
1
main.cpp
1
main.cpp
@@ -111,6 +111,7 @@ int main(int argc, char** argv) {
|
|||||||
std::cout << itemtype << std::endl;
|
std::cout << itemtype << std::endl;
|
||||||
std::cout << itemsize << " Bytes" << std::endl;
|
std::cout << itemsize << " Bytes" << std::endl;
|
||||||
|
|
||||||
|
//Second item
|
||||||
std::cout << itemname2 << std::endl;
|
std::cout << itemname2 << std::endl;
|
||||||
std::cout << itemtype2 << std::endl;
|
std::cout << itemtype2 << std::endl;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user