• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 05:40
CEST 11:40
KST 18:40
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou16Weekly Cups (Oct 13-19): Clem Goes for Four0BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (March 17-23): Clem Bounces Back DreamHack Open 2013 revealed The New Patch Killed Mech!
Tourneys
$1,200 WardiTV October (Oct 21st-31st) SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
Is there anyway to get a private coach? BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BSL Season 21 OGN to release AI-upscaled StarLeague from Feb 24
Tourneys
300$ 3D!Community Brood War Super Cup #4 [ASL20] Semifinal B Azhi's Colosseum - Anonymous Tournament [Megathread] Daily Proleagues
Strategy
Current Meta Roaring Currents ASL final [I] Funny Protoss Builds/Strategies BW - ajfirecracker Strategy & Training
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine The Chess Thread Russo-Ukrainian War Thread Men's Fashion Thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Series you have seen recently... [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1084 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
Spain18095 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
Poland17389 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
Poland17389 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 20m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
OGKoka 205
SortOf 168
mcanning 63
StarCraft: Brood War
hero 1802
Flash 732
firebathero 417
GuemChi 359
Killer 339
Leta 259
Mini 188
Hyun 182
PianO 142
Soma 126
[ Show more ]
ZerO 107
ToSsGirL 76
Aegong 29
Free 25
Sacsri 15
Sharp 15
Rush 7
Bale 5
Mong 1
Dota 2
XaKoH 401
XcaliburYe169
canceldota73
League of Legends
JimRising 578
Counter-Strike
olofmeister1468
shoxiejesuss770
Stewie2K299
Other Games
summit1g7647
singsing798
ceh9571
B2W.Neo380
Hui .150
Mew2King56
Trikslyr13
ZerO(Twitch)6
Organizations
Other Games
gamesdonequick612
Counter-Strike
PGL270
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• LUISG 30
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• iopq 0
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV507
League of Legends
• Jankos1812
• Lourlo755
Upcoming Events
Replay Cast
20m
OSC
6h 20m
Tenacious Turtle Tussle
13h 20m
The PondCast
1d
OSC
1d 2h
WardiTV Invitational
2 days
Online Event
2 days
RSL Revival
2 days
RSL Revival
3 days
WardiTV Invitational
3 days
[ Show More ]
Afreeca Starleague
3 days
Snow vs Soma
Sparkling Tuna Cup
4 days
WardiTV Invitational
4 days
CrankTV Team League
4 days
RSL Revival
4 days
Wardi Open
5 days
CrankTV Team League
5 days
Replay Cast
6 days
WardiTV Invitational
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
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.