Linked Questions

2
votes
1answer
90 views

Populate the list based on which datacenter code is running on

This is a follow on to : Efficiently detect datacenter based on server hostname and return the full path. I have a library which is running in different datacenters in production. I have three ...
5
votes
3answers
152 views

Userform that calculates gas mileage

I created a project for a programming class that asks you to make a userform in Visual Studio that calculates mileage, given the user inputs of gallons of gas consumed and distance traveled. The code ...
4
votes
3answers
648 views

Right triangle side length calculation

My code compiles and executes. I would like to hear any comments or suggestions pertaining to my use of C++. ...
7
votes
3answers
3k views

Word separator and Pig Latin program - final edit

This is an updated version of my previous Java program that asks the user for a sentence and then separates the words and then converts the sentence into Pig Latin. My previous program was working, ...
66
votes
8answers
9k views

Open, write and close a file

I have a small 10-liner function that writes some data to a file using an std::ofstream. I did not explicitly call .close() at ...

15 30 50 per page