[Burichan] [Futaba] [Photon] [Nigrachan] - [WT] [Home] [Manage]

Name
Email
Subject   (new thread)
Message
File 
Password  (for post and file deletion)
  • Supported file types are: GIF, JPG, PNG
  • Maximum file size allowed is 2000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 137 unique user posts.

  • Blotter updated: 08/17/08 Show/Hide Show All

File: 122077137189.jpg-(236.99KB, 900x900, 120391503667.jpg)
433 No. 433 Locked Stickied hide watch quickreply   [Reply]
Rules of /pr/
1. This board is for programming discussion. That being said, try to keep it SFW and don't fag up the place too much.
2. We are not here to do your homework. If you're going to waste our time, at least put forth a little effort.

Somehow there are more than 100 of you. That's more than enough to get on irc.
irc://irc.7chan.org/#programming


File: 121943789910.jpg-(95.00KB, 800x594, ObesityFairy.jpg)
56 No. 56 Stickied hide watch expand quickreply   [Reply]
Here are some free resources for the major languages so you newfags can stop asking "what language should I lern???" Mods please sticky this shit

~C++~
http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html
http://www.steveheller.com/cppad/cppad.htm
http://en.wikibooks.org/wiki/C%2B%2B_Programming/TOC1

~C~
http://www.oualline.com/style/index.html
http://publications.gbdirect.co.uk/c_book/

~PHP~
http://www.w3schools.com/php/default.asp
http://www.phpfreaks.com/tutorials

Message too long. Click here to view the full text.
32 posts and 1 image omitted. Click Reply to view.
>> No. 411
>>275
I would never suggest Java or .NET ever in my life, though you have the C++ part down.
I'd recommend using GTK ( http://www.gtkmm.org/ ) so you get an easy setup and cross-platform capabilities all in one go. They even have some documentation to get you started with it, complete with source code and pictures.
>> No. 429
>>250
agreed, better so use SDL cross platform, saves work for the user too


File: 122073406766.gif-(94.67KB, 150x150, 1218981150297.gif)
414 No. 414 hide watch expand quickreply   [Reply]
Hai /pr/ im looking for a good way to learn C++ and C#, and i mean LEAARN it. like really good. Ive got a year off and im getting a bit rusty at my programming since i just quit school and havent programmed for like 6 months. So.. yeah :3

Ty in advance

Pic not related, new computer, no pics on it
4 posts omitted. Click Reply to view.
>> No. 443
>>437

LOL YOU NOOB FAGGOTS LEARNING C# IS GAY C# ITSELF IS GAY START WITH SOME REAL LANGUAGE LIKE C OR HASKELL

no, srsly.
c# is great for start ? easy readable code instead of pages of unreadable bullshit with arrays of pointers to the arrays of linked lists, which looks like chinese.

if you learn a new language ? you've got to learn alphabet first, same applies here.

if you start getting into programming with c ? you are likely to get incurable brain trauma.

c# is designed to be understandable even by retard, so it's easy to learn, and you don't get page faults in your first "hello world" program, which can be very confusing.
and then, when you are familiar with basic programming concepts, you can proceed to c++, and you'll understand it easily.
>> No. 450
>>443
na, i was 12 and started with c++
it was great
>> No. 452
>>450
you're 13 now?


File: 122080188536.png-(28.60KB, 723x598, Screenshot.png)
448 No. 448 hide watch quickreply   [Reply]
need some good SDL drop down menus and such, any links?
>> No. 449
http://www.google.com
>> No. 451
http://libagar.org/screenshots.html.en

thanks Winter!


File: 121993735530.jpg-(106.06KB, 1243x656, lol_hta.jpg)
167 No. 167 hide watch expand quickreply   [Reply]
Recently 4chan's /b/ as been battered by a self-replacating Javascript "virus." I decided to look at the code, and thought some of you here might be interested. Here is the code, unmodified except for stripping out the binary JPEG image that was at the beginning of the file.

http://pastebin.com/m70868dc1

Here is an array that it will write to the hosts file..

("0 ns1.4chan.org\r\n0 ns2.4chan.org\r\n0 ns3.4chan.org\r\n0 www.4chan.org\r\n0 content.4chan.org\r\n0 orz.4chan.org\r\n0 tmp.4chan.org\r\n0 rs.4chan.org\r\n0 static.4chan.org\r\n0 zip.4chan.org\r\n0 bin.4chan.org\r\n0 dis.4chan.org\r\n0 img.4chan.org\r\n0 dat.4chan.org\r\n0 cgi.4chan.org\r\n0 nov.4chan.org\r\n0 4chan.org\r\n0 status.4chan.org\r\n0 4chanstatus.blogspot.com\r\n0 irc.rizon.net\r\n0 7chan.org\r\n0 www.7chan.org\r\n0 img.7chan.org\r\n0 dix.7chan.org\r\n0 irc.7chan.org\r\n0 420chan.org\r\n0 img.420chan.org\r\n0 disc.420chan.org\r\n0 irc.420chan.org\r\n0 blog.420chan.org\r\n0 radio.420chan.org\r\n0 711chan.org\r\n0 www.711chan.org\r\n0 irc.711chan.org\r\n0 99chan.org\r\n0 www.99chan.org\r\n0 irc.99chan.org\r\n0 12chan.org\r\n0 www.12chan.org\r\n0 img.12chan.org\r\n0 irc.12chan.org\r\n0 shii.org\r\n0 www.shii.org\r\n0 irc.partyvan.us\r\n0 irc.partyvan.fm\r\n0 irc.raidchan.org\r\n0 encyclopediadramatica.com\r\n0 www.encyclopediadramatica.com\r\n0 partyvan.eu\r\n0 www.partyvan.eu\r\n0 anontalk.com\r\n0 www.anontalk.com")

