Question
1, Please use c++ to solve this problem. PROJECT TEST FORMATTING IN VISUAL STUDIO 2. Please use visual studio 2019 or the latest. 3.Please show
1, Please use c++ to solve this problem.
PROJECT TEST FORMATTING IN VISUAL STUDIO
2. Please use visual studio 2019 or the latest.
3.Please show all outputs.
4. Please share your formatted code.
5. Your code must be properly documented and formatted.
This project involves rendering text on the standard display monitor performing three types of alignments,
left-justify, right-justify, and full-justify. USE FILES BELOW TO DO THIS.
FILES: files_list and commands
The text is retrieved from a user input file.
While performing these tasks, your program should observe the following rules.
1. A line can have at most 60 characters.
2. A new paragraph is indented with 5 characters' wide indentation.
3. No hyphenation at text wrap.
4. A paragraph is separated with a single blank line.
sample program you can manipulate it needs to be modified to use files put actual file names so the program will run
#include
file_link.txt (Leave file name the same)
Date Time Zn Size Name
11/18/2002 4:44:00 AM 232758 ARIALUNI.TTF
7/18/2008 3:15:00 AM 133424 zelan.ttf
7/18/2008 3:13:00 AM 148188 hiwua.ttf
7/18/2008 3:14:00 AM 162396 fantuwua.ttf
7/18/2008 3:12:00 AM 162504 tint.ttf
7/18/2008 3:10:00 AM 181652 yebse.ttf
7/18/2008 3:12:00 AM 183280 washrasb.ttf
7/18/2008 3:09:00 AM 205588 yigezubisratgothic.ttf
7/18/2008 3:10:00 AM 212112 wookianos.ttf
7/18/2008 3:11:00 AM 224260 washrab.ttf
7/18/2008 3:13:00 AM 417488 goffer.ttf
8/11/2009 4:59:00 AM 93432 MyriadWebPro.ttf
8/11/2009 4:59:00 AM 93552 MyriadWebPro-Italic.ttf
8/11/2009 4:59:00 AM 99356 MyriadWebPro-Bold.ttf
2/4/2010 3:26:00 AM 29124 OCRAStd.otf
2/4/2010 3:26:00 AM 29864 StencilStd.otf
2/4/2010 3:25:00 AM 31040 HoboStd.otf
2/4/2010 4:00:00 AM 33244 LetterGothicStd-Bold.otf
2/4/2010 4:00:00 AM 33444 LetterGothicStd.otf
2/4/2010 3:26:00 AM 34024 OratorStd.otf
2/4/2010 4:00:00 AM 34852 LetterGothicStd-BoldSlanted.otf
2/4/2010 3:25:00 AM 34960 CooperBlackStd.otf
2/4/2010 4:00:00 AM 34972 LetterGothicStd-Slanted.otf
2/4/2010 3:26:00 AM 35240 PrestigeEliteStd-Bd.otf
2/4/2010 3:26:00 AM 35372 OratorStd-Slanted.otf
2/4/2010 3:25:00 AM 35456 BrushScriptStd.otf
2/4/2010 3:26:00 AM 36012 PoplarStd.otf
2/4/2010 3:25:00 AM 36452 BirchStd.otf
2/4/2010 3:25:00 AM 36536 CooperBlackStd-Italic.otf
2/4/2010 3:25:00 AM 36888 CharlemagneStd-Bold.otf
2/4/2010 3:25:00 AM 44468 BlackoakStd.otf
2/4/2010 3:25:00 AM 47760 GiddyupStd.otf
2/4/2010 3:26:00 AM 50920 MesquiteStd.otf
2/4/2010 3:26:00 AM 55492 NuevaStd-BoldCondItalic.otf
2/4/2010 3:26:00 AM 55592 NuevaStd-BoldCond.otf
2/4/2010 3:26:00 AM 56196 NuevaStd-CondItalic.otf
2/4/2010 3:26:00 AM 56384 NuevaStd-Cond.otf
2/4/2010 3:26:00 AM 68564 TrajanPro-Regular.otf
2/4/2010 3:26:00 AM 68620 RosewoodStd-Regular.otf
2/4/2010 3:26:00 AM 68676 TrajanPro-Bold.otf
2/4/2010 3:25:00 AM 74952 AGaramondPro-Bold.otf
2/4/2010 3:25:00 AM 76452 AGaramondPro-BoldItalic.otf
2/4/2010 3:26:00 AM 78428 LithosPro-Regular.otf
2/4/2010 3:26:00 AM 79396 LithosPro-Black.otf
2/4/2010 4:00:00 AM 81204 AdobeHebrew-Bold.otf
2/4/2010 4:00:00 AM 82080 AdobeHebrew-Regular.otf
2/4/2010 4:00:00 AM 85252 AdobeHebrew-BoldItalic.otf
2/4/2010 4:00:00 AM 85608 AdobeHebrew-Italic.otf
2/4/2010 3:25:00 AM 91916 AGaramondPro-Italic.otf
2/4/2010 4:00:00 AM 91964 MyriadPro-Cond.otf
2/4/2010 4:00:00 AM 94360 MyriadPro-Regular.otf
2/4/2010 4:00:00 AM 94628 MyriadPro-BoldCond.otf
2/4/2010 4:00:00 AM 95616 MyriadPro-Semibold.otf
2/4/2010 4:00:00 AM 95684 MyriadPro-Bold.otf
2/4/2010 3:26:00 AM 97232 TektonPro-BoldCond.otf
2/4/2010 4:00:00 AM 97888 MyriadPro-CondIt.otf
2/4/2010 4:00:00 AM 98064 MyriadPro-It.otf
2/4/2010 3:26:00 AM 98336 TektonPro-Bold.otf
2/4/2010 3:26:00 AM 99580 TektonPro-BoldExt.otf
2/4/2010 4:00:00 AM 100184 MyriadPro-SemiboldIt.otf
2/4/2010 4:00:00 AM 100252 MyriadPro-BoldIt.otf
2/4/2010 4:00:00 AM 100312 MyriadPro-BoldCondIt.otf
2/4/2010 3:26:00 AM 111360 TektonPro-BoldObl.otf
2/4/2010 3:25:00 AM 127592 AGaramondPro-Regular.otf
2/4/2010 3:25:00 AM 132236 ChaparralPro-Regular.otf
2/4/2010 3:25:00 AM 132408 ChaparralPro-Bold.otf
2/4/2010 3:25:00 AM 133256 ChaparralPro-Italic.otf
2/4/2010 3:25:00 AM 133864 ChaparralPro-BoldIt.otf
2/4/2010 3:25:00 AM 143932 ACaslonPro-Bold.otf
2/4/2010 3:25:00 AM 168372 ACaslonPro-Italic.otf
2/4/2010 3:25:00 AM 168852 ACaslonPro-Regular.otf
2/4/2010 3:25:00 AM 169784 ACaslonPro-BoldItalic.otf
2/4/2010 3:25:00 AM 171092 ACaslonPro-SemiboldItalic.otf
2/4/2010 3:25:00 AM 172256 ACaslonPro-Semibold.otf
2/4/2010 4:00:00 AM 230912 MinionPro-Bold.otf
2/4/2010 4:00:00 AM 231312 MinionPro-Regular.otf
2/4/2010 3:26:00 AM 232680 MinionPro-BoldCn.otf
2/4/2010 3:26:00 AM 233088 MinionPro-Medium.otf
2/4/2010 3:26:00 AM 234260 MinionPro-Semibold.otf
2/4/2010 3:26:00 AM 275004 MinionPro-MediumIt.otf
2/4/2010 3:26:00 AM 275572 MinionPro-BoldCnIt.otf
2/4/2010 4:00:00 AM 276140 MinionPro-It.otf
2/4/2010 4:00:00 AM 276632 MinionPro-BoldIt.otf
2/4/2010 3:26:00 AM 277068 MinionPro-SemiboldIt.otf
2/4/2010 4:00:00 AM 358032 AdobeArabic-BoldItalic.otf
2/4/2010 4:00:00 AM 360784 AdobeArabic-Bold.otf
2/4/2010 4:00:00 AM 369512 AdobeArabic-Italic.otf
2/4/2010 4:00:00 AM 376016 AdobeArabic-Regular.otf
2/4/2010 3:25:00 AM 2832152 AdobeGothicStd-Bold.otf
2/4/2010 4:00:00 AM 3252652 KozGoPro-ExtraLight.otf
2/4/2010 4:00:00 AM 3456772 KozGoPro-Light.otf
2/4/2010 4:00:00 AM 3460376 KozGoPro-Regular.otf
2/4/2010 4:00:00 AM 3496008 KozGoPro-Medium.otf
2/4/2010 4:00:00 AM 3586872 KozGoPro-Bold.otf
2/4/2010 4:00:00 AM 3670080 KozGoPro-Heavy.otf
2/4/2010 4:00:00 AM 3825720 KozMinPro-ExtraLight.otf
2/4/2010 4:00:00 AM 4059096 AdobeMyungjoStd-Medium.otf
2/4/2010 4:00:00 AM 4233784 KozMinPro-Light.otf
2/4/2010 4:00:00 AM 4247988 KozMinPro-Regular.otf
2/4/2010 4:00:00 AM 4268536 KozMinPro-Heavy.otf
2/4/2010 4:00:00 AM 4313040 KozMinPro-Medium.otf
2/4/2010 4:00:00 AM 4383792 KozMinPro-Bold.otf
2/4/2010 3:25:00 AM 5050524 KozGoPr6N-ExtraLight.otf
2/4/2010 3:25:00 AM 5431800 KozGoPr6N-Light.otf
2/4/2010 3:25:00 AM 5439252 KozGoPr6N-Regular.otf
2/4/2010 3:25:00 AM 5497908 AdobeFanHeitiStd-Bold.otf
2/4/2010 3:25:00 AM 5499164 KozGoPr6N-Medium.otf
2/4/2010 3:25:00 AM 5645912 KozGoPr6N-Bold.otf
2/4/2010 3:25:00 AM 5806292 KozGoPr6N-Heavy.otf
2/4/2010 3:26:00 AM 8133548 KozMinPr6N-Light.otf
2/4/2010 3:26:00 AM 8134748 KozMinPr6N-Regular.otf
2/4/2010 3:26:00 AM 8155128 KozMinPr6N-ExtraLight.otf
2/4/2010 3:26:00 AM 8161600 KozMinPr6N-Medium.otf
2/4/2010 3:26:00 AM 8218100 KozMinPr6N-Bold.otf
2/4/2010 3:26:00 AM 8436112 KozMinPr6N-Heavy.otf
2/4/2010 4:00:00 AM 1017165 AdobeMingStd-Light.otf
Commands.txt
f2/4/2010 3:25:00 AM 1226542 AdobeHeitiStd-Regular.otf
2/4/2010 3:25:00 AM 1452606 AdobeFangsongStd-Regular.otf
2/4/2010 4:00:00 AM 1558666 AdobeSongStd-Light.otf
2/4/2010 3:25:00 AM 1694890 AdobeKaitiStd-Regular.otf
commands.txt (leave file name the same)
DELETE MyriadWebPro.ttf DEELTE MyriadWebPro-Italic.ttf DEELTE MyriadWebPro-Bold.ttf PRINT SORT ASC PRINT ADD 0HCC-Regular.ttf ADD 0HCC-Italic.ttf ADD 0HCC-Bold.ttf ADD ZHCC-Bold.ttf SORT ASC PRINT UPDATE ZHCC-Bold.ttf ZHCC-Bold.ttf 1/1/2000 1:00:00 AM 10000 UPDATE AdobeHebrew-Bold.otf AdobeHebrew-Bold.otf 1/1/2000 1:00:00 AM 10000 UPDATE AdobeHebrew-Regular.otf AdobeHebrew-Regular.otf 1/1/2000 1:00:00 AM 10000 DELETE KozMinPr6N-Light.otf DELETE KozMinPr6N-Regular.otf DELETE KozMinPr6N-ExtraLight.otf DELETE KozMinPr6N-Medium.otf DELETE KozMinPr6N-Bold.otf DELETE KozMinPr6N-Heavy.otf SORT ASCPRIN
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started