I regret not practicing C++

Wooty

Well-Known Member
Staff member
Sounds like fun times

It was even more fun to run on the lab computers. I had a friend that wrote an app which would simulate mouse clicks at random positions, as fast as the system could handle them. It would do some interesting things before inevitably powering off by clicking the shutdown button.
 

yukyduky

Active Member
It was even more fun to run on the lab computers. I had a friend that wrote an app which would simulate mouse clicks at random positions, as fast as the system could handle them. It would do some interesting things before inevitably powering off by clicking the shutdown button.
Sweet! I'll definitely have to try that and maybe cover the desktop with random icons for a nice effect.
 

Wooty

Well-Known Member
Staff member
Sweet! I'll definitely have to try that and maybe cover the desktop with random icons for a nice effect.

Search for * in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs", select all, press enter.
0/10, would not buy again.
 

yukyduky

Active Member
Search for * in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs", select all, press enter.
0/10, would not buy again.
I see how bad that could get but I think the "Program Files" folder might be worse, at least for me it is.
 

kagato

Well-Known Member
The only thing I miss more than doing some C++ coding is Assembler - and no I am not joking. I miss having that level of control - PUSH, POP, register controls, etc. Yeah, I probably have a programming deathwish :ninja:
 

mikeymagic

Well-Known Member
The only thing I miss more than doing some C++ coding is Assembler - and no I am not joking. I miss having that level of control - PUSH, POP, register controls, etc. Yeah, I probably have a programming deathwish :ninja:
how do you even be motivated to write assembly!
 

Wooty

Well-Known Member
Staff member
The only thing I miss more than doing some C++ coding is Assembler - and no I am not joking. I miss having that level of control - PUSH, POP, register controls, etc. Yeah, I probably have a programming deathwish :ninja:

Once you get to that level, with a handy copy of the x86 opcode table, you can run binary commands directly on the processor. Joy!
 

StTheo

Well-Known Member
That's not the actual code for embedding videos. The <e> tag is something proprietary to Team9000, which automagically detects the video site, scans it for info about the video ID and such, and expands it out into the full code for the embed. This is what our youtube embeds actually look like:

Code:
<div class="bbCodeEmbed">
<div style="display: inline-block; text-align: center; width: 640px;">
<div style="width: 640px; height: 390px; overflow: hidden; position: relative;">
<div class="nke_inner" style="position: absolute; top: 0; left: 0; display: none; width: 100%; height: 100%;">
LEFTBRACKETiframe
 style="width:100%;height:100%;"
 src="https://www.youtube.com/embed/xSVJbzt0IUE?&amp;loop=0&amp;wmode=Opaque&amp;html5=1&amp;autoplay=1&amp;fs=1&amp;border=0&amp;color1=0x000000&amp;color2=0x333333&amp;rel=0&amp;showinfo=1&amp;showsearch=0&amp;iv_load_policy=1&amp;hd=1&amp;autohide=2&amp;enablejsapi=1&amp;playerapiid=nke_1108917575&amp;modestbranding=0"
 frameborder="0"
 webkitallowfullscreen="true"
 allowfullscreen="true"
 mozallowfullscreen="true"
 allowtransparency="true"
RIGHTBRACKET
LEFTBRACKET/iframeRIGHTBRACKET
</div>
<div style="cursor: pointer; position: absolute; top: 0; left: 0; width: 100%; height: 100%;" class="nke_cover">
<img src="https://img.youtube.com/vi/xSVJbzt0IUE/hqdefault.jpg" style="width: 100%; margin: -45px 0; position: absolute; top: 0; left: 0;">
<img class="nke_ytplay" src="https://static.team9000.net/styles/default/team9000/youtube_play.png" style="position: absolute; top: 0; left: 0; margin-top: 164px; margin-left: 275px; text-align: center; width: 90px; height: 62px;">
</div>
</div>
</div>
</div>
Show off :p
 

kagato

Well-Known Member
how do you even be motivated to write assembly!
Not to start a "Back in my day...we didn't have ..." kinda response, but that's kinda my why/how to get motivated. I grew up with the mindset of making code as compact and efficient as possible - given that I started with learning BASIC on a Tandy TRS-80, it kind of explains why. When you only have available memory that's measured in Kiloytes and not Mega or Giga, you tend to user every trick possible to accomplish what you need with as little of a memory footprint as possible. You can't get that with some of the more modern languages - regardless of how well they optimize their compiler. The flipside is that you tend to be the one who has to forsee possible issues (stack overflows, etc) and write code accordingly, versus a modern compiler which may check/warn you of such things.

That and I was always intrigued by "demos" of the day by groups like Future Crew - amazing the kind of graphics, etc. they could pull off with such a tiny executable file.
 

Kurtis

Active Member
It's really easy, but it depends what direction you want to go initially.

You can start with web programming and not even programming but using simple markup languages and stylesheets (HTML, XML, CSS, etc)

This will at least get you understanding how to apply syntax/code and make you a whole lot more ready to try scripting js/php where you will learn all the important parts to programming that will eventually lead to a solid understanding of stuff.

after you've learnt one, you can learn them all.


else you can go the desktop/mobile software programming side and start with java or python, or even basic scripting.

again, learn how to apply/use syntax in code, etc.


Once you understand how to use syntax and basic programming principles, you can really go at relatively any programming language you like. :)

I'm aiming for web design so I can eventually set up my own website for my art/fashion, and another for my blogs.
 
Top