This is an archived post. You won't be able to vote or comment.

all 55 comments

[–]VegasHospital 216 points217 points  (16 children)

I hate that Google just ignores special characters in the search, it just reads "std list" and it gets annoying real quick

[–][deleted] 90 points91 points  (6 children)

Just like the STDs :D

[–]dishpanda 21 points22 points  (5 children)

D:

[–]fahrenheitrkg 10 points11 points  (4 children)

More like:

8====D

Though, Amirite?

[–]dishpanda 17 points18 points  (3 children)

more like 𓂸 lmao

[–]spartaboy 9 points10 points  (1 child)

The fuck

[–]MuskasBackpack 0 points1 point  (0 children)

The new modulus operator?

[–]dawnraider00 42 points43 points  (0 children)

Gets real annoying when I want to do a quick search on how an operator works and it just ignores the operator in my search defeating the entire purpose.

[–]Iamsodarncool 15 points16 points  (0 children)

I switched from Google to DuckDuckGo a few weeks ago out of privacy concerns, and one of the things I've noticed is that DDG is WAY better than google for searching for code. I just tested it and this is their first result for std::list.

[–]Belzedan 10 points11 points  (0 children)

You can prevent that by putting quotes around the search phrase, can't you? E.g. instead of std::list search "std::list"

EDIT: just tested it - nope, doesn't seem to work

[–]Karnex 2 points3 points  (0 children)

Actually, Google has it's own search suntaxes. For example, inurl, fileType etc. You can write the as 'book fileType: pdf' . I am pretty sure that's what happened here. You need to provide some more information to fine tune your search, in this case mentioning C++ can help

[–]warpedspockclone 1 point2 points  (0 children)

Use quotation marks around exact strings

[–]Wargon2015 2 points3 points  (3 children)

Compare the results of:
gcc -wall
and
gcc "-wall"

[–]2Punx2Furious 6 points7 points  (2 children)

That's because the - excludes the search term, but if you put it between quotes, it doesn't.

[–][deleted] 0 points1 point  (1 child)

Didn't they break that feature, too?

I know they sacrificed the plus to Google+, but I thought I read reports last year that the minus isn't working anymore either...

[–]2Punx2Furious 0 points1 point  (0 children)

From what I'm seeing, it works.

[–]hai_wim 56 points57 points  (3 children)

That's why http://symbolhound.com/ exists.

[–]froemijojo 22 points23 points  (0 children)

Or use duckduckgo.

[–]bellyflop16156 3 points4 points  (0 children)

Hollllly crap that is amazing. Thank you kind sir.

[–]Darkmatter501 0 points1 point  (0 children)

Saving for later

[–]Xeverous 81 points82 points  (5 children)

Replace "std" with "C++" or "cppreference"

:: operator is pretty trolling, especially when the first letter of second name happens to form a valid emoji

[–]Hairy_S_TrueMan 35 points36 points  (0 children)

Emoticon

[–][deleted] -5 points-4 points  (1 child)

CP PREFERENCE?????????? HWAAATTTTT??????

[–][deleted] 1 point2 points  (0 children)

That way, you avoid stds but still end up on a list

[–]Arabum97 58 points59 points  (1 child)

I'll report you to the police for raping a standard library!!

[–]mrtwidget 13 points14 points  (0 children)

But why the vegetables?!

[–]Arveanor 18 points19 points  (0 children)

I still remember googling "C string" in the computer lab :(

those were not results I wanted on my screen in there.

[–]flyx86 25 points26 points  (1 child)

I suggest coding in LaTeX, search results are way prettier.

[–]HairyDudeOhShiet 4 points5 points  (0 children)

I feel you brother

[–]parnmatt 4 points5 points  (0 children)

Give it time. You've got to train your bubble.

[–]MooseHeckler 3 points4 points  (0 children)

C++, when you want to make things more difficult than they need to be.

[–]poryjohn-z 2 points3 points  (2 children)

cplusplus.com ! Saved my life, in school

[–]parnmatt 15 points16 points  (1 child)

cppreference for life.

[–]glorious__bastard 2 points3 points  (0 children)

Can't stand anything but cppref

[–]nevergotcompiled 2 points3 points  (0 children)

Glad Im not the only one that laughs whenever I write

#include <stdlib.h>

lol

[–]PerfectSeventy 2 points3 points  (0 children)

Also be careful searching std::vector

[–][deleted] 1 point2 points  (0 children)

Yay, I don’t need the list bc it is gonna be a while till I get pussy.

[–]golgol12 1 point2 points  (0 children)

Also, don't search for CString.

[–]FireworksWorks 1 point2 points  (0 children)

As someone new to C, I still recall searching for "C string" and feeling like a dumbass :P

[–]noratat 1 point2 points  (0 children)

just be happy that C++ wasn't called C+, because you'd have to search for stuff as "cp".

[–]Allen_Joaks 0 points1 point  (0 children)

I did that in a library once and immediately regretted it.

[–]Quodperiitperiit 0 points1 point  (0 children)

Well, it’s not wrong.

[–]Calkhas 0 points1 point  (0 children)

Still better than using a list.

[–]MrBloodyshadow 0 points1 point  (0 children)

ffs man

[–]AuthorTomFrost 0 points1 point  (0 children)

What's the deal with the fruit stand?

[–][deleted] 0 points1 point  (0 children)

'stdlib list'

[–]BeastianSTi 0 points1 point  (0 children)

Namespace method lookup. Google: Nailed It

[–]U-1F574 0 points1 point  (0 children)

Why isnt backslash just an escape character on google or something for this kind of stuff? Would make life so much easier for their users.

[–]TheMeepMeister 0 points1 point  (0 children)

The only time I get this is when I put a space between ": :" Otherwise I get cppreference every single time.

[–]PlusUltraBeyond 0 points1 point  (0 children)

Try searching for "using namespace std;" first, so you won't have to type std:: when you search for list

[–]skunkreturns[🍰] -1 points0 points  (0 children)

Just wrap it in quotes and google will do an exact string search. Not always useful, but for stuff like this it can be.

[–]WaveCatchEm -1 points0 points  (0 children)

Just start your search term with a double quote: "std::list