Course Solutions Uncategorized (Solved) : C Question M Reading Words Text File Storing Words Array Currently M Like Code Working Fin Q34969447 . . . .

(Solved) : C Question M Reading Words Text File Storing Words Array Currently M Like Code Working Fin Q34969447 . . . .

 

I have a C++ question. I’m reading words from a text file andstoring each words in an array. Currently I’m doing it like thecode below and its working fine but I need all the words to bestored in the array as lower case letters. How can I do this? Thankyou.

if(file.is_open())

    {

        for(int i = 0; i< arrayLength; i++)

        {

            file>> array[i];

        }

    }

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Output Produced Following Lines String Test Hello John String Newtest Testtouppercase Syst Q26238060 . . . .(Solved) : Output Produced Following Lines String Test Hello John String Newtest Testtouppercase Syst Q26238060 . . . .

<p>What is the output produced by the following lines:<br/>---------------------------------------------------------------<br/>String test = "Hello John";<br/>String newTest = test.toUpperCase();<br/>System.out.println(test);</p> Expert Answer Answer to What is the output produced by the following lines: