• Forum
  • Lounge
  • Problem with the "Search" feature on thi

 
Problem with the "Search" feature on this site

Hello Programmers

This is the umpteenth time I've got a search failed result after searching something(I was searching for the word 'split' in relation to strings). Is it really any technical problem with the search feature or is it I'm the only dumb person who's facing this kinda problem?
Last edited on
I never use that search bar.

I just search google with:
site:cplusplus.com <whatever I want to search for>
Well, thanks for that technique :)
i borrowed this string splitter that i got from a guy on irc. im sure he wont mind if you use it

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
std::vector<std::string> split(std::string Content, std::string Delimiter="\n")
{
    std::size_t Begin = 0;
    std::size_t End = Begin;
    std::vector<std::string> Split;

    while(End != std::string::npos)
    {
        End = Content.find(Delimiter, Begin);
        Split.push_back(Content.substr(Begin, End - Begin));
        Begin = End + Delimiter.length();
    }

    return Split;
}
Thanks Mr. Tables :)

But I was more worried about the search results than I was about splitting the string(which I did accomplish).
I don't know why you are having a problem. I get all kinds of good results.
http://www.cplusplus.com/search.do?q=split+string

Twicker has obviously put a lot of work into making the search function work nicely -- it is much better behaved than it ever was ever before.

And there's this:
http://www.cplusplus.com/faq/sequences/strings/split/
I'm still not bluffing; here's a screenshot that this really happens when I use the search function : http://puu.sh/8Bbk7.png
Maybe it is the browser you are using. It works fine for me with chrome. For me the search finds over 1k results. Actually yours might be chrome since I see bookmarks but a weird theme. So might be something else wrong.
Last edited on
closed account (z05DSL3A)
The illusionist mirage,

Use the 'Spotted an error? contact us' link at the bottom of the page.
Well it works on all the browsers I have on my laptop. Including all of them below just to be thorough.
Chrome: http://prntscr.com/3gplbn
Ice Weasel: http://prntscr.com/3gpnld
Opera: http://prntscr.com/3gpob5
Chromium: http://prntscr.com/3gppq8
closed account (EwCjE3v7)
I never use the search, all I do is search for what I need on Google, and usually this site is in the top 3
It might even be something cached with your browser. Try clearing it and see if you still get the error.
Topic archived. No new replies allowed.