and then it will flush the DNS, preventing the victim from returning to any of the above web sites.

After that, it splatters itself over 4chan's /b/ using the function "spam." Take a look.
11 posts omitted. Click Reply to view.
>> No. 294
>>285

I guess you don't know what a script kiddie is. I doubt you even know what how js works. Until you understand how to not be a jackass, go to 4chan.
>> No. 446
>>285
no, thats a hacker, he knows what he is doing
>> No. 447
how do i embed binary program in an image for execution?


File: 122034841370.jpg-(33.80KB, 313x402, tobey_maguire_young.jpg)
295 No. 295 hide watch expand quickreply   [Reply]
char *shit[10][10] ;

is there a way to cast this to a pointer or am i not good with c++ ?
2 posts omitted. Click Reply to view.
>> No. 321
What is the signature of the function you are attempting to pass this to?

& and * are your friends, you just have to know when and how to use them. Also, in C++, look into "casting", for your purposes especially reinterpret_cast<>().
>> No. 322
Only works if the function you're passing it to already knows the 2nd dimension.

http://c-faq.com/aryptr/pass2dary.html
>> No. 445
char shit[][];

func(char**shit);


File: 122041720998.jpg-(28.52KB, 729x477, project 1.jpg)
320 No. 320 hide watch quickreply   [Reply]
hey guys, I need some ideas for my CSC capstone project. Any language is fine, as long as I can make it cross-platform easily (TA uses windows and the professor uses a mac). Anyone got any suggestions?


in b4 barebones OS
>> No. 323
Either Java or something that runs in a VM/emulator (like bare-metal machine language stuff or an OS).
>> No. 324
or something web-based of course...
>> No. 444
python lol


File: 122028946411.jpg-(73.45KB, 504x378, fatass.jpg)
279 No. 279 hide watch expand quickreply   [Reply]
I need to create an application for a website i'm building to schedule workers for certain times and dates. Not only does it need to show the schedule, I need to be able to directly manage the schedules from the website, and password protect the management option. I am a noob programmer, but I can do some basic html stuff. Abundant internets to those who help.
3 posts omitted. Click Reply to view.
>> No. 331
>>315
Uhm, okay. Here's the short version of what you're asking to do. You're going to set up a database which will be on the same server as the website. It will most likely be either SqlServer or MySql depending on your budget. You will then take a language like PHP, ASP.NET or ColdFusion which are all referred to as Server Side Languages. What these do is run as code on the server and then basically come up with HTML code which is then sent to the web browser for display. This means that you can dynamically create a web site. (For Example, you could have a table with employee times that updates every time you view it, as opposed to someone having to change the HTML every time.) The other thing your server language will do is communicate with that database, thus allowing you to store things in the database and the information will keep.

Now, since you're new and your budget is probably somewhere between $0 and $-100 I'm going to suggest that you pick up a book or a website on PHP + MySql both of which are free, easy to learn and will install nicely on your local machine so that you can learn without having to go live.
>> No. 332
>>331
P.S. The other option of course is you could contract me to do the work for you. However, that will cost you.
>> No. 442
pay me, and ill write a cgi program, because html isn't programming my friend.


File: 121935651797.jpg-(25.49KB, 416x300, whysosirius.jpg)
12 No. 12 hide watch expand quickreply   [Reply]
Sup /pr/. What do you think the best game programming language is?
42 posts and 3 images omitted. Click Reply to view.
>> No. 352
>>350
Rails is a web framework, which is pretty much useless for gaming.
>> No. 356
>>239
fuck have you used irrlicht before? that engine sucks hard. if you want a graphics engine, go with ogre. it has a great community and lots of stuff (physics, audio, input, gui) has been made to work with it.
>> No. 441
c
problem solved


File: 122049668097.jpg-(19.58KB, 340x410, 121465459231.jpg)
343 No. 343 hide watch expand quickreply   [Reply]
hi /pr/ I have a Java project and I'm not sure where to start, ii is indeed for a class, but I'm not asking you to solve it for me, what fun would that be..

I'm supposed to write a program that will draw the ASCII compilation of the string entered... i.e. "Hello World" outputs giant "Hello World" with and H made of little Hs e made of little es &c.

anyway, if you could point me in the right direction that'd be cool..

kthxbai
5 posts omitted. Click Reply to view.
>> No. 359
>>355

Learn how to make a class and objects, then learn how to make custom constructors, and read the string one letter at a time, create an array, and pass each letter off to an object.

DOne.
>> No. 360
>>359

Thank you ^_^ the terms should help
>> No. 440
i did this in c once....
basicly, yea, you need to make a bitmap for every character...


Delete Post []
Password  
Previous[0] [1] [2] [3]