[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/wsr/ - Worksafe Requests

Name
Options
Subject
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.

05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
06/20/16New 4chan Banner Contest with a chance to win a 4chan Pass! See the contest page for details.
[Hide] [Show All]


[Catalog] [Archive]

File: Capture.png (10 KB, 1123x137)
10 KB
10 KB PNG
Hello I'm taking a C++ class and the professor asked us to write a template function exactly like pic related but with any type instead of int. When I add a template<typename T> in front of it and change all instances of "int" to "T", I get an error about vector<T>::iterator in the argument. How do I fix this?
>>
will you tell us what the error is
>>
>>828684
Yeah, here is how I'm writing it
https://repl.it/repls/IdleShowyInterfaces#main.cpp
The error says there's a missing typename in the function argument
>>
File: Capture.png (12 KB, 1175x159)
12 KB
12 KB PNG
>>828684
>>828693
OK so apparently all i had to do was write "typename" like this
>>
>>828694
https://repl.it/repls/CylindricalTrustingDisassembler

Yes. It's a dependent type, so as far as the compiler is concerned it's not a fixed type.
>>
>>828695
ah i was wondering how to deal with that
i was trying to fix it by editing the template statement something like
template<typename T, typename vector<T>::iterator
based on a similar problem someone was having on stack exchange

File: 1574186582088.gif (3.77 MB, 238x178)
3.77 MB
3.77 MB GIF
Can someone post this nazi dude but without Greta pls
>>
Found it no thanks to 4channel
>>
You're welcome.

I'm looking for a comprehensive book on Japanese history that deals from the Meiji Renovation to today. I'd like it to be chronological (as much as can be) and not to deal with any particular topic/person but rather with that time period as a whole, to give me an in-depth introduction (I am already familiar with many, many things).

Reason I'm asking is that I began reading sections of the Routledge Handbook and the thematical, non-chronological approach did not really fit me, although I assimilated fairly well the huge amount of very specific information.

Ever since I was a kid I've fallen in love with a fairly niche yet powerful genre, the genre being the "evil" protagonist. It's extremely hard to find ANYTHING enjoyable that's done in this style but when it's done right it's amazing. I wanna dedicate this thread to it as well as look for other animes that fall under this category(doesn't have to be an anime)
>>
>>828623
overlord if you havnt read it (the light novels are brilliant)
>>
>>828625
Yes I've heard of it before although I never knew it fell under the category, thanks anon, ill def look into it.
>>
chronicle, not an anime but a really good movie
>>
>>828627
That's a good ass movie
>>
How is Death Note niche? It's one of the most entry level anime.

If you want anti-hero stuff, I'd recommend Hellsing Ultimate (anime). If you're okay with visual novels, go to VNDB and include the tag "antihero protagonist" under visual novel filters. Also might want to set the language to English, and exclude shit like netorare or whatever.
https://vndb.org/v/all

File: download.jpg (9 KB, 261x193)
9 KB
9 KB JPG
I have never read a book in my life. Recommend non fiction (especially useful stuff) pls. Thanks in advance
>>
>>828677

File: download.jpg (6 KB, 200x200)
6 KB
6 KB JPG
How can I write a program to count the number of threads posted everyday to a specific board?
>>
too many
>>
>>828662

>find first post with 0 replies
>get ID -> thread-828670.split('-')[1] -> 828670
>after 24 hours do same
>compare IDs (id2 - id1 = number of newthreads)

easiest way to run script would be headless browser and use windows to schedule your script
or if you visit board everyday at same time, maybe tampermonkey would be easier
or something else depending on your choice of programming language
>>
>>828662
- search on archive for "only opening posts", "between X date and Y date"
- "R results found"
- posts per day = R/(Y-X)

For example, last January, /wsr/ had 90 threads per day.

File: lonely and horny.jpg (50 KB, 970x545)
50 KB
50 KB JPG
the likelihood of anyone being identify this song based on the details I am about to give are very low, but I am going to ask it because it is killing me that I cannot remember the name of it.

the only details that I can vaguely remember are.
>it might be the same kind of music genre as bittersweet symphony.
>the song has a part with a piano/violin (I honestly do not even know what instrument it is exactly) that goes like, "dundun, dundun, dundundun."
These details are vague and I do not expect anyone to be able to figure it out, but it is killing me that I cannot remember it (or anything else about the song), and it is one of those songs that when you hear the beat you will know what it is.
>>
I just remembered something.
I think, like 60% sure, it is a gorillza song.
>>
>>828665
holy shit it is god dammit.
https://www.youtube.com/watch?v=04mfKJWDSzI

a side question, what is the instrument that is making the noise at around 52 seconds in?
>>
>>828666
Sounds like a midi synth on "steel drum" or similar.

