substr() works great.
Thanks
Type: Posts; User: Aluvas
substr() works great.
Thanks
Say you read a string from a file:
aaaabbbbccccdddd
and no matter what the contents of the string you wish to copy the 5th through the 10th characters or maybe the 2nd through the 8th. In my...
So just when I thought it couldn't be done with just loops I get proven wrong. I started looking around and found the vector library and with some of those functions I started to get things going...
That right, and thats is what is confusing me. I can't even think of an algorithm let alone the code for that. Finding one true set of "[]" was pretty simple but finding multiple complete sets is...
Hi
I am trying to write a C++ program that will determine whether a string from a file; from the set of characters "[]" form a group. If so, I want to print the
text that is within the out most...
Thanks that simple enough.
If you are reading a .dat file or a .txt file and you have text in it like:
Look at the cat
and look at the [dog]
the [sky] is blue
Is there a way to identify the location of a character?...