• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:30
CEST 07:30
KST 14:30
  • 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
[ASL22] Ro16 Preview: Holy Diver4[ASL22] Ro16 Preview: Rough Waters10[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9Serral wins HomeStory Cup 2915
Community News
StarCraft open world shooter announced at BlizzCon84Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism10Official StarCraft website teases new content ahead of BlizzCon?174Stellar Fest TWO the Moon (Dec 16-20)9Weekly Cups (August 24-30): Patches' balance mod takes over3
StarCraft 2
General
How do you feel about the StarCraft shooter announcement at BlizzCon 2026? StarCraft open world shooter announced at BlizzCon Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Balance hotfix patch 5.0.16b (July 16) Team Liquid Map Contest #22: Results and Winners
Tourneys
RSL Revival: Season 6 - Qualifiers and Main Event SC2 AI Tournament 2026 Fall RSL goes to London! 2026 Offline Finals Nov 21-22 Sparkling Tuna Cup - Weekly Open Tournament KSL Week #92
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 543 Enhanced Defenses The PondCast: SC2 News & Results Mutation # 542 The Ascended Mutation # 541 Binary Choice
Brood War
General
[D] Brainstorming a balance patch for Brood war [ASL22] Ro16 Preview: Holy Diver BGH Auto Balance -> http://bghmmr.eu/ Official StarCraft website teases new content ahead of BlizzCon? ASL22 General Discussion
Tourneys
[ASL22] Ro16 Group C [ASL22] Ro16 Group B [ASL22] Ro16 Group A Escore Tournament - Season 3
Strategy
Replay Review Process - What do you do? Simple Questions, Simple Answers Odyssey Mineral Stack Saturation Game Theory for Starcraft
Other Games
General Games
Diablo IV Nintendo Switch Thread EVE Corporation [Maplestory Hardcore] Let's Play~!! General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread UK Politics Mega-thread Things Aren’t Peaceful in Palestine Trading/Investing Thread
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Diablo Animated Series on Netflix
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Virtual Romance, Real-Life C…
TrAiDoS
Regacy Esports:Our Goa…
regacyesports
Dreaming of BW patches (mod…
c3rberUs
LOCKPICKING NOOB
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 4343 users

The Big Programming Thread - Page 610

Forum Index > General Forum
Post a Reply
Prev 1 608 609 610 611 612 1032 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
Acrofales
Profile Joined August 2010
Spain18438 Posts
March 31 2015 17:35 GMT
#12181
On March 31 2015 20:43 iNsaNe- wrote:
Show nested quote +
On March 30 2015 22:26 Acrofales wrote:
Honestly, if you have no clue where to start when programming A*, you probably should be staying far away from studying CS...

1. As algorithms go, A* is a simple one. If you don't understand it, CS is not for you.
2. There are literally thousands of explanations of it, pseudocode implementations, and actual implementations in any programming language you can imagine. If you don't know how to find them, CS is not for you (or well, any other study, because some healthy dose of Google knowledge is necessary for most stuff nowadays)


Probably around 80-90 percent of the students that started studying CS in the university I went to (and later taught in basic programming courses) didn't have any prior background on programming. Should they just quit right away?

If that's a normal level assignment to implement the algorithm with Java and you have no idea where to start it's not a good sign, but it doesn't mean that you couldn't learn if you put enough effort to it or learn how to learn. Telling someone they should stay away from the field because they don't know how to solve that problem is ridiculous.

If someone is being asked to program A*, I don't think they are doing "Intro to Progamming 101". It might be "Algorithms 101", but if there is an assignment to program A* in Java, there is a fair amount of prior knowledge, and you don't just get dropped in there with none of it.

And as I said, I may have been a bit harsh.
Manit0u
Profile Blog Joined August 2004
Poland17843 Posts
April 02 2015 18:36 GMT
#12182
I was wondering... If anyone familiar with front-end development here would be willing to do some charity work and help me out it would be great.

I'm helping a friend and set up a simple web page for him, but my css-fu is pretty weak this days. Long story short - small project for fun. If you'd like to take part in it then please do contact me and we can talk

Site in question: http://ec2015.pl/

I'm planning on adding some custom-built CMS to it when I have some free time, if anyone would like to practice their PHP back-end we can talk about that too
Time is precious. Waste it wisely.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
April 05 2015 04:22 GMT
#12183
I'd be down to help Manitou :p

Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o:
There is no one like you in the universe.
Biolunar
Profile Joined February 2012
Germany224 Posts
April 06 2015 21:43 GMT
#12184
On April 05 2015 13:22 Blisse wrote:
I'd be down to help Manitou :p

Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o:

If you want easy and fast developement, use GLFW. If you want your application to run on a toaster, use SDL.
No I am serious. Since you obviously use C++, use a proper C++ lib like GLFW and not a C lib like SDL.
What is best? To crush the Zerg, see them driven before you, and hear the lamentations of the Protoss.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
April 06 2015 22:34 GMT
#12185
Damn it C++, why make inheritance private for classes (I know structs are public). I forgot that and was wondering why a unique_ptr<Base> didn't accept an object of derived class.
Manit0u
Profile Blog Joined August 2004
Poland17843 Posts
April 07 2015 09:16 GMT
#12186
On April 05 2015 13:22 Blisse wrote:
I'd be down to help Manitou :p


You want the front (html/less/js) or the back (php/symfony2) end?
Time is precious. Waste it wisely.
Gotard
Profile Joined December 2010
Poland446 Posts
April 07 2015 11:03 GMT
#12187
On April 05 2015 13:22 Blisse wrote:
I'd be down to help Manitou :p

Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o:


I've never used GLFW but I can recommend SDL. It's super easy to use and has a lot of useful features.

If you want to create a game I would recommend Unity or UE4.
"who needs girls when u can play as a protoss or riki" Fen1kz 2013
netherh
Profile Blog Joined November 2011
United Kingdom333 Posts
Last Edited: 2015-04-07 11:43:23
April 07 2015 11:39 GMT
#12188
On April 07 2015 06:43 Biolunar wrote:
Show nested quote +
On April 05 2015 13:22 Blisse wrote:
I'd be down to help Manitou :p

Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o:

If you want easy and fast developement, use GLFW. If you want your application to run on a toaster, use SDL.
No I am serious. Since you obviously use C++, use a proper C++ lib like GLFW and not a C lib like SDL.


Do you mean SFML? GLFW is a C library too.
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
April 07 2015 12:15 GMT
#12189
On April 07 2015 20:03 Gotard wrote:
Show nested quote +
On April 05 2015 13:22 Blisse wrote:
I'd be down to help Manitou :p

Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o:


I've never used GLFW but I can recommend SDL. It's super easy to use and has a lot of useful features.

If you want to create a game I would recommend Unity or UE4.

ye, you want to make a game go use something like Unity, it will spare you a shit load of time, if you want to make your game from scratch do not expect it to be good at the first try.

The harder it becomes, the more you should focus on the basics.
Rocket-Bear
Profile Joined July 2014
3070 Posts
April 07 2015 12:22 GMT
#12190
Sorry another stupid question but been searching for 2 days now and can't seem to find an answer..

I've been trying to use XHTML strict and can't get id's to work. An example:
CSS

#siteheader {
font-size: 30px;
padding-left: 10px;
padding-top: 10px;
}


XHTML strict

<header id="siteheader">
Test
</header>


What am I missing? idk =/ Been trying to run it through the w3 schools validator and it complains everytime. Been trying different things and googled for ids xhtml strict but can't seem to find an answer..
Favorite players: Gh and Zai
carmon
Profile Joined December 2010
United States220 Posts
Last Edited: 2015-04-07 14:34:19
April 07 2015 14:23 GMT
#12191
On April 07 2015 21:22 Rocket-Bear wrote:
Sorry another stupid question but been searching for 2 days now and can't seem to find an answer..

I've been trying to use XHTML strict and can't get id's to work. An example:
CSS

#siteheader {
font-size: 30px;
padding-left: 10px;
padding-top: 10px;
}