File: 1578503621834.png (89 KB, 314x338)
89 KB
89 KB PNG
I bought a midi to usb cable in order to play synthesia. But it does not work, what the hell? I have an old yamaha keyboard(15 years old). What could be the problem here? Do I need a more expensive cable? Do I need an interface?
>>
Most that I could think of would be a problem with the driver, you downloaded a driver for the midi cable right?
>>
>>828586
no. Doesn't windows take care of that?
>>
Can Windows see your device? Do you have the right device selected (in Synthesia or Windows)?

Should be this model : https://www.jolicloset.com/fr/marques-femme/gucci/accessoires-femme/foulards/echarpe--23474?fbclid=IwAR3m68ApJYe9Vm5tqzPJWxK-jO2qgcV4re1rnv3jO1KGA5_HW2MNQrnKzMU
2 replies and 2 images omitted. Click here to view.
>>
>>
>>828284
Where did you find it?
>>
>>828284
Don't matter. You should not be wearing one in the first place unless you are a metrosexual.
>>
>>828334
On the ground, in the street.
>>828354
I don't wanna wear it, I wanna sell it.
>>
The label looks shitty and Gucci doesn't do anything shitty. The stitching is shit and the name is off center. I say it's fake.

Does anyone have that one jojo hftf meme with Dio “before I stop time, does anyone want to admit they have a crush on me”

File: maxresdefault (1).jpg (21 KB, 1280x720)
21 KB
21 KB JPG
>>/wsg/3400939

I'm trying to find the song name from this post, though someone did reply with the song name and linked a youtube video URL, but the video is private and i cannot find source, i figured id get a quicker reponse here, anybody know?
>>
i'm retarded, i didn't format the post correctly

>>>/wsg/3400939
>>
>>>/wsg/3406243
Huh, so webm files there have metadata? Useful.
>>
>>828565
you can also use a program like ExifTool or similar
PNG files can also have metadata btw (but it is removed for jpeg files)
>>
https://www.youtube.com/watch?v=V4sQP07izKg
different versions:
https://www.youtube.com/results?search_query=tokomanonka+-+%E6%B0%B7%E8%8F%93

File: Screenshot (27).png (4 KB, 107x107)
4 KB
4 KB PNG
Does anyone have this picture? I used to use it as a pfp but I lost the file
>>
https://www.google.com/search?tbs=simg:CAQSpQIJNXlHT9OIT9kamQILELCMpwgaYgpgCAMSKIQDuwe6B7QH8AGIA4EDtwfXHbwHpjSoNJUkpTSpNqI0qjakNMk3rzQaMK6k7WBYWI4bf704Wv_1xGyYb7Plo2Opg45W3w7IEBbeF9cxuJ3PVZOG_1Bl6z-VCOryAEDAsQjq7-CBoKCggIARIEHrr1bgwLEJ3twQkakQEKGwoIY2xpcCBhcnTapYj2AwsKCS9tLzAzZzA5dAoZCgdjYXJ0b29u2qWI9gMKCggvbS8wMjE1bgoZCgdkcmF3aW5n2qWI9gMKCggvbS8wMmNzZgofCgxpbGx1c3RyYXRpb27apYj2AwsKCS9tLzAxa3I4ZgobCghsaW5lIGFydNqliPYDCwoJL20vMDkxOXJ4DA&q=Portable+Network+Graphics&tbm=isch&sa=X&ved=2ahUKEwi96c_NvNPpAhULVN8KHZNLDF8Q2A4oAXoECBMQKA&biw=1600&bih=758#imgrc=DYmuMsR6fbcbdM

Well is my first time in here and im from need to see if these images contain something in the metadata, theres a weird faggot in /b/ that spam all the day some shitty quality images from a old web forum of a cartoon and the faggot started to say weird shit about cp in the photos
>>
File: 1590555989470.jpg (58 KB, 701x701)
58 KB
58 KB JPG
>>828642
>>
>>828643
http://metapicz.com/#landing?imgsrc=https%3A%2F%2Fi.4cdn.org%2Fwsr%2F1590557973068.jpg

you have one minute to draw julius
>>
File: julius.png (3 KB, 200x200)
3 KB
3 KB PNG
>>828638
here u go

File: 1436311222974.gif (997 KB, 450x253)
997 KB
997 KB GIF
Need manga, light novels, and anime with MCs that are
>sad and/or angry
>bitter and jaded
>tired of living
>have one thing keeping them going
>willing to do anything for that one thing
>optional: hide their sadness/madness
Two series that I have enjoyed with MCs like this are Helck and Darker than Black.
2 replies omitted. Click here to view.
>>
Alice in borderlands maybe
>>
>>828427
Manga:
Homunculus
Ichi+ Ichi the killer
Gantz
Tokyo Ghoul

Anime:
Haibane Renmei
>>
cringe
>>
Helck was amazing. Berserk was amazing but it differs slightly from MC personality.
>>
Ressentiment


Delete Post: [File Only] Style:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.