C++ Matrix
2:55
Added: 3 years ago
From: EdurarTe
Views: 122,415
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (194)

Sign In or Sign Up now to post a comment!
  • The Matrix must be run on linux, right? FreeBSD @ that! :] On windows it'll bloody crash every second... Neo would have a blue screen of death in the middle of a bullet-time ass-kicking scene... :\

  • Sim mas cade o codigo dele ?

  • you prolly should have used a shorter sleep time

  • تجي تشرحلي بكرا عندي اختبار برمجه ههههههههههه

  • amazing man congratulations...

  • thats awesome can i get the source code

  • Can you send me the source code?

  • the matrix run on commodore 64

  • source code ?

  • matrix in 1989

  • Wow, that by far is one of the coolest home made C++ test programs I have seen. is there a way for me to conduct this on linux? if so let me know, I would love to try it, I love matrix so much that my whole compiz theme is Matrix style lol.

  • can you send me your source code please. thanks. i use both dev c++ and visual studio. and most of the time i prefer to use dev-c++. so thanks.

  • so will i end up having to fight a well dressed person who keeps calling me by the wrong name if i make a matrix like this?

  • Me facilitas el codigo?? por cierto felicitaciones..

  • Ah crap, I gotta live in there? Hope they plan on increasing the graphics, ram, CPU... uh, should I even go on?

  • this is what happens when cypher gets jealous

  • teh gibson needs more corez

  • .......... i know kung fu

  • 1)is your computer so shitty that it lags or you didn't do good,matrix is not like that,it's flowing like water in the movie...

    2)matrix code doesn't use ASCII code :PPPPPPPP

  • cool

  • hujowo

  • According to my Pro Matrix reading skills The machine running this copy of matrix is too weak. Well I guess machines nowadays aren't really capable of simulating entire worlds are they? 

  • i tought matrix is in binary numbers only? (0,1)

  • @Norbertasss Lol no..

  • Really good ;) *thumps up*

  • You can make matrix code in game maker, And it looks better

  • Hellow,

    Could you send me the source code please ? thx :)

  • i don't even want to know what type of crack head program this is...

  • can you share the code?

  • wow pretty sick... can you explain how you did this? Or would you be willing to share your code? I am just trying to learn more advanced C++ techniques, i wouldn't claim ownership!

  • it a MSDOS window, and its the default font, i uses the conio library for colors and coordinate printing of characters, its c++ because each falling char its an object.

    Conio is an old library of ansi c, THIS PROGRAM WAS MADE ON TURBO C++, then ported to DevC++ and conio original library replaced with Conio2 (devPack) wich is and updated port of Conio library that runs on newer compilers and stuff...

  • the matrix is running on windows :p

  • @wert12 no way, its running on MS-DOS

  • @EdurarTe fucking awesome. How long have you been programming?

  • @wert12 correction. MATRIX RUNS ON WINDOWS XP! search it up, it's a collegehumour video. hilarious

  • WOW! nice work!

    cant u revers the impresion order?

    to print up the up letter first making it look thats going down?

  • Hi I would like saver as I can do that or if you can give me the steps I am learning thanks!!!!!!!!!!!

  • Hi I would like saver as I can do that or if you can give me the steps I am learning thanks!!!!!!!!!!!

  • how do you change the color of the text in the console?

  • I don't think you can make the matrix affect in that kind of window, (I wonder what font I would need for it), well I have it as a screen saver on Ubuntu, so maybe the code for the affect is open source

  • hey this one is nice. . . can you make it i java?

    let me guest you used some array and random comands right and looping? am i right LOL wana learn more about C++ i know java heheh

    jofftiquez@yahoo.com please teach me. . thnx your help will be appreciated

    ROCK EN ROLL \m/

  • Wow!!! That's awesome!

  • I think it eats alot of CPU heh

  • ur comp is lagging

  • oh my god.. your the worst programmer ever, if you can be called as one...

    lets say the most important one strictly: you cant programme (c++)

  • Hax! :D, Nice job btw... damn, how long it take you to make this? Like 50 years, haha

  • Cool....... i think....... lol

  • wao~! so cool man .

    You can ask the discussions at the Forum area to teach us? ?

    If you have a teaching,please let me know.

    thank~!

  • i dont know how to open c++

  • code plzzz

  • codigo por favor

  • subliminal messaging fail?

  • after im taking data structures (java) imma start learning c++.

  • EPIC FAIL FAIL FAIL FAIL FAIL !

  • So is this like a game? or a short video of moving letters? I'm confused on how it works. What is the object of it? Do you type the letters you see?

  • a 2d array of letters and you draw them using suitable co-ordinates and random colors, that's it as far as I think....

    at least I did that way...

  • @zobayer1

    hahaha

    of course it's 3d, its a console application.

    you "draw them using suitable coordinates?"

    random colors?

    you have no idea what you're talking about.

  • and definitely, Sir, you have no idea what I told...

    I never told about the output screen is 2D, can't you read?

    and I have been programming c++ for about 2 years (obviously as I am a cse undergraduate student) and I can make this fairly easy within 30 minutes (using openGL / GLUT)... :P I was just thinking whether the programmer used same technique I used..

    read carefully before you comment, Sir...

  • @Truemann45

    Do you understand the concept of a 2d array? Or even an array?

  • how did you change the font color in console? i am making this one..

    or could you please upload the source code?

  • You can write code that works like a batch script line in C++. In fact, you could port over batch scripts with this command.

    For different shades of green, just put:

    system("color a"); or system("color 2");

    replace the text in quotes with whatever commands you wish that you'd normally put in a command prompt! :)

  • thanks but i already knew that, and i don't what to use system( )

    i found a better way, just use windows api

  • why it's so slow? and where the code?

  • The program is great. Stasonix if you want the source code try to write a program like this your self, it's the best way to better programing skills :)

  • and so...

    how do you do ?

    pls

  • I liked the smooth scrolling of the letters.

  • or if you do not know what c++ is like me you download zmatrix

  • make pls a downloade link ^^

  • this is NOT better than C# code for matrix!

  • but you can add some much more to this, this is like level 1 of 1000 levels lol

  • It would be more matrix like if the lines would not refresh at the same time :)

  • matrix got 16mb ram?

  • @aydoooo of course, its running dos.

  • @aydoooo lol

  • where is the codes to do this dude ?

  • mira me pudes ayudar como haces para colocarle el color a lo q haces ya yo he tratado de colocarselo pero nunca puedo

    he colocado la supuesta libreria q me permitiria hacerlo q es conio.h pero igual no me deja siempre me da error con el TEXTCOLOR

    me puedes ayudar???

  • se unos espanol, solo un poco, pero unos. losiento de yo hacer error con mis parlabras. Tu necisito a usar

    SET COLOR(16)

    es trabajado por me, y me video juego yo hacer esto ano. buenos suerte!

  • i need install the Conio2 devpack????

    i use Dev-C++

  • this matrix have lag xD

  • the matrix uses a 56k modem...

  • @PhaLKoN You're walking around and someone goes to shoot but the bullet doesn't hit you for about 5 mins :P

  • Could you release the code?

  • Its from matrix, dont remember the name.

  • What is the music? I've heard it in a million videos, and have never been able to deduce the artist/title.

  • Spybreak!

  • Propellerheads-spybreak

    Rob dougan - insert name of song here.

  • lol its faling upwards! gravity fails huh?

  • sin titulo-block de notas ??

    tu hablas español tmb xD

  • you most amke the letters make faster

  • This is really really cool. Can you share the code?

  • Hmmm.... Sorry I don't know lol, it looks really cool anyway but as for how you would get it to work on any computer with the unicode characters I don't know....

  • A very nice tutorial, looks very cool! If you programmed it to utilise unicode characters it would be amazing!

  • yeah it would! but it doesnt work!, although i tried i didnt succeed, thats because i want this to run on every DOS versions not only on vista "fake" console, so that any old computer could correctly display this. any one, any idea?

  • @EdurarTe i may have an idea.... i don't know how well it would work. i know like with batch files and executables you can change them to e windows NT command scripts. would you be able to set them as that? like i don't know about your compiler, but I know that mine has an option to save it as a batch/exe file. which means just convert it to a .cmd file extention, and it will run in an example of windows nt, which is as close as you'll ever get to dos...

  • The refresh rate of the text is too slow, so if you stand back a few steps from the screen it looks as if its going up not down...

  • ok ill reupload this shit..

  • Dudee.... this sucks, its rolls upside down, and it hardly moves.... so not the matrix style. Disapointed

  • dude you couldnt make that so shutup you couldnt make half of it

  • very nice!

  • ignore marwex98, i think this was cool.

  • sorry about that flame-war, EdurarTe

  • Looks cool, you should make a tutorial video of how to make things like this.

  • this is freaking cool dude! is the output shown in cmd?

  • We only need to speak while waste comes out of our mouth "talking shit" if it's to an ignorant spammer. congratulations you spammed the comments, content?

  • holypanI, you need to word your comments better, the way you said your first comment was in a mean way, calling someone a noob for making the game or program they wanted to make is just stupid.

  • Comment removed

  • wow, awesome

  • Did you even read my post? Did you look up VGA modes? Do you even know what VGA modes are? Do you understand that API call graphics functions have function call overhead, plus API rerouting overhead, that is approx at least 35-40%+ slower than DMA VGA?

    WTF do you know about text and GFX modes, anyway? All you do is "#include" everything. I WRITE libraries. I do OS development. Don't talk shit when you don't know shit.

    And again: n00b.

  • and DO YOU? i mean, i DO USE ONLY STANDARD C++ LIBRARIES i dont want any asm or interfaces, just plain c++ without using ANY CUSTOM LIBRARIES.

    I DO know asm and i DO know how to make libraries, but this was made in devC++ and its obviously that i would run faster is everything is custom or plain ASM!! but READ THE FUCKN DESCRIPTION!

  • You think your #includes are written in ASM? Fail. I'm beginning to think "holypanl" is right... You are obviously not an experienced C++ programmer, but OK, this was a test, and I guess you didn't aim for anything more than this.

  • dont be asshole dude i dint say that i just said that its stupid calling interrupts and making more complex stuff instead of using the standard library , go and **** holypan´s ****!

  • Hey man chill out, these assholes don't know half as much as you, don't let them piss you off... I bet you they couldn't make anything as good as this!

  • haha yeah is just that the´ve been doing this since a long time. but thanks man haha ok.

  • Y0uz goTS PWnd

  • Wow. The author of this program is quite the n00b.

    To improve this program, don't use Dos interrupts, or API calls: try researching proper use of the VGA text mode interface, at address 0xb8000 fr faster rendering by directly accessing the VGA card. Will speed up operation by at least 400%.

    Apart from that, good try ;)

  • face it, he can make it how he wants, you're not impressing anyone with your speech

    Apart from that, good try ;)

  • You're just hopeless. A pathetic excuse for a programmer. I mean: look at every other example here on youtube, and then your, and I don't even have to say your matrix is the SHITTIEST piece of FUCKED UP BULLSHIT on the site.

    I come here, trying to help you, and you talk SHIT. Well good job. that's why you'll never get on any REAL dev team. Keep writing shit, and keep your lame $120K a year. I couldn't care less. fucking jackass.

  • dude, ur insane, i mean DUDE UR A FCNK ADULT AND UR STILL ARGUING WITH A 16 YO PROGRAMMER! face it! asshole, the fuckn video says it was a test!, THE REAL EXERCISE SAID I NEEDED TO DO A STUPID CONSOLE helloWorld with Classes and Objects! BUT I DECIDED TO DO A FCKN MATRIX, AND IF YOU CAN FIND OR DO A BETTER C++ MATRIX THEN TRY!

  • can i have the source code please? :)

  • what program did you use for this?

  • read the fucking title

  • LOL.

    I don't know why, but that was funny.

  • Umm are you dumb? Microsoft c++

  • dude you are the dumbest, microsoft C++ is not really C++ its really called VC++ (Visual c++) and its a "microsoft clone of the C++ original languaje" so here im not using VC++, intead i use C++!! ¬¬ dont trust microsoft! never! microsoft stoles languajes (Java-C#)(C++-VCC)(Java-J#(whi­ch failed)) and many others!!

  • You are the man!

  • Was it me you replyed to or him?

    But ok, i know that its called vc++ but thanks for the info about languajes (Java-c#) Thanks

  • you're right but C# is done nice imho..

  • Is VC++ different from C++ code wise?

    and is there any performance differences?

  • ya they are, VC++ links a lot more dll and windows system dependencies, and may generate a bigger filesize.

  • nice! can i see the code?

  • ha ha good job

  • Kodyro u are cool!

  • look at mines

  • Have the source by any chance? :P

  • LOL!!

  • Matrix...

  • i really didnt think this kinda thing was possible in a console awsome. i made something like it with just 0's and 1's but it just spit out lines of them. cool.

  • For a dead-simple solution, store a char[] with a size of width * height of the console (in characters), then draw to it as you would a framebuffer, and spit the entire array out at every screen update, then memset() it to 0. Just store the start and end Y coordinates of every line you wish to draw, and keep moving both by 1 point every frame.

    Of course, this will be slow as balls, and you'll get a lot better speed using a Curses library and delta updates.

  • nice but the matrix uses 0-1 not a-z but nice, needs a lil more speed tho

  • Comment removed

  • this is awesome. do you do MEL scripting or anything related to animation or visual effects?

  • it's too slow.. can u speed it up in the program?

  • Muy padre!! de donde eres??? Yo estoy llevando este semestre programacion orientada a objetos, en java y uml y estructura de datos!

    Saludos!!!

  • Excellent, you are really creative.

  • ur a genius. If only it was constantly falling, and not stoping every few seconds.

  • damn... i can do this in csharp code language...

  • C++ is better than C#.

  • WHY??? easier???

  • No, harder.

    But you can do anything in it.

  • oh... maybe i learn to code in c++

  • C++ is OK if you have a development team and allot of free time, for general programming C# wins hands down, for intensive programming such as game engines for example C++ is the choice.

    Don't jump to the conclusion that one is better than the other, they both fulfil different requirements at a different level.

  • thanks 4 the info... 1 question though, what is c# like? what can you do with it? is it easy to learn like c++?

  • i learned HTML a long time ago and i just started looking into C++ and so far its easier than i thought it wuld be but i think HTML helped ALOT with learning this, atleast learn the basics of html before u try c++

  • kk :)

  • That was bad advice. HTML is nothing like C++, you would actually be fine just going straight into C++, then after learning that, delving into a graphics library like SDL.

  • i think he's better have to learn c console coding and after c++ or maybe javascript first (its look a little bit like c++) but html is a bad thing to learn if you want to learn c++ :P (well that's what i think)

  • lol its like one of those old 'cube gameboys' dunno what you call em.

  • Program Fail, Worst 'Hello World' EVER!

  • haha that was the first project we ve done at school on visual basic xD hello world :D

    it was just like

    writeline("hello world")

    hahah

  • that was the first thing we wrote at school on html xD but i already knew everyhing about html :D

    btw. well done :) maybe you can make it run a lil mit "smoother"?

  • HOHOHOHO, Nice maaan ! :P

  • how would i make this into a screensaver application?

  • code plz!

  • will you give the code in a PM?

  • Here is the code in C#...

    pastebin[dot]com/f3a1fed32

  • thx

  • not bad

  • do you use Dev-c++

  • dude, lemme get the code plz

  • holy fuck

  • el do u se i fu ao oe me so

  • hi dude can i have the code

    cheers

  • man you should post the program

  • tetxtpad

  • well in my ponion the characters should start to visualize from up to down and not from down to up (like in this case) and a little quicker tempo would make all that much more attractive

  • u can't do quicker, because that's not flash, or something like that, this is DOS!!!!