XHTML strict

<header id="siteheader">
Test
</header>


What am I missing? idk =/ Been trying to run it through the w3 schools validator and it complains everytime. Been trying different things and googled for ids xhtml strict but can't seem to find an answer..


Did you declare the doctype?
Also id might need to be ID in xhtml
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
April 07 2015 14:42 GMT
#12192
Has anyone read the Effective C++ book for C++11/14 (Modern C++ or something)? Is it nice? I still have to finish reading More Effective C++ (1995) and More Effective STL before I consider the newest C++ book.
Rocket-Bear
Profile Joined July 2014
3070 Posts
April 07 2015 16:11 GMT
#12193
On April 07 2015 23:23 carmon wrote:
Show nested quote +
On April 07 2015 21:22 Rocket-Bear wrote:
Sorry another stupid question but been searching for 2 days now and can't seem to find an answer..

I've been trying to use XHTML strict and can't get id's to work. An example:
CSS

#siteheader {
font-size: 30px;
padding-left: 10px;
padding-top: 10px;
}


XHTML strict

<header id="siteheader">
Test
</header>


What am I missing? idk =/ Been trying to run it through the w3 schools validator and it complains everytime. Been trying different things and googled for ids xhtml strict but can't seem to find an answer..


Did you declare the doctype?
Also id might need to be ID in xhtml


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sv" lang="sv">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

This is how it starts. I also have made sure I have html,head,title and body.

Didn't know ID had to be capitlized though but it still seem to struggle a bit hmm
Favorite players: Gh and Zai
Biolunar
Profile Joined February 2012
Germany224 Posts
April 07 2015 16:14 GMT
#12194
On April 07 2015 20:39 netherh wrote:
Show nested quote +
On April 07 2015 06:43 Biolunar wrote:
On April 05 2015 13:22 Blisse wrote:
I'd be down to help Manitou :p

Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o:

If you want easy and fast developement, use GLFW. If you want your application to run on a toaster, use SDL.
No I am serious. Since you obviously use C++, use a proper C++ lib like GLFW and not a C lib like SDL.


Do you mean SFML? GLFW is a C library too.

Holy shit yeah lol. My brain must have shut down for a moment, sorry!
What is best? To crush the Zerg, see them driven before you, and hear the lamentations of the Protoss.
berated-
Profile Blog Joined February 2007
United States1134 Posts
April 08 2015 01:32 GMT
#12195
On April 08 2015 01:11 Rocket-Bear wrote:
Show nested quote +
On April 07 2015 23:23 carmon wrote:
On April 07 2015 21:22 Rocket-Bear wrote:
Sorry another stupid question but been searching for 2 days now and can't seem to find an answer..

I've been trying to use XHTML strict and can't get id's to work. An example:
CSS

#siteheader {
font-size: 30px;
padding-left: 10px;
padding-top: 10px;
}


XHTML strict

<header id="siteheader">
Test
</header>


What am I missing? idk =/ Been trying to run it through the w3 schools validator and it complains everytime. Been trying different things and googled for ids xhtml strict but can't seem to find an answer..


Did you declare the doctype?
Also id might need to be ID in xhtml


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sv" lang="sv">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

This is how it starts. I also have made sure I have html,head,title and body.

Didn't know ID had to be capitlized though but it still seem to struggle a bit hmm


id doesn't have to be capatilize. XHTML strict doesn't have the new html 5 tags like header. If you want to use the header tag use html5
WolfintheSheep
Profile Joined June 2011
Canada14127 Posts
April 08 2015 02:16 GMT
#12196
As an aside... doing something like <header id="siteheader"> seems rather redundant/silly. If it's the site header/masthead/whatever you want to call it, there's only going to be one per page, so you don't really need a separate ID for it.

If it's for an article or something, you're assumedly going to have a <article>, <footer>, etc. with it, and it'd be much better to stick them all in a single <div> with an ID than giving each tag a separate ID like "articleheader" and "footerheader".
Average means I'm better than half of you.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
April 08 2015 18:12 GMT
#12197
On April 07 2015 23:42 darkness wrote:
Has anyone read the Effective C++ book for C++11/14 (Modern C++ or something)? Is it nice? I still have to finish reading More Effective C++ (1995) and More Effective STL before I consider the newest C++ book.


Is there really nobody who has been reading this book? I'm disappointed. nunez, have you, at least?
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2015-04-08 21:56:55
April 08 2015 20:44 GMT
#12198
I don't read books. Books read me.

On April 07 2015 18:16 Manit0u wrote:
Show nested quote +
On April 05 2015 13:22 Blisse wrote:
I'd be down to help Manitou :p


You want the front (html/less/js) or the back (php/symfony2) end?


Sorry I didn't see this, front-end would be better for me. :o



On April 07 2015 20:03 Gotard wrote:
Show nested quote +
On April 05 2015 13:22 Blisse wrote:
I'd be down to help Manitou :p

Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o:


I've never used GLFW but I can recommend SDL. It's super easy to use and has a lot of useful features.

If you want to create a game I would recommend Unity or UE4.


Not making a game, I just need to build some way of visualizing some inputs and outputs for a project, basically drawing a bunch of points/lines/faces
There is no one like you in the universe.
Cyx.
Profile Joined November 2010
Canada806 Posts
April 08 2015 21:49 GMT
#12199
On April 09 2015 03:12 darkness wrote:
Show nested quote +
On April 07 2015 23:42 darkness wrote:
Has anyone read the Effective C++ book for C++11/14 (Modern C++ or something)? Is it nice? I still have to finish reading More Effective C++ (1995) and More Effective STL before I consider the newest C++ book.


Is there really nobody who has been reading this book? I'm disappointed. nunez, have you, at least?

I've heard good things about it but I haven't had the chance to read it yet, working on getting around to it sometime in the next couple months
bardtown
Profile Joined June 2011
England2313 Posts
April 08 2015 23:04 GMT
#12200
At the moment I do a little bit of C++/Python programming and I think I have potential. I'm pretty good at understanding complicated structures etc, but I am aware that my programming is just functional and I don't really understand what is going on at a very fundamental level. That's pretty disconcerting for me. Even things that should be really basic, like pointers, I'm not comfortable with because I don't know how/why/when they are efficient. Does anybody have a book recommendation that builds up from technical fundamentals? Maybe a computer science textbook is what I need, but I'd prefer something a bit more readable. It doesn't need to be a comprehensive book, obviously I can research things in more detail, but it needs to give me a sense of structure.
Prev 1 608 609 610 611 612 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 4h 31m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 182
ProTech152
Nina 84
StarCraft: Brood War
GuemChi 2056
Hyuk 339
Bale 160
Aegong 33
Noble 14
Icarus 7
League of Legends
JimRising 678
Other Games
summit1g15747
Maynarde143
Mew2King49
Organizations
Other Games
gamesdonequick1217
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH337
• practicex 27
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota278
League of Legends
• Lourlo1450
• Stunt277
Upcoming Events
Afreeca Starleague
4h 31m
Light vs JyJ
Soulkey vs hero
WardiTV Weekly
5h 31m
Monday Night Weeklies
10h 31m
Afreeca Starleague
1d 4h
Snow vs Shinee
Shine vs EffOrt
GSL
1d 5h
PiGosaur Cup
1d 18h
The PondCast
2 days
Kung Fu Cup
2 days
Replay Cast
2 days
KCM Race Survival
3 days
[ Show More ]
IntoTheTV X SOOP
3 days
Replay Cast
3 days
IntoTheTV X SOOP
4 days
Replay Cast
4 days
GSL
5 days
Replay Cast
5 days
GSL
6 days
Shopify Rebellion Sundays
6 days
Spirit vs Mixu
Replay Cast
6 days
Liquipedia Results

Completed

Blizzard Classic Cup 2026
Blizzard Classic Cup 2026
Big Dog Cup 2026 Div 1

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
Calamity Invitational
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026

Upcoming

Acropolis #5 - GSA
Acropolis #5 - GSB
Acropolis #5 - GSC
SC4ALL II: Brood War
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
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 © 2026 TLnet. All Rights Reserved.