• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:02
CEST 18:02
KST 01:02
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
BGE Stara Zagora 2025: Info & Preview25Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL46Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
[BSL20] ProLeague: Bracket Stage & Dates6GSL Ro4 and Finals moved to Sunday June 15th12Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26Code S RO12 Results + RO8 Groups (2025 Season 2)3
StarCraft 2
General
Magnus Carlsen and Fabi review Clem's chess game. The SCII GOAT: A statistical Evaluation BGE Stara Zagora 2025: Info & Preview Jim claims he and Firefly were involved in match-fixing GSL Ro4 and Finals moved to Sunday June 15th
Tourneys
Bellum Gens Elite: Stara Zagora 2025 SOOPer7s Showmatches 2025 Cheeseadelphia 2025 - Open Bracket LAN! $25,000+ WardiTV 2025 Series Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void
Brood War
General
BW General Discussion Will foreigners ever be able to challenge Koreans? BGH auto balance -> http://bghmmr.eu/ [BSL20] ProLeague: Bracket Stage & Dates I made an ASL quiz
Tourneys
[Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - Day 2 [BSL20] ProLeague Bracket Stage - Day 1 [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Mechabellum Monster Hunter Wilds
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Heroes of the Storm 2.0 Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard
TL Community
The Automated Ban List
Blogs
Cognitive styles x game perf…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Poker
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 18608 users

All the things I code

Blogs > Phrost
Post a Reply
Phrost
Profile Blog Joined May 2010
United States4008 Posts
Last Edited: 2011-02-22 00:18:53
February 22 2011 00:17 GMT
#1
I was doing a programming test tonight and the song "All the things she said" by Tatu came on and this is all I could think of:





The assignment involves a portion of code written by the teacher and specific functions and lines that are necessary for us to fill in to get the program to run. Many times i find myself frustrated because his code makes no sense.



"All The Things I Code"

All the things I code
All the things I code
Running through my head
Running through my head
Running through my head
(Running through my head)

All the things I code
All the things I code
Running through my head
Running through my head
(Running through my head)
This is not my code

I'm in serious shit, I feel totally lost
If I'm asking for help it's only because
Reading you has destroyed my mind
Could I ever believe such a stupid error?

I keep asking myself, wondering how
I keep closing my eyes but I can't comment you out
Wanna fly to a place where there’s my code and me
Nobody else’s code so I can code free
Nobody else’s code so I can code free

All the things I code
All the things I code
Running through my head
Running through my head
Running through my head
(Running through my head)
All the things I code
All the things I code
Running through my head
Running through my head
All the things I code
All the things I code
(All the things she said)
This is not my code
This is not my code
All the things I code
All the things I code

And I'm all mixed up, feeling cornered and rushed
They say it's my fault but I write so much
Wanna program away where the 1’s and 0’s
Stream past my face, wash away all the bugs
When they stop and stare - don't worry about me
'Cause my feeling for programming is better than his,
I can try to pretend, I can try to stop
But it's driving me mad, going out of my head

All the things I code
All the things I code
Running through my head
Running through my head
Running through my head
All the things I code
All the things I code
Running through my head
Running through my head
All the things I code
All the things I code
This is not my code
This is not my code
All the things I code
All the things I code
All the things I code
All the things I code
All the things I code
All the things I code
All the things I code
All the things I code, I code
All the things I code
All the things I code

Teacher looking at me
Tell me what do you see?
Yes, I've lost my mind

Friend looking at me
Will I ever be free?
Have I crossed the line?

All the things I code
All the things I code
Running through my head
Running through my head
Running through my head
All the things I code
All the things I code
Running through my head
Running through my head
All the things I code
All the things I code
This is not my code
This is not my code
All the things I code
All the things I code
All the things I code
All the things I code
All the things I code
All the things I code


**
iamphrost.tumblr.com // http://howtobebettermagicplayer.tumblr.com // twitter @phrost_
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
February 22 2011 00:23 GMT
#2
you should not write out the refrain all the time, makes it really hard to read..
Gold isn't everything in life... you need wood, too!
Spazer
Profile Blog Joined March 2009
Canada8029 Posts
February 22 2011 00:24 GMT
#3
for (int i=0; i<40; i++) cout << "All the things I code" << endl;
Liquipedia
bITt.mAN
Profile Blog Joined March 2009
Switzerland3693 Posts
February 22 2011 00:41 GMT
#4
While I (rudimentarily) understand the code above, it can't match mah L33t TI-84 BASIC:


:Lbl 1
:Disp "All the things
:Disp "I code
:Disp "
Goto 1

or

:While 1
:Disp "All the things
:Disp "I code
:Disp "
:End


If people want, I can write a program to spell out all the letters at random locations on the 16x8 calculator screen :D
BW4LYF . . . . . . PM me, I LOVE PMs. . . . . . Long live "NaDa's Body" . . . . . . Fantasy | Bisu/Best | Jaedong . . . . .
D4L[invd]
Profile Blog Joined May 2009
Canada110 Posts
Last Edited: 2011-02-22 02:01:44
February 22 2011 02:01 GMT
#5
On February 22 2011 09:24 Spazer wrote:
for (int i=0; i<40; ++i) std::cout << "All the things I code" << std::endl;


fixed for you :D get with the times!
Your average D Protoss that can't get out of D because it is full of Protoss and my PvP sucks.
b3h47pte
Profile Blog Joined May 2007
United States1317 Posts
February 22 2011 02:56 GMT
#6
On February 22 2011 11:01 D4L[invd] wrote:
Show nested quote +
On February 22 2011 09:24 Spazer wrote:
for (int i=0; i<40; ++i) std::cout << "All the things I code" << std::endl;


fixed for you :D get with the times!


Lol wut.
using namespace std;

:x
Phrost
Profile Blog Joined May 2010
United States4008 Posts
Last Edited: 2011-02-22 03:46:34
February 22 2011 03:45 GMT
#7
On February 22 2011 11:56 b3h47pte wrote:
Show nested quote +
On February 22 2011 11:01 D4L[invd] wrote:
On February 22 2011 09:24 Spazer wrote:
for (int i=0; i<40; ++i) std::cout << "All the things I code" << std::endl;


fixed for you :D get with the times!


Lol wut.
using namespace std;

:x


supposedly using namespace std; is bad or something.


I use it because i can....


But today i had to program blackjack and nested while loops were making my brain hurt.

also if you want to be super cute you can use \n instead of endl
iamphrost.tumblr.com // http://howtobebettermagicplayer.tumblr.com // twitter @phrost_
D4L[invd]
Profile Blog Joined May 2009
Canada110 Posts
February 22 2011 04:38 GMT
#8
On February 22 2011 12:45 Phrost wrote:
Show nested quote +
On February 22 2011 11:56 b3h47pte wrote:
On February 22 2011 11:01 D4L[invd] wrote:
On February 22 2011 09:24 Spazer wrote:
for (int i=0; i<40; ++i) std::cout << "All the things I code" << std::endl;


fixed for you :D get with the times!


Lol wut.
using namespace std;

:x


supposedly using namespace std; is bad or something.


I use it because i can....


But today i had to program blackjack and nested while loops were making my brain hurt.

also if you want to be super cute you can use \n instead of endl


Actually good point; should've used \n because you ended with quotes, it would've been better style. Also, using using namespace std; is preferred because when you use using namespace std;, you import all the names like cout and endl. This takes unnecessary time and space; it's unnecessary since you rarely need all of it.
While this may not matter with just one file since these days, computers are fast enough; alot of programs contain many files and if each of them have using namespace std;, it gets laggy.
Also, when you use using namespace std;, there will be alot of variable names that become unavailable. such as "count".
Finally, and most largely, you have to use the resolution scope operator (: when you decide to make your own class or add to a standard class. for example, you want to make your own string class.

class string {
...
}

Later when you declare a string variable with

string myString;

If you have used using namespace std; at the top, it will most likely cause a compiler error because the program does not know which string you are talking about. In general, using the resolution scope operator is alot safer.

If you must be lazy , A better way to use using namespace std is to just do things like

using std::cout;
using std::endl;

this solves all the problems above and all you have to do is add the line at the top and you can use it as a shortcut.
Your average D Protoss that can't get out of D because it is full of Protoss and my PvP sucks.
Phrost
Profile Blog Joined May 2010
United States4008 Posts
February 22 2011 14:56 GMT
#9
On February 22 2011 13:38 D4L[invd] wrote:
Show nested quote +
On February 22 2011 12:45 Phrost wrote:
On February 22 2011 11:56 b3h47pte wrote:
On February 22 2011 11:01 D4L[invd] wrote:
On February 22 2011 09:24 Spazer wrote:
for (int i=0; i<40; ++i) std::cout << "All the things I code" << std::endl;


fixed for you :D get with the times!


Lol wut.
using namespace std;

:x


supposedly using namespace std; is bad or something.


I use it because i can....


But today i had to program blackjack and nested while loops were making my brain hurt.

also if you want to be super cute you can use \n instead of endl


Actually good point; should've used \n because you ended with quotes, it would've been better style. Also, using using namespace std; is preferred because when you use using namespace std;, you import all the names like cout and endl. This takes unnecessary time and space; it's unnecessary since you rarely need all of it.
While this may not matter with just one file since these days, computers are fast enough; alot of programs contain many files and if each of them have using namespace std;, it gets laggy.
Also, when you use using namespace std;, there will be alot of variable names that become unavailable. such as "count".
Finally, and most largely, you have to use the resolution scope operator (: when you decide to make your own class or add to a standard class. for example, you want to make your own string class.

class string {
...
}

Later when you declare a string variable with

string myString;

If you have used using namespace std; at the top, it will most likely cause a compiler error because the program does not know which string you are talking about. In general, using the resolution scope operator is alot safer.

If you must be lazy , A better way to use using namespace std is to just do things like

using std::cout;
using std::endl;

this solves all the problems above and all you have to do is add the line at the top and you can use it as a shortcut.



Or you could just continue using namespace std and not choose extremely generic class or variable names lol.
iamphrost.tumblr.com // http://howtobebettermagicplayer.tumblr.com // twitter @phrost_
Please log in or register to reply.
Live Events Refresh
Bellum Gens Elite
10:00
Stara Zagora 2025 Day 3
Reynor vs ClemLIVE!
ShoWTimE vs Ryung
SKillous vs Lambo
Bellum Gens Elite4336
ComeBackTV 1657
IndyStarCraft 363
3DClanTV 241
Rex234
CosmosSc2 197
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Bellum Gens Elite4336
IndyStarCraft 363
Hui .351
Rex 234
CosmosSc2 197
StarCraft: Brood War
Britney 39009
Shuttle 3171
EffOrt 1518
Hyuk 883
Mini 741
Jaedong 660
BeSt 586
ZerO 506
Stork 391
firebathero 225
[ Show more ]
Snow 141
TY 83
JYJ71
[sc1f]eonzerg 69
sSak 53
Sea.KH 49
Barracks 43
sorry 37
Yoon 32
soO 27
Terrorterran 20
zelot 16
GoRush 14
ajuk12(nOOB) 9
Noble 8
Dota 2
XcaliburYe664
syndereN579
Counter-Strike
fl0m5382
olofmeister2583
pashabiceps500
flusha229
Foxcn192
Super Smash Bros
Mew2King103
Other Games
singsing2378
FrodaN1807
Beastyqt643
crisheroes451
Lowko294
ArmadaUGS156
Liquid`VortiX117
Trikslyr67
QueenE56
ZerO(Twitch)18
KnowMe7
Organizations
Dota 2
PGL Dota 2 - Main Stream8891
PGL Dota 2 - Secondary Stream401
Other Games
BasetradeTV42
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• poizon28 26
• Kozan
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 13
• Michael_bg 6
• FirePhoenix3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis3819
• Jankos2240
• TFBlade1260
Upcoming Events
BSL 2v2 ProLeague
2h 58m
Replay Cast
7h 58m
CranKy Ducklings
17h 58m
SC Evo League
19h 58m
Bellum Gens Elite
20h 28m
Fire Grow Cup
22h 58m
CSO Contender
1d
BSL: ProLeague
1d 1h
StRyKeR vs MadiNho
Cross vs UltrA
TT1 vs JDConan
Bonyth vs Sziky
Replay Cast
1d 7h
SOOP Global
1d 10h
Creator vs Rogue
Cure vs Classic
[ Show More ]
SOOP
1d 16h
Classic vs GuMiho
Sparkling Tuna Cup
1d 17h
AllThingsProtoss
1d 18h
Fire Grow Cup
1d 22h
BSL: ProLeague
2 days
HBO vs Doodle
spx vs Tech
DragOn vs Hawk
Dewalt vs TerrOr
Replay Cast
2 days
Replay Cast
3 days
Replay Cast
3 days
WardiTV Invitational
3 days
WardiTV Invitational
3 days
GSL Code S
4 days
Rogue vs GuMiho
Maru vs Solar
Replay Cast
5 days
GSL Code S
5 days
herO vs TBD
Classic vs TBD
The PondCast
5 days
Replay Cast
6 days
GSL Code S
6 days
WardiTV Invitational
6 days
Liquipedia Results

Completed

CSL Season 17: Qualifier 1
DreamHack Dallas 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 2
2025 GSL S2
BGE Stara Zagora 2025
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.