We are not allowed to use structures nor classes.
Thanks for the assist though
Type: Posts; User: GaGi
We are not allowed to use structures nor classes.
Thanks for the assist though
Working on a program that reads in a .txt file with a list of stocks and stock data i.e...
Co. LO HI
------------------
AOL 40 48
HP 23 45
CSCO 18 60
I've created 2 separte arrays one...
Working on a program that reads in a .txt file with a list of stocks and stock data i.e...
Co. LO HI
------------------
AOL 40 48
HP 23 45
CSCO 18 60
I've created 2...
Rather than incrementing p by 1 for each iteration how would I go about incrementing p by 2 each time...thanks for your help. for(int p = 0; p < total_words; p++)
I'm trying to convert integers to char. Is there anyway to do this. I'm coding a game and am using rand to generate a range of numbers. After 10 these numbers have to be represented by letters....
I'm programming BlackJack. I'm using srand(time(0)) to generate numbers from 2-52....one number for each card in the deck. I want to change the output that the user sees from #'s 2-52... to 1-10,...
I'm writing a casino type program. The welcome is broken down to two lines. I'd like to have the 2nd line take a 2-3 second pause before appearing. Thanks.
I'm looking for a plug that will allow me to copy/paste from Visual into MS Word while keeping the color. Right now when I copy my code it reverts the code to black text. Thanks
I am using
system ("cls");
hope that's what you were looking for
Is it possible to output data on more than one line or is it mandatory that each niew line of text be accompanied by a cout << statement. Thanks
I'm new to C++ working on my second project. I'm working on a project that will begin with a list of items which the user is asked to pick from. Once the user enters the option, the screen is cleared...
I am working on creating a program which calculates the amount a company will contribute towards an employees retiremnet plan based on the number of years the employee has worked
for the...