-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is there a way to align text when priting using cout? I'm using tabs, but when the words are too big they won't be aligned anymore
Sales Report for September 15, 2010
Artist Title Price Genre Disc Sale Tax Cash
Merle Blue 12.99 Country 4% 12.47 1.01 13.48
Richard Music …
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
This is an ATM style program, but currently it doesn't do exactly what I need it to do...
I need to get the current balance, and when money is transferred from either checking or savings, it should add it to checking and subtract it from savings. which is does, but not correctly...
Input example
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have redesigned and extended the grammar I asked about earlier as shown below:
// BIFAnalyser.cpp : Defines the entry point for the console application.
//
//
/*=============================================================================
Copyright (c) Temitope Jos Onunkun 2010
http://www…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What does this mean?
My program goes like this: (NOTE: The line that has the error was the line coming before case 2.)
case 1:
{
cout<< "C * H * E * M * I * S * T * R * Y \n\n";
cout<< "1) What is the valence electron configuration of Selenium (Se)?\n\n";
cout<< "\na) 1s2 2s2 2p6…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Looking at the main function, we can see that I've Hard Coded the "Monday" into my setDay public function. It is easy to grab a day of the week from the user using a c-string (as I did in setDay), but how would I ask the user to add n to the day that is set, "Monday" and come up with "Thursday"? It…
>>> More