ive had to write no spaces please because of the systems inability to handle spaces in the answers
Type: Posts; User: holoduke
ive had to write no spaces please because of the systems inability to handle spaces in the answers
#include <iostream> // This list defines what 'extras' are to be used within the program
#include <string>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int...
sorry i dont understand what you mean :confused:
hello
im a bit of a newbie and i have a program in c++ and it asks questions, where u live, etc. when i type in an answer with a space in it, it skips the following question.
does anyone know how...
is it possible to have two parts of text on the one line?
eg:
cout<<"hello" <<start "hi again" << endl;
i know the above way is not possible but does anyone know a way of doing this??
wow that works beautifully, thanks alot salem and hunter2
ill be sure to come to u if i have any more problems :D
excuse my dumbness but im not sure where to insert the pause code in the program
thanks a lot for that help salem, but when u press "0" to stop typing in products it doesnt display the receipt it just exits
do u know how to fix this?
that if statement just means that if someone has written more than just "z" for the product details, that it should display those details, otherwise leave it blank. its basically a test, im not sure...
yeah, it is fine, except it cant print out the actual receipt which is what the program was intended to do. i cant seem to work out how to do it either
i cant find anything wrong with the if statements?
do u know how to fix it?
ok thanks
hey face master how do u make the code u wrote print the actual receipt? it doesnt seem to want to do that
thank you so much! you are a 15 yr old genius!
im 15yrs old and i cant understand c++, but ive only been learning it for 2 weeks.
Woolies keeps rejecting my applications... :mad:
thanks a lot for that face master, it seemed to do the trick!
however i still have one error which i cant solve (im a doofus)
it says: parse error before '<' on line 65 which is the cout<<" ...
This is the code, its for a school assignment
#include <iostream.h>
#include<string>
int main()
{
hello, i keep getting this error in my c++ program: incompatible types of assignment of ' const char[2]' to 'char[20]'
what does this mean???
once ive entered the price and date i dont know how to print it off from c++ in receipt form
Hello,
can anyone help me make a program in c++ where i can make a shop-like receipt with the total price and the date etc, and then print it off?
help would be greatly appreciated, thanks.