Added: 2 years ago
From: PEX88
Views: 186,823
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (237)

Sign In or Sign Up now to post a comment!
  • I thought the matrix was pure binary... 0's and 1's.

  • umm nice try.. but thats not even close :/

  • a mi me gusto jejeje

  • DUDE go learn about the ascii table "PLEASE!

  • Here is an original attempt I took at it few years ago. You can actually change the font so if you use the correct font it will resemble the matrix closely.. It's written in C# using a win forms. You can download the .scr file and drop it in your C:\Windows\System32 folder and then treat it like any other screen saver. Or you can download the full source code to inspect compile it, change it, whatever. Enjoy!

    code.google.com/p/thefzjmatrix­/

  • @fzamora1777 code.google.com/p/thefzjmatrix­­

  • @fzamora1777 You will need to type it into your browser... for some reason copying and pasting adds additional characters... sorry for the inconvenience

  • might as well create a batch file...

  • this is the worst matrix ever

  • Don't use DevC++ OR CodeBlocks - they are non industry standard.

    Go and pirate yourself some Visual Studio 2010 Professional edition for crying out loud.

    The problem with these random C++ programs is that they never compile properly when used in other IDE such as visual studio - which is industry standard - so it it teaches you incorrect coding practice and the files can't be used.

  • safe?

    work on visual basic 6.0 ?

  • @MsEdwinz

    No. This is a visual studio 2008/2010 IDE.

  • @OntDinRS u lucky.I dont have it

  • not as cool as aircrack decoding a wep key

  • Nice video!

  • use codeblocks, dev-C++ sucks

  • @hba6018 dev is good quit hatin just to do it

    i hate the fucking internet now cuz of that shit XD

    im sure they both fucking work

  • I have a test on this tomorrow. I hate dice.h!! ._.

  • The Matrix is programmed on Windows SUPER FAIL!!!! :D jk..

  • 取り合えず配列の初期化はアスキーコードをforで回したらどう­すか。嫌ならtempleteで繰り返しさせればコンパイル時に­(ry

  • Hah. String array has 42 strings xP

  • ZOMG , array wtf ?? (char)random_num okda?

  • and its go on as an infinite loop, how to end that matrix/loop?

  • @ishaqzafar I believe you just press Ctrl C.

  • @heyheytralala there should be some other method involving the change in syntax or something...

  • NEED, MORE ZOOM!

  • That's not even C++... that's Windows C++ and isn't compaitlbe with linux or mac

  • Nice work man. Haters who rudely criticize are obviously amateurs. Not anything related to code quality but because they think it's cool to rip on someone's code for any reason. That's some serious high school bullshit, grow up folks.

    Appreciate that he took the time to make this, share code and provoke thought whether you think you can do better or not.

  • pfft, id just do an endless loop with ascii values going down. same thing less code. your programs sucks.

  • @boypaslot Funny I dont see a video of you writing any code..hmm guess you cant do much better huh? =D

  • @Matsuya338 pardon my early stupid ways I was pissed that day.

  • @boypaslot Its ok, we all have those days.

  • you are typing very, very, VERY slowly...

  • @SBareSSomErMig Intentional, so people can keep up typing it.

  • @SBareSSomErMig Well Im not a coder but im sure that you have to type slow to make sure it exact.

  • @ForThaLord2232

    That's why God created intellisense.

  • @ForThaLord2232 not really, you just correct it if you make a typo...

  • I did it a much easier way, I used a do while loop and instead of using a random number/letter generator I just made 4 lines of random numbers and I made it go fast enough to were you couldn't tell they were the same numbers over and over again

  • matrix.own.cz

  • Bad style and need to use some good graphics lib.

  • wow epic video im just getting started learning how to do some programing and doing things like this keeps me enjoying it cool trick

  • Props for using Dev C++, a compiler which unfortunately is old...

  • Should have put the alphabets randomly in order

  • just a suggestion . as far as i remember matrix only had 0 and 1 .. binary digits not letters

    so if u just had the 2 numbers it wud have looked cooler

  • I'm having a problem with "while(1)" and i really don't know what to do now :(

  • @MagicJack700 try while(true), basically any number that is not 0 in c++ is true. 

  • Misleading picture :/

  • Wow thats why i choose IT but for now i cant understand what is REAL I.T

  • Hey, but that's not even in the same league as the true matrix effect ....

  • @geco0ol if you are to able to do it.. Well, just do it and post the vido on Youtube..

  • @PEX88

    I'll take you up on that offer

  • @PEX88 Yeah well don't call it 'Matrix' then...

  • Why did u include the std libraries and put in parameters.....

  • cool :D im starting at C++

  • This is pretty cool, but I was looking through your code and I have some questions... For one, why did you use getch and a return value after the infinite loop? Also, why did you use a string array rather than a char array to hold the characters? Not looking for a fight, just curious. I'd understand if this was just done on the fly as I make even stranger decisions when I am BS-ing and coming up with stuff off the top of my head.

  • @theslvrbullt I'm a Java developer.. In Java is usual to use String. I'm not very able to develop in C/C++.. I did this video just for fun. I'm sorry if there are bug or error in the source. Ciaoo from Italy!

  • @PEX88 Ah. See, I don't know much about Java, so I'm sorry if I came off as rude. The code is still rather nice, and there isn't really any issue with using a string rather than a char array.

    Good luck on your future programming endeavors. :)

  • hey thanks for the uploader , but my matrix is in black colour what to do to change the colour to green ...help..

  • @acidrop267 idiot

  • To fix the code just change the array from string to char and change all the entries in the array from "A" to 'A' and "B" to 'B' and so on.

  • @acidrop267 wow man are you serious

  • E A S Y !

  • @Pauloelisio2121 easy?! ahahhahahah

  • can i add music in it?

  • im having trouble in this part----> for (int i=0; i<20; i++)

    how can i fix this? @_@

  • great now do it on python so i can figure out what the heck you did...

  • lol, why u used letters? i think that the easiest way should be to use ascii codes. lol

  • How to do it on C++ 2010 express???

  • Damn misleading video thumbnail!

  • dude sorry but i can do better than that in note bad :D

  • Comment removed

  • @InfinityGamersPT its endl not end1 thats the problem

  • @InfinityGamersPT its bc end1 isn't in the std library, its endl; with an "L" not a 1 :)

  • Comment removed

  • Comment removed

  • int matrix[2][2];

    thats how i usially create matrix

  • good work man thanks its great ;3

  • @InfinityGamersPT endl, as in end line. The 1 is a lower-case L.

  • @InfinityGamersPT

    Make the 1 a lower case L.

  • NOOOOOOO NOT THIS SONG AGAIN!!!!! D:

  • avg says any cmd app is a virus cause its using the cmd its bs avg sucks

  • @Shadows69x i know i used to have avg you should get avast

  • Worst matrix I've seen. It's a nice attempt but you could have made it way better. change letter spacing to bring them closer. make speed of falling letters vary, etc.

  • how do i open this fille that u posted on info? sorry im not good at this :P

  • Thanks bro its great

  • I didn'tknowthat c++ had stdio.h, I thought that was C

  • @sk8erpro10 @sk8erpro10 change the string

    into char*

  • Comment removed

  • ok my problem is where all those numbers are i keep getting a problem there O.o

  • The matrix is made of more characters than just English ones.

  • Error 1 error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)

    2 IntelliSense: no operator "<<" matches these operands

    Visual Studio 2010

  • @LorkaCryomancer just add on top include string  then cout can show string values on screen without it it has no idea what to do happy coding

  • @LorkaCryomancer you're bad. you have to include string at the top of your program. This website is fucking stupid and will not let me insert code in here, but you have to use arrows with "string" in between them for it to work.

    This is probably being highlighted where the spaces are. The reason for this happening is because " " is a space, which is stored as a string variable.. String variables are created by the string header file and cannot be used if it is not included in the program.

  • Or just open a notepad, type

    @echo off

    color 0a

    :start

    echo %random% %random% %random% %random% %random% %random%

    goto start

    Save it as matrix.bat

    And remember to change the file type to ALL FILES!!!!!!!!

  • lol))

  • @vanletterbomb its the same language, might have some different terms, use some till u find the right one :/ just dont make a virus

  • wow *____*

  • 00:46 did you copy/paste that from somewhere?

  • you can make this in notepad!

    just paste this in:

    @echo off

    color 02

    :start

    echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

    goto start

    and then save it as Matrix.bat  it works!!!

  • прикольная фигня только если вместо %42 поставить %100 комп повиснет не на долго.

  • i followed each step of vidio but when i got 2 int a; and pressed space i dont get any numberss :/ help ?

  • hey i am have trouble with this the "sleep (25)" is having errors and i cant fix it

    

  • @blackplague123 Do you have Dev C++ 4.9.9.2? Go to their website and download and install it. I've compiled it and ran it. It works on this IDE perfectly fine.

  • @ajhrockerboy6 people still use that!!?? You do realize it hasn't been maintained in many years, right? There are far better IDE's available now.

  • @guywithknife i'll try to find a better one.

  • @ajhrockerboy6 well if dev-c++ works for you... otherwise you could try code::blocks, QtCreator, codelite, eclipse with CDT, or the free version of visual studio. All are excellent and well maintained.

  • @guywithknife thanks.

  • @blackplague1235 cause it's Sleep(25) not sleep(25). C/C++ are case sensitives!

  • name of the song?

  • Make a bat file with that:

    echo off

    color 0a

    :a

    %random% %random% %random% %random% %random% %random%

    goto a

  • Thumbnail lies.

  • Nice try!But it's a bit un-functional :/....try declaring real matrices and display them...You can have much more functionality and way better results ;)

  • using namespace std... nice XD

  • @Soulflare3 nice?

  • @GrandRedTheGreen I thought it was funny, sorry if you didn't get it...

  • Why so many dislikes? Its kinda cool.

  • the title screen is good but the project is nothing like it and AVG(R) said the download link was virused out the ass

  • @derpwaffleballs isn't a virus. I swear it.

  • @PEX88 and dont ask why i put "(R)"... i just felt like it...

  • @derpwaffleballs you guys need to learn what a false positive is...

    a *.cpp as a virus? time to change the anti-virus of yours

  • @murtisoft no my antivirus said the download page was bad...

  • @derpwaffleballs The reason AVG detects a virus is because he is using the system () function.

  • Comment removed

  • I just stumbled accross this and I have to say that using a std::string array here instead of a character array is bad coding practice and very inefficient. Admittedly on a small app like this it wont make much of a difference but it's much better to use a char array for single character arrays!

  • How come it doesnt work when i play it?

    I use microsoft visual c++ 2010

    and the program states that on this line

    cout << " " << array[a];

    That the second "<<" is incorrect

    what to do ?

  • bravo bel tutorial

    

  • can u have a tutorial about Visual C++ matrix?

  • @Vanletterbomb no, I'm sorry, mqybe a day I will do it.

  • @PEX88 ahh.. thanks by the way.. ^_^ thanks very much

  • @Vanletterbomb Why would you need something like that, these code is pretty simple to make, wasnt hard to understand at all... Would been better if he used the actual Japanese letters from The Matrix...

  • Don't use Dev-C++! use wxDev-C++, its actively maintained and also features as WxWidget designer!

  • good one :)

  • hahahahahaaa nnice ^^

  • THANKS

    

  • video: 3:32

    matrix: 0:10

  • I feel so sorry for you man for all the hate comments you are receiving. Guess EVERYBODY woke up on the wrong side of the bed this morning.

  • Not even close kid.

  • Está un pelo extraño,

    pero se vería mejor borrandole el segundo espacio

    además tienes un poco de codigo que no te sirve de nada.. para que incluyes stdlib y stdio ??? que son esos parametros que le pasas al main??? el getch no se sirve de nada xD

  • @DarkHeavenCloud you're right, but I'm a Java developer and I'm not very able to develop C++ application! Disculpame

  • i think nobody wants to see some programming code wich is in editin & unreadable.

  • Is it just me, or do all noobs use Dev-C++ ? Newsflash; it sucks.

  • @cuddlefluff Because some tutorials encourage you to use it for some random reason. And actually - It's outdated, but it still works so I guess Dev-C++ is still viable...

  • @cuddlefluff Newsflash, nobody cares.

  • @cuddlefluff what would you recommend ? im in my 1st semester programming, prof uses visual studio, me and my friends all use dev

    yes we're all noobs haha but yeah if you're experienced, id like to know what your recommendation would be

  • @b36Odj Visual Studio is the unparalleled development tool ;)

    @zingmars It is "viable" but it's not very good

  • @b36Odj just use VS for windows as I don't think you can access windows.h without it, for linux use g++ and vim.

  • @b36Odj boycott microsoft... DEV C++!!! IS BETTER!

    ... it actually makes almost no difference which you choose

  • @b36Odj boycott microsoft... DEV C++!!! IS BETTER!

    ... it actually makes almost no difference which you choose, but dev is simpler

  • @you123123123123 Dev C++ is no longer made. :( its good in all but i personally like and use Code Blocks. :D

  • @SkullSoftware I still use dev c++ i refuse to change XD

  • Out of curiosity, why would you physically write out the character string instead of using a for() loop and their character ascii values?

  • are you kidding me? you can see the Command Prompt icon! this is not C++! ll you did was make a shortcut to the batch file.

  • @Maxis5268 Here we have a coding-kiddy.

  • man, it's too simple, but it's a good tutorial for beginner.

  • to make the real matrix, you need a different library

  • @supergenius1994 You dont need a library to do anything.

  • @thisisnotanick you're kidding right?, you need a library to do anything! what could you possibly do with the language were you don't need a library? (besides the absolute basics)

  • @supergenius1994 Every library is written in the same language you are using.. Its just useful code written by someone else to make things easier. Most good programmers prefer to build their own libraries. The fact remains, it is not needed at all. You dont even need the standard libraries..

  • @thisisnotanick you are so horribly misinformed, true you can make your own libraries, but 99% of programmers don't have the slightest clue how to make their own gui library, sure they know how to make things like math libraries, and those kinds of things, but the huge majority of programmers CAN'T make a standard library substitute

  • @supergenius1994 Most GOOD programmers.. You can accuse me of being misinformed all you want, I can write many languages. The fact remains, you do not need to use a library. It is just code you can reuse. Anyone who is into programming can check this, you can find all the library files bundled with the compiler most of the time. Open any library, it is just code in the language at hand.

  • @thisisnotanick well I guess you are technically correct, but still none the less people always use libraries, except for the extremely rare ocassion for when a library isn't used, which by the way is extremely rare

  • @supergenius1994 That is because most people really do not know how to program. Every serious programmer I have met, prefers to use self written libraries over existing ones. When one has a few years of programming experience, self-written libraries comes as a part of the natural process.

  • @thisisnotanick so you are saying that the majority of programmers you have met make their own GUI libraries?, not importing anything?, I want to meet these guys, maybe they can teach me how to write my own libraries

  • @supergenius1994 I said everyt serious programmer I have met PREFER to use self-written libraries. It helps to actually read what I write.. If they actually get to use them, depends on the project at hand. Not sure why you got so hung up on a GUI library, but most big projects have dedicated GUI programmers. Not too many years ago, many best selling games were written from scratch in assembly. This all depends on the platform and hardware you are programming for of course.

  • @thisisnotanick I am hung up on GUI libraries because I have been trying for a while now to figure out how the low level stuff is done, but no matter what forum I go on, I get the same response: "you don't NEED to know it, so why look for it?"