Ah, k. Well I've decided to just skip the .rfind() function, since all the time frustrating about it isn't worth the little to no benefitial gain from knowing it. Thanks for your help, though ;).
Type: Posts; User: Warrax
Ah, k. Well I've decided to just skip the .rfind() function, since all the time frustrating about it isn't worth the little to no benefitial gain from knowing it. Thanks for your help, though ;).
Thanks to both of you for your fast replies.
Anon: when making this code, I was using the following code example from the C++ style strings tutorial here as a guideline:
string input;
int i...
I'm really confused right now about this compiling issue with my code for the C++ style strings tutorial (took a break from programming and came back, so I haven't advanced much).
#include...
Thanks for the fast reply. I thought about looking it up, however I also thought that just posting here about it would involve less work for myself, :cool:.
Could someone please explain iterators to me? They are mentioned in the C++ strings tutorial, however I honestly just don't understand them at all.
The part that they are mentioned at are as...
Awesome, thanks very much to both of you.
Nope, not the slightest clue about them.
I'm confused about how exactly the string functions (strcat, etc.) work. I honestly just don't understand them at all, although more specifically, I don't understand how or what the string functions...
Fixed; it should be easier to understand, now, :-).
How do I show all of the variables + their single structure names that are within a structure type to the user?
Makes me mad at myself (for my slow progress) when I come on here and see people asking questions about complex code that I'm not even nearly close to knowing, when I'm only up to the seventh lesson....
Ok, thanks; anyone else have some advice? I need all the advice I can get =/.
Thanks for the advice; although what exactly do you mean by 'subset'?
Whenever I'm five or so minutes into reading any of the C++ Programming lessons (currently on Structures; read the Pointers lesson a few times but then just continued on), my eyes just start to...
Just thought that it'd be nice if there were explanations in the answer keys, telling why the answer to a question is that answer. Like, for example, why the code needs to be that specific way or if...
Sweet, thanks.
Anyone have a list of the functions for C++? For example rand();, mult, etc.
Lol....1,000,020 people said no and I'm the only one who said yes ><.
Thanks for the replies, everyone :). Going to first try Queatrix's suggestion, then will try something else if that doesn't work.
Been slacking off recently with programming, and just need a few words of encouragement or whatever you can think of for me to continue learning C++ as much as I used to ("used to" meaning before I...
Kind of confused though; when I typed up that code it won't loop regardless of the fact that it looks almost exactly like yours (the only differences are spaces between code).
The code I'm...
K, thanks. Yeah, I've done the loops tutorial, I just forgot it already >.<.
I'm currently on the functions tutorial, but there's one thing that I just can't understand how to do (which it doesn't explain how, but says that it's possible and a good idea to use). How would I...