![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 09.10.2019 06:30 riverdaleoncerfan
I'm new to programming and i'm starting with c++, so the first program i want to write should take a string of characters and output it to the console afterwards, but the execution isn't working, i can't find the issue.
'#include
#include
#include
using namespace std;
int main()
{
short t;
cin > > t;
char *str;
//cin. clear();
cin. sync();
cin. ignore(1000, '\n');
while(cin > > *str++)
;
cin. sync();
cin. ignore(1000, '\n');
while(*str++ ! = '\0')
cout < < *str;
return 0;
}
'
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 04:30
Eye injuries usually occur as a result of all of the following things, except: a) proper machine operation b) battery explosion c) falling or flying debris d) electric welding arc
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 08:30
On the loan worksheet in cell c9 enter pmt function to calculate the monthly payment for the altamonte springs 2018 facilities loan. ensure that the function returns a positive value and set the reference to cells b5 and b6 as absolute references.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 17:30
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:30
What is outfitting a workplace with video in a technology
Answers: 2
You know the right answer?
I'm new to programming and i'm starting with c++, so the first program i want to write should take a...
Questions
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 06.05.2020 04:25
![question](/tpl/images/cats/en.png)
English, 06.05.2020 04:25
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 06.05.2020 04:25
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/istoriya.png)
History, 06.05.2020 04:25
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 06.05.2020 04:25
![question](/tpl/images/cats/fizika.png)
Physics, 06.05.2020 04:25
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/pravo.png)
Law, 06.05.2020 04:25
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 06.05.2020 04:25
![question](/tpl/images/cats/himiya.png)
Chemistry, 06.05.2020 04:25