Hey guys i was playing around making a C++ program! First i made a file called unix.cpp and here is the code inside it.
#include <iostream.h>
#include <string.h>
#include <stdlib.h>

void telnet()
{
cout<<"\tSLACKWARE 2005"<<"\n";
cout<<"\tThis program will only be used for good intesions or face the consequene"<<"\n"<<"\tces"<<"\n";
char inp[2334];
cout<<"\tThis is a telnet program based on UNIX";
}
void ls()
{
char in[3];
cout<<"okay let me experiment ls on dos"<<"\n";
cout<<"type in ls"<<" ";
cin.getline(in, 3, '\n');
if(in[3] == 'ls')
{
system("dir");
}
}
int main()
{
ls();
telnet();
return 0;
}

when i finished doing that. I made the final one.
#include <iostream.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>

int main(int a)
{
FILE *m;
m = fopen("unix.cpp","w");
int l;
l = 300;
if(l != a)
{
cout<<m;
}
return 0;
}
I compiled and ran it and i got this 0x40d238 guys what the hell is that!!