Form a new team.
hehe thanks.
I get kinda annoyed with the n00bs that think they are hackers but don't even truly know what hacking is. Anyway I'm not going to start blabbing on about it now ;)
Also: I am going to make a section for this team on my website forums(check http://reaper4334.freehostia.com or http://www.reaper4334.tk
-Reaper4334-
Yes, sure you can. It needs something on it anyway it's completely empty ;)
Team name: Social Darkness Members: Reaper4334, DarkPanther_, Skunkfoot, Limestar, Folk Theory Programming languages: Mixture http://darkpanther.freehostia.com/forum
-Reaper4334-
Newb: c/c++( both under windows and linux ), pascal ( Delphi ), some batching, js Fair: php + mssql, VB6, vb.net + mssql ( stil learning ), sql, x linux user :) Good: html/xhtml/css ( but no css2 )
While writing of this message I'm pretty much a newbie, but I am a hard worker and a good student ( when it comes to programming, I suck at others :D ).
Edit I suggest we use the name "Programming for Pleasure" ( short.. "P4P" )
well im having some trouble pming this so ill just post it here
Hey, these are just 2 examples if theres anything particular thing you want to know just ask, also i typed these from my source and havnt ran them so there may be stuiped mistakes.
#include "apvector.h"
#include <iostream.h>
#include "Rando.h"
const int MAX=100;
int total=0;
void sort(apvector<int>&d);
void print(const apvector<int>&d);
void search(apvector<int>&d);
void sort(apvector<int>&d);
void fill(apvector<int>&d);
void fill(apvector<int>&d)
{
RandGen rnd;
int rnd1=0;
for (int i=0;i<MAX;i++)
d[i]=rnd.RandInt(1,MAX);
}
void print(const apvector<int>&d)
{
for (int i=0;i<MAX;i++)
{
cout<<d[i]<<" ";
if( i % 10==0)
cout<<endl;
}
}
void sort(apvector<int>&d)
{
for (int i=0;i<MAX -1;i++)
for (int k=0;i<MAX -1;i++)
if(d[k]>d[k+1])
swap(d[k],d[k+1];
}
void search (apvector<int>&d)
{
int final;
int found=0;
cout<<"what number do you want to look for)"<<endl;
cin>>final;
cout<<endl<<endl;
cout<<"looking..."<<endl<<endl;
for (int i=0; i<d.length(); i++)
{
if(d[i]==final)
{
found++;
if(found==1)
{
cout<<final<<"is found in "<<endl;
}
cout<<"Cell " <<i<<"["<<d[i]<<"]"<<endl<<endl;
}
}
if(found==0)
{
cout<<"your number was not found"<<endl;
}
}
int main()
{
apvector<int>dat(MAX);
fill(dat);
print(dat);
cout<<endl;
cout<<endl;
sort(dat);
print(dat);
cout<<endl;
cout<<endl;
cout<<endl;
endl;
search(dat);
return main();
}
Theres one thing from a while back here ^ and here is some link list stuff
#include <iostream.h>
#include "Rando.h"
struct nodetype
{
int data;
nodetype*next;
};
int main()
{
RandGen rnd;
int size;
nodetype*list;
list=new nodetype;
nodetype*Temp=new nodetype;
Temp->next=NULL;
list->next=Temp;
cout<<"enter size"<<endl;
cin>>size;
for (int i=0;i<size;i++)
{
Temp=new nodetype;
Temp->data=rnd.RandInt(10.99);
Temp->next=list->next;
list->next=Temp;
}
Temp=list;
while(Temp->next->next!=NULL)
{
cout<<Temp->next->data;
cout<<endl;
Temp=Temp->next;
}
}