View Full Version : SONOFABITCH
OrngePlasticTree
11-24-2003, 01:20 AM
void fuckyou();
int main()
{
Node* head;
Node* tempPoint;
Node* Current;
float Temp;
ifstream data;
cout<<fixed<<showpoint;
cout<<setprecision(2);
data.open("Input.txt");
head = new Node;
data>>Temp;
head->component= Temp;
if(data)
{
Current = head;
data>>Temp;
while(data)
{
tempPoint = new Node;
tempPoint->component= Temp;
Current->next = tempPoint;
Current= tempPoint;
data>>Temp;
}
Current->next = NULL;
}
else
head = NULL;
Current = head;
while( Current != NULL){
cout<<Current->component<<endl;
Current = Current->next;
}
fuckyou();
return 0;
}
void fuckyou()
{
COUT<<"C++ BLOWS SLOPPY ASS! I HATE NODES, POINTERS, CODE,ETC."<<ENDL;
return motherfuckin 0;
}
xxplicitgrooves
11-24-2003, 06:06 AM
what u goin through mang
OrngePlasticTree
11-24-2003, 03:36 PM
computer programming... comp science major. im in c++ II now
euphoric
11-24-2003, 03:42 PM
gross
yay for frontend!
crowdeath
11-24-2003, 04:07 PM
My pops is teaching me C+. I'm useing VB 6 Enterprise. He got a book that can teach me to add in Direct X 8.0 and add some sweet graphics.
OrngePlasticTree
11-24-2003, 07:10 PM
im takin the class and its no picnic
i have to memorize the program above... without the "fuckyou" function for a test tomoro
crowdeath
11-24-2003, 11:14 PM
I have a bad memory so I just write down all my functions down. But I don't have test on it...
xxplicitgrooves
11-25-2003, 05:22 AM
bud, when you pass your test, take the time to teach me
OrngePlasticTree
11-25-2003, 11:26 AM
its 925.... my test is at 10.... i think im gonna go ahed and shoot myself in the face now.... *BLAM-splat.... thunk*
xxplicitgrooves
11-25-2003, 04:00 PM
layin on cody's body tryin to revive him like JEEZus
snipersloth3
11-25-2003, 04:02 PM
C++... I wanna learn!
crowdeath
11-25-2003, 04:14 PM
C++... I wanna learn!
First lesson, learn what this means:
Option Explicit
Sub Update()
Sheets("Sheet1").Select
Dim Dir As String
Dir = (ActiveCell.Text)
Select Case Dir
Case "North"
If ActiveCell.Text = "North" Then
ActiveCell.ClearContents
End If
ActiveCell.Offset(-1, 0).Select
If ActiveCell.Locked Then
ActiveCell.Offset(1, 0).Select
MsgBox ("You cannot move in that direction")
End If
Case "East"
If ActiveCell.Text = "East" Then
ActiveCell.ClearContents
End If
ActiveCell.Offset(0, 1).Select
If ActiveCell.Locked Then
ActiveCell.Offset(0, -1).Select
MsgBox ("You cannot move in that direction")
End If
Case "South"
If ActiveCell.Text = "South" Then
ActiveCell.ClearContents
End If
ActiveCell.Offset(1, 0).Select
If ActiveCell.Locked Then
ActiveCell.Offset(-1, 0).Select
MsgBox ("You cannot move in that direction")
End If
Case "West"
If ActiveCell.Text = "West" Then
ActiveCell.ClearContents
End If
ActiveCell.Offset(0, -1).Select
If ActiveCell.Locked Then
ActiveCell.Offset(0, 1).Select
MsgBox ("You cannot move in that direction")
End If
Case Else
MsgBox ("You need to select a cell")
End Select
End Sub
-------------------------------------------
Now, granted this is a microsoft Excel VBA Formula but learning VBA will prepare you for VB 6 (C++ programing.)
OrngePlasticTree
11-25-2003, 08:10 PM
thats not c++
crowdeath
11-25-2003, 08:55 PM
No, but it's good training to prepare C++
OrngePlasticTree
11-26-2003, 12:47 AM
o... c++ is our training in college. thats the intro course.. then you move to object oriented programming... java (its a bitch aint it glenn!) and whatnot
kelpel
11-26-2003, 01:00 AM
computer programming... comp science major. im in c++ II now
Aarghhh!!!
Sorry. Flashback to C++ class I took in college. I did so well, that...
Well, I had no fucking clue that's what your initial post was. That's how well I did.
*head hurts thinking about it*
OrngePlasticTree
11-26-2003, 02:33 AM
haha!!! i have no idea what it is either. i know it involves pointers and nodes.... that was the answer that the teacher handed us.
xxplicitgrooves
11-26-2003, 06:49 AM
thats not c++
C--
kelpel
11-26-2003, 02:30 PM
haha!!! i have no idea what it is either. i know it involves pointers and nodes.... that was the answer that the teacher handed us.
Good luck to ya.
OrngePlasticTree
11-26-2003, 05:45 PM
riight... mike if im lucky thatll be my grade for the semester.
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.