Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I dont know why my program doesnt compile and run. Can you check it where I lost? I also attached the example output. Thanks the

I dont know why my program doesnt compile and run. Can you check it where I lost? I also attached the example output.
Thanks image text in transcribed
image text in transcribed
the wel edetine max 256 int main(int, char, char*) file name main.cpp Author Teddy nick name) include drain . h> int main(int, argc, argvi) fsteam file; int arraylmax)(0) /cont tabie string file name: char byte anput butfer open tZe std:zcout se"Enter input tile name"//atd: icin >tile name: getline (std::cin, file nane) file.open (file nane, std:sios::in) ififile.is open) std::cout nax: idx++) std:: cout cat input Hello World This is a line of text syccuxas01> main input [File main.cpp compiled using GNU GCC 7.2.0 with 32 bit integers] Code 10 (n/a) count is: 3 Code 32 (n/a) count is: 6 Code 46 (.') count is: 2 Code 72 ('H) count is 1 Code 84 ('T) count is: 1 Code 87 (') count is: 1 Code 97 ('a) count is: 1 Code 100 ('d') count is: 1 Code 101 ('e count is: 3 Code 102C'f count is: 1 Code 104 ('h) count is: 1 Code 105 ( count is: 3 Code 108 ('1 count is 4 Code 110 ('n') count is: 1 Code 111 ('ocount is: 3 Code 114 C'r) count is: 1 Code 115 ('s) count is: 2 Code 116 ('t count is: 2 Code 120 ('x') count is: 1 syccuxas01>

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

5-8 What are the advantages and disadvantages of the BYOD movement?

Answered: 1 week ago