Computers and Technology, 07.07.2019 03:40, shreyapatel2004
Can't seem to get my code to work! anyone care to ? it keeps giving my this error when i try to compile. give me a good answer main. cpp: in function 'int main()': main. cpp: 28: 30: error: could not convert 'mystring. std: : basic_string< _chart, _traits, _alloc> : : operator=, std: : allocator > char*)"time"))' from 'std: : basic_string' to 'bool' if (mystring = "time") { #include #include #include #include #include using namespace std; string x; string y; string z; string mystring; int main(){ cout < < "console 1.0 beta" < < endl < < "type end to quit (case sensitive)" < < endl; while (x ! = "end"){ cout < < "> "; cin > > x; cout < < x < < endl; mystring = x; if (mystring = "time") { cout < < time(0); < < endl; } } }
Answers: 1
Computers and Technology, 23.06.2019 21:20, FlowerChild1229
For positive constants a and b, the force between two atoms in a molecule is given f(r) = −a r2 + b r3 , where r > 0 is the distance between the atoms. note: a and b are upper case letters. (a) find f '(r) = (b) find the critical point for f(r). r = (c) find f ''(r) = (d) find the value of r so that f ''(r) = 0.
Answers: 1
Computers and Technology, 24.06.2019 00:40, ndurairajownkpq
What social factors affect your health
Answers: 3
Computers and Technology, 24.06.2019 01:30, jadaroyval
Write a program that asks the user to enter the name of an input file. if the file does not exist, the program should prompt the user to enter the file name again. if the user types quit in any uppercase/lowercase combinations, then the program should exit without any further output.
Answers: 3
Can't seem to get my code to work! anyone care to ? it keeps giving my this error when i try to co...
Mathematics, 01.11.2020 05:10
Chemistry, 01.11.2020 05:10
Mathematics, 01.11.2020 05:20
History, 01.11.2020 05:20
History, 01.11.2020 05:20
Mathematics, 01.11.2020 05:20
Business, 01.11.2020 05:20
Arts, 01.11.2020 05:20
Mathematics, 01.11.2020 05:20