Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Code Forum!
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
Hey there, it's been a long time since I've asked a question on this site!
I've started building my library management project, however, I have ran into a problem involving scanning string input. Data for new books is saved to a structure: book name and author(both strings), year published and...
int main() {
string happy = "24 1.99 42";
int loc = happy.find(" "), loc2 = happy.find(" ", loc + 1, loc + 5);
cout << "LOC 1: " << loc << endl;
cout << "LOC 2: " << loc2 << endl;
return 0;
}
So I am attempting to find the two locations of the spaces
My first value comes...
Please see a directive which I am having trouble fulfilling:
# Use upper() on place: place_up
place_up = upper(place, place_up)
I received this error message:
NameError: name 'upper' is not defined
Please see the code in context, attached. There are probably more errors which I have not...