You’ve probably seen them. Bookmarklets that you can add to your bookmarks bar that pull text and other information from the page you are currently on.
They are easier to implement than I thought they would be. You simply make the link append a Javascript file to the page and then add the code you want to the external js file.
This is the code needed to load an external javascript file by clicking a link.
|
1 |
<a href="javascript:var s=document.createElement('script');s.type='text/javascript';s.src='http://venture-ware.com/tests/remotejs/test.js';document.head.appendChild(s);">link</a> |
From there you can add what you want to your external js file.
Let’s get right into it. Open Visual Studio (VS), click on New Project… under Start; click Visual C++; Select Empty Project; give the project the name “hello-world” (or whatever); and then click okay. This will build a new project.
After that last post, I’m thinking it is time to redesign my site. That last post murdered the free layout. It’s time to roll my own.
Before we fully delve into programming with C++ it is a good idea to understand the device we are trying to program: the computer.
A small recommendation before you start into this introductory lesson—if you are running Windows, I would recommend you start installing Visual Studio now. By the time you finish reading the introduction Visual Studio should be done installing (it is 4.5 GB).
The machine you are using to read this tutorial is an amazing piece of electrical engineering. Over the last several decades the computer has infiltrated every aspect of life. From our desktop computer to our high-definition tvs and from phones to cars, computers are everywhere. A computer is a collection of hardware and software designed to receive input, process data, and output information.

The Ludum Dare 24 starts tonight!
Here is my prep work: Tetronomes—A Tetris Clone. It’s still pretty buggy, but I’m planning on polishing it a bit.
I’ll post my time lapse pretty soon.
The Ludum Dare #23 has not gone very well thus far… I have 1 hour and am nowhere near done.
Boo!