Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Console C++ Script, Read File output in a Formated Text

$
0
0
Hello everyone,

I have a file named "A6.txt" inside it has this code:

April Joe, 1, SUPER DUPER ULTRA SECRET, 02031982|
Matthews Jocob, 2, TOP SECRET, 11031992|
Garfield Kitty, 3, SECRET, 04041942|
Lake Bill, 4, MEH, 12031968|
Jones Betty, 5, WATCHLIST, 06031974|
Goodman Betty, 6, BANE OF SOCIETY, 05021952|


Very Simple, all it has is "Name, ID, Access, Date of Birth" (DOB needs to be formatted like 00/00/0000 if possible)

Output should Look like :
Client #1:
     Name: April Joe
     Access:  SUPER DUPER ULTRA SECRET
     DoB: 02/03/1982



I tried looking for many tutorials online none of which did this. If anyone can help me with this simple issue I have I would be grateful.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>