11/24/08

YES

This is crazy. It looks like a meteor, but I don't know. I've seen this twice, and each time its happened, the sky has lit up completely with a sky blue. Whatever, here's a clip...and proof, I guess:





Stupid program

I know this blog was suppose to be about my photography, but this was something that interupted my photog adventure.

HW3

There it is. I even added Frost for entertainment.

This program was such a pain. 6 classes, each with a header file, and had to use inheritence, friend classes, persistence, and even a Test function that made it go so slow! It was pretty bad, and even made me a little crazy. Seriously, it did. If I wasn't on my laptop going crazy working on it, I was constantly thinking about it everywhere else! Ughhh...well, now its over. And I'm ready for the next one. If anyone wants to see the code (may God be with you when you try and read it), then drop me an e-mail: davidnewtonphotog@gmail.com

Photos coming real soon now.

11/12/08

US Court System = dumb

ugh...I hate going to court. No matter what reason, whether good or bad, it will always suck just sitting in the room waiting for some guy to come and determine our fate by some so-called "facts". Anyways, I have some photos.



















You can always find some fun in the town of Boynton.

11/11/08

I am a loser...

Not a very complicated program, but I still feel kinda proud as this will save some time for me to post photos on websites. So, here we go:


#include <iostream>
#include <fstream>
#include <string>

using namespace
std;

int
main () {
string filename, line, imgsrc = "<img src=\"", end = "\">";
cout << "NOTE: You must have the text file in the same folder as this executable!!" << endl;
cout << "What is the name of your file? (inlcuding the .txt)" <<endl;
cin >> filename;
ifstream fin (filename.c_str());//old C string style
ofstream fout("converted.txt");
if
(!fout) {
cout << "Cannot open output file." << endl;
return
1;
}

if
(fin.is_open())
{

while
(!fin.eof())
{

getline (fin,line);
//cout << line << endl;
line = imgsrc + line;//add the <img src = " part
if(line == imgsrc){
//ignores the blank lines, if there are any
}
else
{
line = line + end;//adds the "> part
fout << line << endl << endl;//add a space for convience
}
}

cout << "tags added" << endl;
fout.close();
fin.close();
}


else
cout << "Unable to open file" << endl;

system("PAUSE");
return
0;
}



and here is a photo of it:


Yea, so that was it. If you don't understand this, well, whatever. But if anyone would like to use the program, just send me an e-mail to davidnewtonphotog@gmail.com

I AM A SLACKER

Dang, its been a real long time since i've updated this. I've uploaded a ton of new (and old...) photos since the last update, but I'm only putting up my favorite on here. So, here we go:









































































Haha, i guess I have a lot of favorites...whoops. Anyways, I just made my own program to add the <img = "photo link"> tag to how ever many photos I want. Yay...i'm a loser.