Write true of false to the outfile descirbed in the function

Assignment Help C/C++ Programming
Reference no: EM132083365

I am new to the SML of NJ language and have not come across this yet. After my function is done doing what it is doing i need it to either write true or false into an outfile that the function takes in as input. So if my function is

fun thing (inFile : string, outFile : string)

I need to write true or false according to a different function into the outFile. How would I go about writing into a file in SML?

To avoid confusion all I want to know is how to be able to write true of false to the outFile descirbed in the function.

Reference no: EM132083365

Questions Cloud

Write only one long logical statement to cover all these : Write ONLY ONE long logical statement in c++ to cover all these conditions using and, or, and not conditions with the necessary variables.
What would happen to the required return on the company : Assume the company can use the proceeds to retire $10 million worth of equity, (a) what would happen to the firm's WACC?
Find window size required for maximum network utilization : The network data rate is 100 Mbps and the distance between the sender and the receiver is 36,000 km.
Calculate the maximum offer : What adjustments should be applied in each scenario and calculate the maximum offer.
Write true of false to the outfile descirbed in the function : To avoid confusion all I want to know is how to be able to write true of false to the outFile descirbed in the function.
Determine how many data values to process for each : Determines if the integer is abundant, deficient, perfect or neither and displays a message that includes the integer and which of the 4 categories.
Graduate management aptitude test : Business schools A and B reported the following summary of GMAT (Graduate Management Aptitude Test) mathematics scores. Test the claim
Determine the output of the neuron : The activation function is linear, where the constant of proportionality equals 2 - that is, the activation function is given by f(net) = 2 × net.
What steps would you take to correct the problems : Your network configuration is not functioning properly. What steps would you take to correct the problems and why?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Design and implement a library system

Design and implement a library system that does the following: ? Takes details of a student/library users: first name, last name, other names, user ID number, and nationality.

  Write a function which adds the two numbers

In C write a function which adds the two numbers. Test this function by calling from the main. In main, the user should be asked to provide the two numbers.

  Create a detailed ipo chart

Create a detailed IPO chart that also includes the algorithm from the attached c++ source code.

  The counter each time it''s clicked

Write a simple script that contains a button and a counter in a div. The button's event handler should increment the counter each time it's clicked.

  About recursion that makes it useful tool

What is it about recursion that makes it a useful tool when working with trees?

  Rewrite a c++ program

I have Assign in C++ , I create evrething but my project not work also Iput it all documents.

  Write a program that grades an online quiz

write a program that grades an online quiz. The program asks the student to enter his/her answer to 10 multiple-choice questions. The program stores the student's responses in an array and then compares those responses to the correct answers to de..

  Write a program that performs character processing

Write a program that performs character processing on 10 characters read in from a file, and writes the results to output files. Do NOT use loops or arrays to solve this problem.

  Principle ofsuperposition to determine that system is linear

Apply the principle of superposition to determine whether the following systems are linear. Sketch what the plot of the function looks like.

  Write a program that will simulate a single game of craps

CSCI 240 - write a program that will simulate a single game of Craps and The program will use the random number generator to simulate the rolling of the die

  Developing programs using stl containers and inheritance

Write C++ code using STL container class objects and Use inheritance to facilitate programming with objects - You might have to work on the code

  Consists of an employee''s last name

Each input line consists of an employee's last name, first name, current base salary, total sales and percent commission. For example, in the first input line, the last name of the employee is Thomas, the first name is Andrew, the current base salary..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd