Funny Programming Declarations

Windows i7 920

New member
Pro User
Local time
12:46 AM
Messages
544

My Computer

Computer Manufacturer/Model Number
iBuyPower Chimera X58
OS
Windows 8 Pro x64
CPU
Intel Core i7 920
Motherboard
Asus P6T Deluxe V2
Memory
12GB (2GB x6) Triple Channel DDR3 1333 MHz
Graphics Card(s)
ATI Radeon HD 4870 X2 2GB GDDR5
Sound Card
Integrated Digital HD 7.1 Surround Sound
Monitor(s) Displays
24.6-inch ASUS VW246H 20000:1 Contrast, 2 ms response time,
Screen Resolution
1920x1080
Hard Drives
1 TB 7200 RPM SATA II 3 GBps 16MB cache
PSU
NZXT 800W Gaming Series
Case
Guardian Inferno (Custom Painted NZXT Guardian 921)
Cooling
Thermaltake V1 Fan Cooling System OC Proof
Keyboard
Razer Lycosa
Mouse
iBuyPower Ergonomical Internet Mouse
Internet Speed
11 MBps High-speed Cable
Lol, I did something like the

women()
{
goto bathroom;
bathroom:
while (1) ;
}

in some coursework last year at University. Had to write a C program that demonstrated concurrency between multiple threads. The problem was a bathroom problem. The threads (people) would join a queue. These would be set to men and women. Women had priority and as many women at once could enter the bathroom, but only one male would enter at any one time, so the bathroom would fill up with women at some point, and I just put a semaphore block down and then put an inifite loop as a joke to say the men are gonna be waiting a while, lol.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 8.1 Pro x64
CPU
Intel Core i7 4790k
Motherboard
MSI Z97S Krait Edition
Memory
8GB Corsair Dominator 1600MHz
Graphics Card(s)
MSI TwinFrozr GeForce GTX770
Sound Card
ASUS Xonar DX/XD 7.1
Monitor(s) Displays
Dell 24" S2409W + Dell 20" E207WFP
Screen Resolution
1920x1080 + 1680x1050
Hard Drives
1x 120GB OCZ Agility 3, 1x 750GB Western Digital Caviar Black, 1x 1TB Western Digital Caviar Blue
PSU
Corsair HX850 modular
Case
Fractal Design Define R4
Cooling
Corsair H60 w/ twin Corsair SP120 fans
Keyboard
Logitech G510S Keyboard
Mouse
Logitech G500S Laser Mouse
Internet Speed
40Mbps
Antivirus
Microsoft Security Essentials
Browser
Google Chrome
Other Info
LG Blu-Ray player
Back
Top