-  [WT]  [PS]  [Home] [Manage]

  1.   (new thread)
  2. [ No File]
  3. (for post and file deletion)
/pr/ - Programming
  • Supported file types are: C, CSS, DOC, DOCX, GIF, H, JAVA, JPG, PDF, PNG, SVG, SWF, TXT, WEBM
  • Maximum file size allowed is 10000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 371 unique user posts. View catalog

  • Blotter updated: 2011-01-12 Show/Hide Show All

There's a new /777/ up, it's /Trump/ - Make America Great Again! Check it out. Suggest new /777/s here.

Movies & TV 24/7 via Channel7: Web Player, .m3u file. Music via Radio7: Web Player, .m3u file.

WebM is now available sitewide! Please check this thread for more info.

alexnicolay87 16/01/24(Sun)06:33 No. 4853 [Reply]


1 post omitted. Click Reply to view.
Neckbearded Basement Dweller 16/01/28(Thu)05:18 No. 4857

hello good sir

Neckbearded Basement Dweller 16/02/20(Sat)14:11 No. 4867


Neckbearded Basement Dweller 16/04/01(Fri)16:29 No. 4880

Hello :))

Neckbearded Basement Dweller 16/03/11(Fri)05:42 No. 4872 [Reply]

File 14576713785.png - (1.82KB , 241x209 , tri.png )

Can someone help me fix my code? I'm trying to make a triangle using 2d arrays

