• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:37
CEST 08:37
KST 15:37
  • 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
HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6Code S RO8 Preview: herO, Zoun, Bunny, Classic7
Community News
Weekly Cups (June 23-29): Reynor in world title form?6FEL Cracov 2025 (July 27) - $8000 live event13Esports World Cup 2025 - Final Player Roster14Weekly Cups (June 16-22): Clem strikes back1Weekly Cups (June 9-15): herO doubles on GSL week4
StarCraft 2
General
StarCraft Mass Recall: SC1 campaigns on SC2 thread The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
HomeStory Cup 27 (June 27-29) WardiTV Mondays SOOPer7s Showmatches 2025 FEL Cracov 2025 (July 27) - $8000 live event $200 Biweekly - StarCraft Evolution League #1
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers [G] Darkgrid Layout
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest ASL20 Preliminary Maps Unit and Spell Similarities
Tourneys
[BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [Megathread] Daily Proleagues [BSL20] ProLeague LB Final - Saturday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Effective Commercial Building Cost Assessment Tips Trading/Investing Thread US Politics Mega-thread Stop Killing Games - European Citizens Initiative Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 567 users

The Big Programming Thread - Page 610

Forum Index > General Forum
Post a Reply
Prev 1 608 609 610 611 612 1031 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
Spain17966 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
Poland17241 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
Poland17241 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 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 4h 23m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft410
mcanning 147
StarCraft: Brood War
Larva 653
TY 485
Noble 12
Hm[arnc] 4
Bale 3
Britney 0
Dota 2
febbydoto37
League of Legends
JimRising 641
Counter-Strike
summit1g7775
Stewie2K832
Other Games
shahzam1030
KnowMe144
NeuroSwarm55
Mew2King41
Organizations
Other Games
gamesdonequick832
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1589
• Stunt544
Upcoming Events
Wardi Open
4h 23m
PiGosaur Monday
17h 23m
The PondCast
1d 3h
Replay Cast
1d 17h
RSL Revival
2 days
ByuN vs Classic
Clem vs Cham
WardiTV European League
2 days
Replay Cast
2 days
RSL Revival
3 days
herO vs SHIN
Reynor vs Cure
WardiTV European League
3 days
FEL
3 days
[ Show More ]
Korean StarCraft League
3 days
CranKy Ducklings
4 days
RSL Revival
4 days
FEL
4 days
Sparkling Tuna Cup
5 days
RSL Revival
5 days
FEL
5 days
BSL: ProLeague
5 days
Dewalt vs Bonyth
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
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.