Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The programming language is C++ File input begins: XXVII 123 MCLXV 1975 File input ends How, would I put a Roman Numeral or an Arabic

The programming language is C++

File input begins:

XXVII 123 MCLXV 1975 

File input ends

How, would I put a Roman Numeral or an Arabic numeral as a node in a linked list without taking in the rest of the blank space of the line?

The file contains lines of either a Roman Numeral or an Arabic Numeral

The lines should follow this format :

Roman numeral field 15 characters -

Arabic numeral field 4 characters

If a line only contains a Roman Numeral it needs to be converted into an Arabic Numeral and vice versa( I have already done this part)

My question is how would I put a Roman Numeral or an Arabic numeral as a node in a linked list without taking in the rest of the blank space of the line?

I have seen the use of #include, but this doesn't work with the compiler used in class

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions