Leave these fields empty (spam trap):
You can leave this blank to post anonymously, or you can create a Tripcode by using the float Name#Password
A subject is required when posting a new thread
[*]Italic Text[/*]
[**]Bold Text[/**]
[~]Taimapedia Article[/~]
[%]Spoiler Text[/%]
>Highlight/Quote Text
[pre]Preformatted & Monospace text[/pre]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists


Terry A Davis by Alice Granddale - Wed, 12 Nov 2014 14:01:13 EST ID:jKORj8TS No.32865 Ignore Report Reply Quick Reply
1415818873313.jpg -(36468 B, 500x333) Thumbnail displayed, click image for full size. 36468
You will never be this obsessed, why even do this shit if you can't be an insane wizard? Saying esoteric shit that means nothing, that will later be the scripture of a wide spread religion.

youtube com/watch?v=EViG0Q4lTeA
Fanny Cipperhood - Wed, 12 Nov 2014 15:55:33 EST ID:vhgZIlcV No.32866 Ignore Report Quick Reply
Because I'm not mentally ill.
I am a bit jealous on his ability 'to get shit done', but I much rather have a clear view of what I'm working on than just have the attention span to write thousands of lines of spaghetti.

[?] Really, there are people who can do this stuff and are completely fine. I have one student friend who pulls this off. The person behind these videos is unfortunately sick, and not in a good way. [/?]
James Darryway - Thu, 13 Nov 2014 17:03:53 EST ID:wUPK540H No.32870 Ignore Report Quick Reply
You don't need to obfuscate URLs like that you derp

playing a youtube video inside a jframe? by Hamilton Dindlefin - Thu, 06 Nov 2014 19:22:46 EST ID:JlazxEM6 No.32839 Ignore Report Reply Quick Reply
1415319766332.png -(697298 B, 1280x800) Thumbnail displayed, click image for full size. 697298
i'm pretty new to java. it's the first language i've learned. right now i'm trying to write a program that reads from a list of youtube links and opens each link ( formatted as such: https://www.youtube.com/v/EaKUmIR0qDU?autoplay=1) in a new frame. it's not supposed to be too pretty; i'm trying to make a visual application for a party.

i'm running into a lot of issues, but here are the questions i have right now. how the fuck do i get a youtube video to play in a jframe? i tried using the native swing library's JWebBrowser, but I can't even get the internet to work in a JWebBrowser object. I'm using ubuntu. is there another solution for playing videos (specifically youtube videos) in a JFrame? i only know java.
Shitting Pitthood - Thu, 06 Nov 2014 20:41:22 EST ID:y9fXLquJ No.32841 Ignore Report Quick Reply
If it doesn't have to be in a jframe you can use
Desktop.getDesktop().browse(new URL(urlString).toURI());
Hamilton Dindlefin - Fri, 07 Nov 2014 18:52:18 EST ID:JlazxEM6 No.32844 Ignore Report Quick Reply
will that just open a new browser window? can i control where the browser window is and what size it is?
Frederick Buzzforth - Tue, 11 Nov 2014 07:20:15 EST ID:wUPK540H No.32864 Ignore Report Quick Reply
I wrote the 420 extension that allows the embedded yt videos in expanded threads, here's the syntax;

<iframe width="640" height="480" frameborder="0" allowfullscreen="" src="//www.youtube-nocookie.com/embed/wBwUJMZNOgQ?rel=0" class=" " style=""></iframe>

Try playing with the parms to allow autoplay, shouldn't be too hard

A bit of adivce please guys by Doris Duckstone - Sun, 09 Nov 2014 12:24:24 EST ID:xuqfxJ/9 No.32854 Ignore Report Reply Quick Reply
1415553864821.jpg -(29685 B, 450x338) Thumbnail displayed, click image for full size. 29685
Hey /prog/,

I'm sure you get a lot of questions like this but here it goes. For work I am being sent to take a year long Geomatics course at night school. The program states that I should be at least familiar with computer programming to a degree, they explain it as such...

"The program covers many programming languages. Programming languages taught currently in the courses include Java, Python, JavaScript, PHP and others. You should know programming concepts and program design before starting the program, but you do not need to know any particular programming language."

Don't get me wrong, this is not a computer science degree course, this is a short course which requires a bit of programming, so I gather. Could anyone recommend some resources that could help me get a start understanding basic programming concepts.

Thank you.
3 posts omitted. Click Reply to view.
Doris Duckstone - Sun, 09 Nov 2014 14:14:22 EST ID:xuqfxJ/9 No.32858 Ignore Report Quick Reply
Thanks alot. Is there a language one generally starts with.
Cornelius Hoddlekedge - Sun, 09 Nov 2014 14:38:37 EST ID:+1hwfsat No.32859 Ignore Report Quick Reply
All of those are suitable starting languages. For learning the concepts themselves, rather than a particular language's implementation of the concepts, it's best to learn multiple languages. It should be enlightening to implement tutorial programs in all 4 of them.
Cornelius Hoddlekedge - Sun, 09 Nov 2014 15:05:59 EST ID:+1hwfsat No.32860 Ignore Report Quick Reply
PHP is probably the easiest to get started with, since it requires less discipline that the others, but you're likely to pick up more bad habits here. Java is statically typed, which I think is a good thing for beginner programmers to learn, but it's more formal and verbose. Java OOP tutorials are also notoriously bad for confusing OOP with taxonomy. JavaScript is nice language, but it can be difficult to separate the concepts from each other and the browser. Python is a good all-rounder with many excellent features, but the learning curve can be steeper.
Ebenezer Becklehick - Sun, 09 Nov 2014 18:10:23 EST ID:3K5aXY2t No.32862 Ignore Report Quick Reply
Look up Think Python, should be on greenteapress <dot> com

It will go over general programming concepts in Python.

Skimming through it and practicing some exersizes should get you enough experience to be able to implement the concepts in other languages.
Martin Blummercocke - Mon, 10 Nov 2014 20:59:52 EST ID:xuqfxJ/9 No.32863 Ignore Report Quick Reply
Thanks again to everyone who responded, much appreciated for the input!

Help with R programming by Qwerz - Sat, 08 Nov 2014 06:08:31 EST ID:3ELqXY8V No.32845 Ignore Report Reply Quick Reply
1415444911198.jpg -(31788 B, 500x333) Thumbnail displayed, click image for full size. 31788
Hi, I am trying to a function in R and I am pretty new to this.

I have a matrix like this ( this is the code for the matrix):



The main idea to find a value in the k4 row. If the value is not the same for that row, the function should check the values in the same row, and go to these rows instead to find the value.So if the value is less than val in [1,k4] then it should take the second column value in the same row ([1,k3])as the row number to go for and check the value in the third column in that row [value of row,3]. If the value is the greater, itshould do same thing as before, but with [1,k2]. And if the value is again not the needed one it should again check and repeat the same procedure for that next row until it gets the match.
Comment too long. Click here to view the full text.
Qwerz - Sat, 08 Nov 2014 07:29:01 EST ID:3ELqXY8V No.32846 Ignore Report Quick Reply
1415449741727.jpg -(85314 B, 500x350) Thumbnail displayed, click image for full size. 85314
Reuben Greenforth - Sat, 08 Nov 2014 16:17:27 EST ID:tvn4gNzK No.32847 Ignore Report Quick Reply

If anyone understands what you're trying to do, it will be a small miracle.
Albert Brannerbury - Sat, 08 Nov 2014 16:29:09 EST ID:KmxmS4eT No.32848 Ignore Report Quick Reply
1415482149507.gif -(1078875 B, 200x200) Thumbnail displayed, click image for full size. 1078875
I really do want to help you out but I can't tell what you're trying to do. Dereference all of the "it"s and "go to"s.

Matlab basics by Hugh Buvingville - Mon, 03 Nov 2014 08:40:16 EST ID:Fe2eeeL9 No.32816 Ignore Report Reply Quick Reply
1415022016421.jpg -(62675 B, 600x436) Thumbnail displayed, click image for full size. 62675
I'm new to matlab and I was wondering if people could help me with some fairly simple stuff I need to do for a project.

I basically need to run a loop which runs a different pre-written program, and I also need to get it to print out a picture for each result, ideally saved as a bitmap rather than opening it in an output window.

Thanks for any help.
1 posts omitted. Click Reply to view.
Nigel Dibberhat - Wed, 05 Nov 2014 15:38:52 EST ID:Fe2eeeL9 No.32834 Ignore Report Quick Reply
1415219932661.jpg -(41781 B, 500x642) Thumbnail displayed, click image for full size. 41781
thanks for your help, I have a bit more of an idea of what I need to do, my algorithm is sorta like:
  1. Set file names as a variable which can be expressed as an array
  2. run the processes (no help needed with that)
  3. save the output image

for 1. I thought about using

filename = dir('...');

but I think I must be doing something wrong, it's meant to use the list of file names in the folder using dir, but I think I must need to do something to make it an array so that the individual files can be processed simultaneously. (If this is right at all, I am a complete noob)

and for saving the image I have been given this to use:

Nigel Dibberhat - Wed, 05 Nov 2014 15:40:01 EST ID:Fe2eeeL9 No.32835 Ignore Report Quick Reply
did not mean for an emoticon to appear it should read (with spaces this time)
filename = dir('C :...');
Nigel Dibberhat - Wed, 05 Nov 2014 16:23:12 EST ID:Fe2eeeL9 No.32836 Ignore Report Quick Reply
made a slight breakthrough with 1.
I've realised I need to use
for the processing and it is acting as an array

Archie Farrywell - Thu, 06 Nov 2014 07:34:02 EST ID:Fe2eeeL9 No.32838 Ignore Report Quick Reply
I managed to write the program, the only problem I have is when I'm trying to write the output file's name it's not liking me combining variable name and string.
I've tried using this: (ignore the first part)
imwrite(mat2gray(abs(imagNoise)),[filename(n).name 'B'], 'jpg');
but it creates an image called filename(n).name.jpgB
and if I put it before the variable it seems to work fine: Bfilename(n).name.jpg
but for further programming purposes I would like the B to be after the variable and before the file type.
Any help?
Shitting Pitthood - Thu, 06 Nov 2014 20:18:38 EST ID:y9fXLquJ No.32840 Ignore Report Quick Reply
this is because filename(n).name already has an extension. If you look up string manipulation in Matlab you should be able to find ways to find the index of a certain character and create sub strings.

Optimizing and Writing Better Javascript/node.js Code by Albert Honeywill - Tue, 28 Oct 2014 19:59:10 EST ID:QrVFURnK No.32773 Ignore Report Reply Quick Reply
1414540750085.jpg -(99439 B, 640x480) Thumbnail displayed, click image for full size. 99439
Are there any good practices to follow or books to read to help me write better code?
I've already read High Performance Javascript and Javascript Patterns, and I'm taking a look at Testable Javascript and Effective Javascript.
1 posts omitted. Click Reply to view.
Fanny Nettingson - Wed, 29 Oct 2014 14:25:18 EST ID:CvLZLuy3 No.32778 Ignore Report Quick Reply
Put aside jQuery, Prototype and whatever other helpers and frameworks you're using, get back to basics and learn how to use closures properly.
Frederick Sannerbanks - Wed, 29 Oct 2014 18:23:01 EST ID:vhgZIlcV No.32779 Ignore Report Quick Reply
So much this.
I had programmed in C++98/03 all my study career and Javascript made no sense with its scoping.
I fumbled even with simple problems until one day, a week or two in, I realized the thing I had been
missing for years. Closures are insanely powerful and useful tool for any language, but a Javascript
programmer is a cripple if he hasn't mastered them.
Sophie Bardwill - Thu, 30 Oct 2014 00:50:55 EST ID:c69lgfO2 No.32781 Ignore Report Quick Reply
1414644655805.jpg -(54279 B, 600x450) Thumbnail displayed, click image for full size. 54279
Graham Gapperwell - Sat, 01 Nov 2014 17:04:09 EST ID:7WnpYhx5 No.32790 Ignore Report Quick Reply
Here's a fairly comprehensive list. Code complete & pragmatic programmer are available to download as PDFs with a bit of googling, and the code examples are mostly language agnostic.

Wesley Chungerbock - Thu, 06 Nov 2014 03:48:19 EST ID:2EjKcVkQ No.32837 Ignore Report Quick Reply
Check out CoffeeScript, a language that compiles to JS. It saves you from some of the plain-stupid pitfalls of JS, but doesn't take you so far away from regular JS that you can't understand the generated JS.

My favorite feature is => and -> for defining functions. It makes managing your "this" context a lot easier, with less typing than plain JS.

If you're a little more adventurous, look into Dart. It also compiles to JS, but it is a significant departure from JS semantics (for the better, imo). It also has some hurdles to integrating non-Dartified JS libraries, so consider your context first.

good software dev podcasts? by Hugh Dozzleville - Fri, 21 Mar 2014 06:55:49 EST ID:8XZ8rawt No.31293 Ignore Report Reply Quick Reply
1395399349603.jpg -(502632 B, 1920x1080) Thumbnail displayed, click image for full size. 502632
I'm currently taking a term off from studying comp engineering, I was skipping classes and missing assignments and needed time off to get my head back in the game.
Anyways, I figure rather than trying to study course material on my own time, since I'm going to have to redo that stuff when I go back to school I should study something that interests me a bit more. So I'm starting to try and learn 3d graphics using openGL. I've been starting to learn using arcsynthesis tutorials, but I'm wondering if anyone could recommend some good podcasts for either openGL or just general tips on productivity and such for software developers? I find unless I do something programming related daily I forget things so damn quickly, so I want to make sure that when I'm not at my laptop studying, I can still study / keep my brain working.
Hugh Dozzleville - Fri, 21 Mar 2014 16:17:15 EST ID:8XZ8rawt No.31297 Ignore Report Quick Reply
bump, if nobody knows any pertaining to comp sci (I can see how podcasts aren't the best medium for discussing such a topic), anyone at least know of some that have great general tips for productivity / creativity, etc?
Esther Bonningville - Fri, 21 Mar 2014 17:34:01 EST ID:T3FPGpDn No.31298 Ignore Report Quick Reply
https://news.ycombinator.com for interesting software hacking stuff.
Just don't get caught up in the 'FUCK, I MUST BECOME AN ENTREPRENEUR' vibe
Fuck Worthingford - Sun, 02 Nov 2014 23:23:12 EST ID:wSqgP47U No.32811 Ignore Report Quick Reply
op, you're gonna fail this class. you cant just smoke weed and jack off and pass college classes. it's not high school. not by a long shot.

you gotta buckle down, and hit the books, putting it bluntly. it's going to take a joint effort between you and your friends to get high marks on all of your papers. I'll stop being a dope and stirring the pot, but you've got to really try hard if you're going to stay in the green here.
Fanny Tootson - Sun, 02 Nov 2014 23:58:47 EST ID:wUPK540H No.32813 Ignore Report Quick Reply
Did you just reply to a thread from March motherfucker?
Albert Hammlechane - Tue, 04 Nov 2014 22:48:19 EST ID:TyWccXxB No.32830 Ignore Report Quick Reply
shows how fucking dead this board is

Algorithm-intensive projects by Noteven - Tue, 04 Nov 2014 00:05:50 EST ID:ZNsa0cBK No.32824 Ignore Report Reply Quick Reply
1415077550438.jpg -(16912 B, 516x155) Thumbnail displayed, click image for full size. 16912
Hi, I've got about 4-6 years of programming experience (there's sprinkles of devops in there) and I recently have decided to improve my basic compsci skills, i.e. I wanna work on my algorithms and dynamic programming skills. I know there's some program challenges out there that you can practice on, but preferably I'd like a practical project to submit a patch to. That way I can make a contribution while learning something useful. Anyone know of any projects requiring a bit more 'thinking'? I'm a little bored with application development, and I have time to spare now.
Nigger Giffingdot - Tue, 04 Nov 2014 00:11:52 EST ID:wSqgP47U No.32825 Ignore Report Quick Reply
>but preferably I'd like a practical project to submit a patch to. That way I can make a contribution while learning something useful.
i know that's what you want, but it's unlikely that you'll just be able to learn what you need to know about the product, write, debug, and test a patch, then submit it to the guy who can make the commits in a reasonable amount of time without becoming heavily invested in said project.

well that all sounds fucky, so my advice? do some lessons on MIT's open courseware. they have lecture courses for every language. do the homework (without peeking, you scoundrel) and see how you measure up to the gold standard of technology education.
Noteven - Tue, 04 Nov 2014 00:35:12 EST ID:ZNsa0cBK No.32826 Ignore Report Quick Reply

Fucky, but not unexpected. These MIT courses look pretty good, I'll check 'em out, thanks.

HTML/CSS Defining elements by their container width. by Flem - Mon, 27 Oct 2014 03:04:11 EST ID:j32VPskR No.32756 Ignore Report Reply Quick Reply
1414393451319.png -(33782 B, 1292x508) Thumbnail displayed, click image for full size. 33782
So I'm creating a semi-responsive website right now and I'm having some trouble with spacing. I want the website to scale down to 650px, but once it reaches that point, I want it to stop scaling and instead move into the scrollbar while the page remains the same size. Basically, I want the page to have a minimum size. So, obviously I went into CSS and I told the <html> tag to have a minimum size of 650px. However, while this did exactly what I wanted for my normally spaced elements, it didn't work on the elements I spaced based on % of the page width. When I get too small for the page, the elements based on % of width stay on the visible page and scale from the window instead of the page.

>TL;DR How do I make elements positioned by % of page follow their containers when they go off screen?

>TL;TL;DR How do I make the thing on the left into the thing on the right?
4 posts omitted. Click Reply to view.
Beatrice Hubblehot - Wed, 29 Oct 2014 10:09:12 EST ID:dUqCye/w No.32776 Ignore Report Quick Reply
This. Post your code so we can look at it.

Also, do not set container sizes on <html>. Use <body> or better yet a container <div> for setting page width.
Frederick Duckhood - Thu, 30 Oct 2014 00:07:07 EST ID:j32VPskR No.32780 Ignore Report Quick Reply
Here's a jsfiddle of the problem. However, since this is a scaling issue, I also including a test page from my website created with the same code. You can see when you make the browser window smaller than 650px, the page doesn't get smaller, which is good, but the Icon suspended at 50% page width is stuck in the middle of the "window" instead of the "page".

I tried putting the limitation on the container and it didn't give the desired results. Putting it on the html did. Is there a problem with doing so?
Archie Smallforth - Thu, 30 Oct 2014 04:25:58 EST ID:bNmOaw7P No.32782 Ignore Report Quick Reply
Add position:relative/position:absolute to div.logobar ... that way img.logo will use it as a parent for absolute positioning.


Fuck Worthingford - Sun, 02 Nov 2014 23:28:25 EST ID:wSqgP47U No.32812 Ignore Report Quick Reply
advice: dont reinvent the wheel

use bootstrap.js
use bootstrap.css

boom, all done. bye bye. [spoilers] see ya later
Flem - Mon, 03 Nov 2014 13:29:34 EST ID:j32VPskR No.32819 Ignore Report Quick Reply
Wow, I feel dumb. Thanks for the help. nb

Little batch file to turn screensaver on and off by Fucking Paggleford - Fri, 31 Oct 2014 12:46:40 EST ID:hiMyiBoW No.32786 Ignore Report Reply Quick Reply
1414774000704.jpg -(406914 B, 1680x1050) Thumbnail displayed, click image for full size. 406914
Hey, so I want to use my screensaver simply as a tool for a slideshow of my pictures when i'm listening to music and just chilling in my room. however, other than that I hate having my screensaver randomly turn on.

So I want to create a batch file or something to turn this on and off more easily.

I already found that the Regedit file for that is in:

[HKEY_CURRENT_USER\Control Panel\Desktop]
it's either 1 for on or 0 for off.

Now I just need to know how to change this value by mouse click.
(sorry, windows noob).
Doris Gedgetire - Fri, 31 Oct 2014 14:31:19 EST ID:c69lgfO2 No.32787 Ignore Report Quick Reply
If you just want to be able to toggle the value the simplest way is to make to text files with the extension .reg and put this inside;

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]

This one will turn it on, make another where "ScreenSaveActive"="0" and you're good to go.

If you want to start your screensaver whenever you want just make a shortcut to the .scr file
Shit Winderstock - Sat, 01 Nov 2014 12:07:56 EST ID:hiMyiBoW No.32788 Ignore Report Quick Reply
thanks, this worked great! I also managed to find the screensaver .scr file in /system32

Out of curiosity, shouldn't it also be possible to directly change the value of "ScreenSaveActive" via a script. Instead of overwriting it?
From what i've gather the registry seems a bit weird, since the actual folder structure you see in regedit is actually within non-extension files, which you can't even open in notepad++. You can only access it through regedit.
Molly Gullercocke - Sat, 01 Nov 2014 13:02:45 EST ID:y9fXLquJ No.32789 Ignore Report Quick Reply
I'm not sure what your are trying to accomplish but you could just turn off your screen saver, on windows 7 you just, right click desktop -> personalize -> screen saver -> choose none, and then just double click the .scr file when you want it to start.

Help getting started in programming by Sophie Worthingfoot - Mon, 27 Oct 2014 14:11:44 EST ID:oH7KYa7M No.32760 Ignore Report Reply Quick Reply
1414433504405.jpg -(34778 B, 500x500) Thumbnail displayed, click image for full size. 34778
sup /prog/. I am recently unemployed and thinking of pursuing programming as a career. I have basically no experience other than an introductory C++ course early in high school. My past work experience is basically warehousing. But I don' t see myself ever making it long term loading boxes, or being ale to work my way into management. I don't really want to shell out thousands of dollars upfront to take a certificate program only to find I am not a good fit. Is there a free or inexpensive way to begin learning coding that I could use in a job situation? Where should I start? What jobs are available to a beginner?
Sophie Bittingsteck - Tue, 28 Oct 2014 00:47:40 EST ID:NRukDaie No.32763 Ignore Report Quick Reply
I'm a C++ programmer. My first exposure to the language was also in a high school class.

Learning C++ for a job situation may be difficult at first. I had formal college classes about it (C++, not necessarily for a job). In terms of what will get you a programming job with the least amount of time/effort involved, C++ may not be the best language for that. I've seen a lot of people get employed who were good at easier languages such as Python, perl, and Ruby.

I'm not entirely sure what would be a good free or inexpensive way to begin learning coding, but I bet other posters would have some good ideas for that!

One of the easier jobs to get into if you have some programming background but not a lot of formal training is I.T. work. That can also be a good segue into coding work if you find the right job and workplace because they deal with a lot of debugging (not usually debugging code, but still solving problems) and scripting.

I wish you luck fellow brogrammer :)
Faggy Woshkere - Tue, 28 Oct 2014 02:50:05 EST ID:c69lgfO2 No.32764 Ignore Report Quick Reply
>What jobs are available to a beginner?
With no experience? None.
Lydia Drullyfen - Fri, 31 Oct 2014 00:55:28 EST ID:tCG9XjXO No.32783 Ignore Report Quick Reply

Where do you get some then?
James Hubblechock - Fri, 31 Oct 2014 01:17:51 EST ID:Ntgg0ptj No.32784 Ignore Report Quick Reply
A friend of mine studied IT in university and ended up getting a job with Oracle,he told me the best thing I can do is study/learn programming languages like Python, C/C++, java, etc. I'm currently in university for Computer Science, I enjoy doing it but it isn't easy so good luck!

If you're willing to spend a little money search for "learning python the hard way" it is what he recommended. After you learn a language you then can then apply for jobs that involve what ever language you learned.
Shit Gundleston - Fri, 31 Oct 2014 10:40:37 EST ID:dUqCye/w No.32785 Ignore Report Quick Reply
Apply for an internship or go through a coder camp.

3d array vs 3d vector probelm by Martha Wirringstere - Thu, 16 Oct 2014 17:10:27 EST ID:KBNMpbmC No.32695 Ignore Report Reply Quick Reply
1413493827595.jpg -(211939 B, 959x698) Thumbnail displayed, click image for full size. 211939
this works:

Class * array[10][10][10] = {{{ nullptr }}};

array[ 0 ][ 0 ][ 0 ] = &someclass;

this doesn't:

std::vector< std::vector< std::vector< Class * > > > avector;
avector.resize( 10 );
for ( int X; X < 10; X++ )
avector[ X ].resize( 10 );
for ( int Y; Y < 10; Y++ )
Comment too long. Click here to view the full text.
1 posts omitted. Click Reply to view.
Clara Summlemetch - Thu, 16 Oct 2014 22:02:53 EST ID:0fDyrctt No.32697 Ignore Report Quick Reply
You're not initializing X or Y to anything. Make sure to initialize them to 0 if you want them to start at 0, otherwise they'll be whatever was in that particular spot on the stack last (ie. garbage).
Clara Hottingwill - Thu, 16 Oct 2014 22:04:46 EST ID:KBNMpbmC No.32698 Ignore Report Quick Reply

Ooooooooh snap!
William Crirringkotch - Sat, 25 Oct 2014 01:37:32 EST ID:l08FGvr0 No.32742 Ignore Report Quick Reply
Arrays are pointers so you can do watever the fuck with them, especially in C with no bound checking. Vectors actually have some implementation so no shit you can't fuck around with them so hard.
Alice Chapperchock - Sat, 25 Oct 2014 10:55:41 EST ID:NRukDaie No.32745 Ignore Report Quick Reply
A question about class pointers - Tue, 28 Oct 2014 15:19:26 EST ID:w+b51Tai No.32770 Ignore Report Quick Reply
1414523966815.jpg -(10126 B, 199x238) Thumbnail displayed, click image for full size. 10126
Sooo, I was thinking. I just implemented a static container array in my entity class. There are two or three inheriting classes that it points to, hero and goblin. Say I have two goblins pointed to by this, can I actually give them unique directions of movement, heath bars and everything, or because I am merely pointing to the class would all my manipulations of these class pointers just affect both of them seeing as they point and the same thing.

What is a better way to handle this?

<<Last Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Report Post
Please be descriptive with report notes,
this helps staff resolve issues quicker.