Thanks for advice, I'll see what I can do with the new load of info!
Type: Posts; User: mario_75
Thanks for advice, I'll see what I can do with the new load of info!
I thought that it may had something to do with the last space and I had used option (c), but the results
in.find_last_of(" ")
or
rfind(' ');
are too advanced for what I need to use at...
Yes, I know how to get a character or a word for a given sentence
#include <iostream>
#include <string>
using namespace std;
int main()
{
string strSentence = "Today will rain";
int...
Hi all, this is my first post on the forum and I hope I can get some help with my problem.
I need to make a program to extract the last word from a sentence. I managed to extract the last...