201
Discussion / Visual HAM
« on: July 28, 2006, 07:19:59 am »
How can i make Visual HAM compile my project to a .gba because for some reason it won't
<?
$post = str_replace( "<main>", "<html>", $post ); /* Turns a <main> into a <html> */
?>
#include <iostream>
#include <fstream>
using namespace std;
int main(void)
{
char a;
char b;
cout<<"Enter a Name: ";
cin.getline(a);
cin.get();
cout<<"Please Enter an Extension: ";
cin.getline(b);
cin.get();
ofstream myfile;
myfile.open (a+"txt");
myfile << "Writing this to a file.\n";
myfile.close();
}