[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Archived threads in /wsr/ - Worksafe Requests - 282. page

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

File: Untitled.jpg (10KB, 333x134px) Image search: [Google]
Untitled.jpg
10KB, 333x134px
I'm new to C. I wrote this so it might be incorrect in more ways than one. And I actually wrote it expecting it to break. So, why does it work?

This reads a line from stdin and prints it back to stdout.

I don't understand how I can create--and more importantly--use a character array of size 0. Is it not a sort of buffer between gets() and printf()? Does it only seem to work because it overflows (and potentially breaks something else)? If not, what is happening?
11 posts and 2 images submitted.
>>
Here's a transcription:

#include <stdio.h>

void main(void)
{
char input[0];
while(gets(input))
printf("%s\n", input);
}
>>
>>359924
>>359931
"gets" doesn't respect array bounds at all. If you made input size 12 instead of 0, and then entered a string more than 12 characters long, you'd begin to access memory you shouldn't be using. Eventually a segfault should happen during runtime with enough characters, even though the program successfully compiles.

fgets is the safer alternative, and newer versions of C don't allow gets at all.
>>
Your analysis is correct. It only works because your buffer overflows.

It's unlikely to break something else because you don't have any other variables and because of your operating system's modern memory management preventing access to important stuff.

If you want to see interesting stuff, try declaring a few variables after your char input[0], and printing those after your gets.

If you want to have some control over your buffer, you can try fgets(input, sizeof input, stdin)

File: xGkEe.jpg (14KB, 500x366px) Image search: [Google]
xGkEe.jpg
14KB, 500x366px
I need more fap/boner image here!
18 posts and 17 images submitted.
>>
File: 1490006403515.jpg (35KB, 450x317px) Image search: [Google]
1490006403515.jpg
35KB, 450x317px
>>
File: 1491699872557.gif (993KB, 540x540px) Image search: [Google]
1491699872557.gif
993KB, 540x540px
>>
File: 3 foot duck erection.jpg (23KB, 445x239px) Image search: [Google]
3 foot duck erection.jpg
23KB, 445x239px

File: DGdzSxfUMAEPPsF.jpg (42KB, 592x790px) Image search: [Google]
DGdzSxfUMAEPPsF.jpg
42KB, 592x790px
Do you guys have anything that would motivate and inspire me out of a depression? It can be anything.
20 posts and 19 images submitted.
>>
File: cute anime gril spongebob meme.png (532KB, 540x435px) Image search: [Google]
cute anime gril spongebob meme.png
532KB, 540x435px
>>359573
>>
File: 1499319689045.png (363KB, 720x658px) Image search: [Google]
1499319689045.png
363KB, 720x658px
>>359573
Personally, an existential crisis usually gets met out of depression. Although when I was younger I would turn my sadness into anger and channel it by exercising pretty religiously.
>>
File: 1501587268910.jpg (58KB, 480x759px) Image search: [Google]
1501587268910.jpg
58KB, 480x759px
>>359573
But usually you just have to find the source of what's making you depressed.
If it's money problems, worrying about not having a good enough job (or not having a job at all) won't help. Instead try applying to several companies.
If it's drama problems, I would try escapism in games, or just try to best to solve them using the kit you have.
So on.

If your problem is the generic "There is no cause, I'm just randomly depressed" then it'll probably be solved in time. If the depression doesn't fade in a week, you should do some soul searching and try to find the real route of the problem. If it starts getting serious, a generic yet still viable tactic is "going to a doctor, or psychiatrist."

File: rize thinking.png (653KB, 865x720px) Image search: [Google]
rize thinking.png
653KB, 865x720px
I want good, enjoyable wholesome anime. I probably have watched what you are going to recommend to me though.
13 posts and 1 images submitted.
>>
PriPara
>>
Have you watched Amaama to Inazuma?
>>
>>359442
idiot

>>359434
Ghibli movies

What are some anime you recommend that are funny?
22 posts and 5 images submitted.
>>
>>359335

Cromartie
Nichijou
KonoSuba
Tesagure
gdgd fairies
Space Dandy
Azumanga Daiou
Sakamoto Desu Ga
>>
Danshi Koukousei no Nichijou
>>
Amaama to Inazuma.

File: 1501079372472.jpg (38KB, 400x400px) Image search: [Google]
1501079372472.jpg
38KB, 400x400px
I am searching for a random useful information thread
16 posts and 15 images submitted.
>>
File: mercury (II) fulminate.png (213KB, 718x573px) Image search: [Google]
mercury (II) fulminate.png
213KB, 718x573px
>>359313
So this is then an infomercial thread.
>>
File: accuracy precision.png (162KB, 2040x1363px) Image search: [Google]
accuracy precision.png
162KB, 2040x1363px
>>
File: bear shot placement.jpg (57KB, 510x630px) Image search: [Google]
bear shot placement.jpg
57KB, 510x630px

File: tenor.gif (636KB, 498x278px) Image search: [Google]
tenor.gif
636KB, 498x278px
>MC is in uni
>near the start of the manga MC is saved by a girl who happens to know her
>He recognizes the girl (someone he mistreated in highschool)
>He then thinks that he is unpopular in uni because of that, and tries to earn her forgiveness

Also chapters are named after the girls
14 posts and 2 images submitted.
>>
Amaama to Inazuma
>>
>>359259
>Amaama to Inazuma
i dont what OP is talking about but this is wrong
>>
>>359271
No, I think it works

File: interstellar idol.png (468KB, 424x572px) Image search: [Google]
interstellar idol.png
468KB, 424x572px
Tell of anime about space.
12 posts and 2 images submitted.
>>
*tell me
>>
Planetes
Space brothers
Wish Upon the Pleiades
>>
>>359189
no anime is about space
there are some anime about people in space
Cowboy Bebop
Space Dandy
Kaiba (I'm not sure though)

File: 1501589889861.jpg (250KB, 1200x1163px) Image search: [Google]
1501589889861.jpg
250KB, 1200x1163px
Does anybody have that piece of Final Fantasy 14 fanart where a female Au Ra Raen is sitting on the floor and she's naked but her boobs and crotch are covered by her scales?

She's also wearing an Astrologian hat, and has lavender eyes with lavender hair.
17 posts and 2 images submitted.
>>
anyone?
>>
b-bump
>>
..

File: 1236529559134.jpg (123KB, 1024x1024px) Image search: [Google]
1236529559134.jpg
123KB, 1024x1024px
Guys can someone make a Seal of Approval pic for Himiko Toga (ill post her in the next post)
6 posts and 3 images submitted.
>>
with this pic please, possible blue or pink tones for seal.
>>
this is so important please help
>>
File: 1.png (971KB, 1596x1596px) Image search: [Google]
1.png
971KB, 1596x1596px
>>359778

File: Nintendo Controller.jpg (8KB, 293x212px) Image search: [Google]
Nintendo Controller.jpg
8KB, 293x212px
I’ve had an idea burning in my mind for the past year: develop a SHTF game. Not talking about a Fallout clone, but a more realistic type SHTF game based in modern era America. Premise would be you are in a regular Anywhere, America setting when ”Pick a non-zombie-apocalypse trigger event” occurs, leading to your family & neighbors relying on you to keep them safe. It’s one part Oregon Trail, one part RTS, with action elements & management of real life issues like race, religion, culture, etc. Not going to divulge any more ideas related to the game at the moment, but I have tons more.
I’ve already got an LLC started up to manage the business side of things. My business model is make great games using inexpensive, readily available technology while keeping overhead costs low. This is also something I hope can bloom into a real business. I have ideas for other video games too.
Here’s my first problem: While I can take care of the business side of things I really need help programmers, artists, sound, & other areas. I suck with programming languages, I’m more of a writer than artist, & don’t have equipment for sound. My second problem is that I’m not rich. I’m just a guy trying to start a company with the hopes that one day I don’t have to work for my current employers 40+ hours a week making just enough to get by.
So here’s my proposal: If anyone is interested in going in with me on this venture, I can’t pay anything up front. But I will promise a portion of the profits based upon skill level & contribution. All work can be done from the comfort of your home. There would be regular meetings throughout the week to check on progress/ask for help/show off work/etc., but these meetings would take place online, so no need to worry about traveling. All of this can be drafted into a contract if you’d like.
If anyone is interested, let me know in this thread & I’ll be more than happy to talk with you more via email or Skype if you’d prefer.
6 posts and 1 images submitted.
>>
have you tried bringing this up in /agdg/?
>>>/vg/185159191
>>
No, wasn't aware that that's where these type of requests were made. I'll try there. Thanks.
>>
You should know that it is generally looked down when a person has an "idea" to have a video game but doesn't do the hard work, either the programming or the graphic development. That kind of person is sometimes called an "idea guy". There is no lack of them. Everybody on the internet has an idea on how to make a video game that may or may not be successful. You're not going to acquire a slave programmer that will make your dreams come true just by pitching an idea and rambling about business models or proactive management or overhead cost or any other mumbo jumbo. Either you make the game yourself or you offer a LOT of money to someone who is willing to take the job. I just want to warn you in advance, in case you find hostility in the /vg/ thread.

File: 1478230616306.jpg (77KB, 563x491px) Image search: [Google]
1478230616306.jpg
77KB, 563x491px
Anime like Castlevania?

What I would prefer
>Some lone wolf type character hunting bounties/monsters or whatever for cash
>High Fantasy/Dark Fantasy setting (has to be in the olden days, none of that "modern day fantasy" trash)
>Serious in tone

What is an absolute deal breaker
>Teenage protagonist
>Generic female anime protagonist
>Modern Day setting
11 posts and 2 images submitted.
>>
>>359640

Vampire Hunter D: Bloodlust
>>
>>359646
Closest you'll get. It's post apocalyptic far future, but the aesthetic is close enough to what you're looking that I should think you won't mind.
Maybe Claymore if you're really starved for this, but it isn't that good.
>>
>>359640

Berserk works, as well. Watch the original anime and maybe the movies. Don't watch the 2016 or 2017 anime unless you are a masochist.

If you want the real experience though, read the manga, but you're asking for anime and the original TV anime works decently. Definitely check out the manga afterwards if you end up enjoying it.

I really need your help /wsr/, I'm desperate.

I need to write a 1200 word essay on Francois Arago and his involvement with photography. And it needs to be scholarly, and have scholarly references.

I'm only 300 words in, and the essay is due in less than 12 hours.

Please help me in whatever way you can.
8 posts and 1 images submitted.
>>
>>359638
https://en.wikipedia.org/wiki/Louis_Daguerre
https://en.wikipedia.org/wiki/Fran%C3%A7ois_Arago#Politics_and_legacy
https://books.google.com/books?id=FLTyvuWX6MMC&pg=PA36&dq=daguerre+arago&hl=en&sa=X&ved=0ahUKEwiXisKA88PVAhUFVyYKHV5PAd0Q6AEIMTAC#v=onepage&q=daguerre%20arago&f=false
>>
https://books.google.com/books?id=XGHe5QQkmvkC&pg=PA20&dq=daguerre+arago&hl=en&sa=X&ved=0ahUKEwiXisKA88PVAhUFVyYKHV5PAd0Q6AEIXjAJ#v=onepage&q=daguerre%20arago&f=false
https://books.google.com/books?id=viQlDwAAQBAJ&pg=PA32&dq=daguerre+arago&hl=en&sa=X&ved=0ahUKEwiXisKA88PVAhUFVyYKHV5PAd0Q6AEITDAG#v=onepage&q=daguerre%20arago&f=false
>>
https://books.google.com/books?id=xc8PTGPEp6wC&pg=PA133&dq=daguerre+arago&hl=en&sa=X&ved=0ahUKEwj8zeH888PVAhUC2yYKHbjXDzk4ChDoAQglMAA#v=onepage&q=daguerre%20arago&f=false

you could look up what deals daguerre was shopping with the others before he got to arago. can't find much yet.

File: RJ141803_img_smp1.jpg (154KB, 560x420px) Image search: [Google]
RJ141803_img_smp1.jpg
154KB, 560x420px
Been trying to find the password to this winrar file, its for a hentai game. Would greatly appricate if you can find the password for it.
This is the link to the winrar download for the game called Pretty Twins School Rape.
https://drive.google.com/uc?id=0B_jIhN3U_jlzVjdsaV9kNWNBZzQ&export=download
6 posts and 1 images submitted.
>>
nvm I found the password
>>
password then???
>>
>>359608
I think I need to know the password friend. For reasons.

File: Photo0344.jpg (36KB, 480x468px) Image search: [Google]
Photo0344.jpg
36KB, 480x468px
Hi, I found these symbols on a water bottle that I got as a gift. I am not sure what they mean. Can someone help please?
9 posts and 4 images submitted.
>>
File: Photo0345.jpg (40KB, 480x482px) Image search: [Google]
Photo0345.jpg
40KB, 480x482px
>>
File: Photo0346.jpg (39KB, 480x459px) Image search: [Google]
Photo0346.jpg
39KB, 480x459px
>>
File: Photo0347.jpg (37KB, 480x473px) Image search: [Google]
Photo0347.jpg
37KB, 480x473px

Pages: [First page] [Previous page] [272] [273] [274] [275] [276] [277] [278] [279] [280] [281] [282] [283] [284] [285] [286] [287] [288] [289] [290] [291] [292] [Next page] [Last page]

[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.