I guess he knows what he's talking about
Enter the Dragon. from bean on Vimeo.
-Dorsa
Everyone should also pick up the most recent FTK Magazine and check out Carlos Mendez interview! Jack Bartolucci also got a checkout thats worth the reading! Dorsa is filling up the pages yet agin with his amazing photos! Check em out if you havent already, there free and you can pick one up at almost any skateshop!
OUT NOW!
HOLY COW OUT NOW TRAILER from Brandon Kuzma on Vimeo.
Buy a copy to support your loclas.
-Stoessel
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;
}
Brad Cromer is now AM for Krooked and Grant has a new Weekendtage up Peep the goods!
Brad Cromer
Weekendtage
-Dorsa
michelle from 210 is moving out of florida
The Days We Had from MichelleBlades on Vimeo.