public class Tri {
public static void main(String [] args){

int rows;
int columns;
int i,j;

int [][] arrayNumbers = new int[5][5];

arrayNumbers[0][0] = " ";
arrayNumbers[1][0] = " ";
arrayNumbers[2][0] = "*";
arrayNumbers[3][0] = " ";
Message too long. Click here to view the full text.

2 posts omitted. Click Reply to view.
Nattajerk 16/03/11(Fri)06:09 No. 4875

i cut out some things, so it fucked up. but that 'for example' would be how you would build a multidimensional array in one line.

string [][] aStringArray = new string [2][3]{{"a","b","c"},{"a2","b2","c2"}};

attempt #2

Nattajerk 16/03/11(Fri)06:16 No. 4876

it doesnt matter, the statements are virtually the same.

either way, you're trying to store strings in an array made for ints.

Neckbearded Basement Dweller 16/04/04(Mon)05:20 No. 4881

Your 'rows' and 'columns' have no values, and triangles have 3 sides, not 4.

writting program Ali 15/03/09(Mon)21:26 No. 4705 [Reply]

File CENG112_Lab2.pdf - (356.25KB )

can you write this program

1 post omitted. Click Reply to view.
Neckbearded Basement Dweller 15/03/20(Fri)20:26 No. 4714

with what should one even write this with ?

Person 15/04/07(Tue)10:58 No. 4723

Yep, I can. Why do you ask?

Neckbearded Basement Dweller 16/03/01(Tue)09:24 No. 4870

Damn Daniel, just drop out this is trivial

Neckbearded Basement Dweller 15/11/21(Sat)08:59 No. 4824 [Reply]

File 144809274334.jpg - (131.34KB , 1280x720 , shodan.jpg )

endgame: create AI. true AI. also transfer a human consciousness to a new body of some kind.

current situation: can kind of program in C++.

what do so i don't keep sucking and how to do what i wanna do?

6 posts and 1 image omitted. Click Reply to view.
Neckbearded Basement Dweller 16/01/26(Tue)09:34 No. 4855


Here's a try at simulating a Rat's brain.

ZeroTheMachine 16/01/30(Sat)01:37 No. 4860

try using Lisp Actually use lisp and become familiar with it and reprogram your own lisp C++ Variant

Neckbearded Basement Dweller 16/02/18(Thu)10:24 No. 4864

"Magic" of course has several connotations. Besides "wondrous" and "mysterious", there's "unknown" and "poorly understood". It's the mark of intelligence to want to get away from ignorance and refuse to accept that anything is magical.

Neckbearded Basement Dweller 16/02/13(Sat)12:09 No. 4863 [Reply]

File 145536176622.webm - (438.82KB , 304x300 , WetPleasedFrillneckedlizard.webm )

I want to build a chatbot that narrates a slow-paced MMORPG contained within the chatbot. Is there an API open-ended enough for this, or do I have to resort to messy, messy programming?

is Java dead? Neckbearded Basement Dweller 14/01/05(Sun)05:55 No. 4268 [Reply]

File 138889774551.jpg - (12.51KB , 258x195 , images.jpg )

Is Java dead? or does it have as comeback in the future

16 posts and 1 image omitted. Click Reply to view.
Neckbearded Basement Dweller 16/01/20(Wed)18:40 No. 4848

IT-apprentice here. All other apprentice I know who are in programming only learn Java. No C, C++, Python, etc.

Neckbearded Basement Dweller 16/01/28(Thu)05:23 No. 4858

can confirm. here they have a java "intro to programming" and then ap cs. dont worry though, im learning c++ on my free time

Neckbearded Basement Dweller 16/01/28(Thu)05:25 No. 4859

and btw, it is a math class, its considered ap math not technology.

Artificial Neural Networks Neckbearded Basement Dweller 16/01/23(Sat)07:46 No. 4852 [Reply]

File 145353156671.jpg - (121.43KB , 600x821 , scary_video_games_by_vashperado-d5hsuay.jpg )

Any hints, tips, or otherwise?
Any questions?

My current project is: Artificial Neural Network(s) distributed across Raspberry Pi 2 computer systems for use of robotic cat.

Any Suggestions? Already have code for ANN, just need to parallelize it.

Anybody have thoughts on that?

algoritham Neckbearded Basement Dweller 15/08/24(Mon)16:49 No. 4790 [Reply]

File 144042776597.jpg - (11.67KB , 224x225 , temp.jpg )

what is the best way of learning algoritham...

2 posts omitted. Click Reply to view.
Neckbearded Basement Dweller 15/08/27(Thu)01:31 No. 4793

uh, just find a book on algorithms in your language

Neckbearded Basement Dweller 15/09/05(Sat)20:57 No. 4796

the best why to learn about algorithms is to implement them in your favourite language and then make them work together.

when i studies algo, the lecturers used the Corman books

google is also your friend, a lot of people blog about stuff like that

Neckbearded Basement Dweller 16/01/07(Thu)16:25 No. 4844

Like this guy said - most CS students I've met have referred to this book as 'The Book'.
I even once met a Jehovah's Witness who was also a programmer, to whom 'The Book' meant 'Introduction to Algorithms'.

A New Guy 14/11/05(Wed)02:40 No. 4611 [Reply]

File 141515165046.png - (15.38KB , 370x370 , photo.png )

Hey /pr/!
First time here..
4chan doesn't have a /pr/ which is what brought me here.

I'm looking to start developing android apps. I have a great grasp on anything computer related, dabble in web development and am currently looking to expand my knowledge.

At this point in time I'm running Lubuntu 14.04 with Android Studio installed. I decided to install this as I saw Google was looking to sway away from eclipse and possibly end plugin development.

My question is, where should I start?!

Does anyone have any good sites for tutorials, torrents or video tuts they can link me to?

I've started using CodeAcademy to learn Java but was looking for something that tends to be more specific to what I'm doing (Android Apps).

Thanks everyone.
Message too long. Click here to view the full text.

6 posts and 2 images omitted. Click Reply to view.
Neckbearded Basement Dweller 14/12/18(Thu)03:01 No. 4646

https://7chan.org/pr/res/4611.html#4615 Nope, C# is for Windows programming. Android apps are usually written in Java and iOS in Objective-C (they are moving to Swift though). There might be other languages but those are the common ones

What I used. Dave 15/08/03(Mon)19:10 No. 4774

I got started with "Learning Java by Building Android Games". The actual games are pretty simplistic but I found the Android Studio tutorials very helpful. Was great as a primer.

Neckbearded Basement Dweller 15/12/19(Sat)17:39 No. 4839

is it easy to learn with no java experience?

Neckbearded Basement Dweller 15/06/12(Fri)12:25 No. 4756 [Reply]

File 143410473678.png - (278B , 42x42 , crunchbang-logo-minimal.png )

ou guys probably see posts like this all the time, but I'm going to post anyway because I just want to hear what some of you have to say.

I want to learn how to code. I dropped out of college at 19, not have a $12/ hour job at 23 and it's killing me.

What is the best way of going about learning how to code? What language is the most versatile and widely used in the industry? I want to pursue a career but have no clue where to start without going to school for this field.

2 posts omitted. Click Reply to view.
Neckbearded Basement Dweller 15/07/31(Fri)05:54 No. 4773

want a job? go javascript. Go full front-end webdev if your motivation is a job. honestly, JS is fugly, and it's messy, but there is plenty of documentation and jobs for that. Besides, it can be tried almost anywhere, I am assuming here you are using a windows pc, so you just need to install a text editor and you're good to go.
I'd suggest you get gVim and learn touch typing
or you get that sublime shit, it works if that's what you want

Neckbearded Basement Dweller 15/10/19(Mon)16:32 No. 4813

If making money is your goal then probably Javascript/WebDev (HTML and CSS too). http://eloquentjavascript.net/ is good place to start IMO

Neckbearded Basement Dweller 15/12/19(Sat)17:35 No. 4838

w3schools is bad? i have always found it good for basic css, like finding out the longhand or shorthand for a css property.

Delete post []
Report post