• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:47
CEST 01:47
KST 08:47
  • 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
Code S Season 1 - RO8 Preview4[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10
Community News
Maestros of The Game 2 announcement and schedule !7Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
Maestros of The Game 2 announcement and schedule ! GSL Code S Season 1 (2026) Sea Duckling Open (Global, Bronze-Diamond) RSL Revival: Season 5 - Qualifiers and Main Event Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
Quality of life changes in BW that you will like ? Tulbo's ASL S21 Ro8 Post-Review Why there arent any 256x256 pro maps? Do we have a pimpest plays list? BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 2 [ASL21] Ro8 Day 4 Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Daigo vs Menard Best of 10 Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread OutLive 25 (RTS Game)
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread UK Politics Mega-thread European Politico-economics QA Mega-thread The Letting Off Steam Thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1527 users

The Big Programming Thread - Page 526

Forum Index > General Forum
Post a Reply
Prev 1 524 525 526 527 528 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.
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
Last Edited: 2014-10-03 17:27:51
October 03 2014 17:17 GMT
#10501
Javascript/JQuery question:

Using the following code, I'm setting up an auto-refresh on a div. Every 5 seconds, I want it to refresh the content. However, I don't want it to do that forever, so I put a countdown on it. The routeFrame function does the work of setting the div content, but I didn't include it because I don't think it's relevant. If you think it is, I'll show it.
+ Show Spoiler +
<script type="text/javascript">
$(document).ready(function () {
startRefresh(60);

function startRefresh(remaining) {
if (remaining > 0) {
setTimeout(startRefresh, 5000, remaining - 1);
} else {
$('#refreshCount').html("<br />Refresh limit reached. Please refresh page to see further updates");
}
routeFrameToPartialViewWithAnimator("#log", "/Packages/DisplayWorkLogForUserTest/", "/Content/ajax-loader.gif");
}
});
</script>


It works great in Chrome - refreshes every 5 seconds and stops after 5 minutes. But in IE8 it runs once and then stops, and I have no idea why. I put in an alert of the "remaining" variable, and it first shows 60 then it shows 'undefined'. Any ideas?

Edit: Nevermind! I found out that the setTimeout function works differently in IE8. Thought it was a problem with my own code: http://stackoverflow.com/questions/9568248/settimeout-internet-explorer
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
October 03 2014 17:35 GMT
#10502
--- Nuked ---
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
October 03 2014 17:38 GMT
#10503
On October 04 2014 02:35 Nesserev wrote:
Show nested quote +
On October 04 2014 02:17 enigmaticcam wrote:
+ Show Spoiler +
Javascript/JQuery question:

Using the following code, I'm setting up an auto-refresh on a div. Every 5 seconds, I want it to refresh the content. However, I don't want it to do that forever, so I put a countdown on it. The routeFrame function does the work of setting the div content, but I didn't include it because I don't think it's relevant. If you think it is, I'll show it.
+ Show Spoiler +
<script type="text/javascript">
$(document).ready(function () {
startRefresh(60);

function startRefresh(remaining) {
if (remaining > 0) {
setTimeout(startRefresh, 5000, remaining - 1);
} else {
$('#refreshCount').html("<br />Refresh limit reached. Please refresh page to see further updates");
}
routeFrameToPartialViewWithAnimator("#log", "/Packages/DisplayWorkLogForUserTest/", "/Content/ajax-loader.gif");
}
});
</script>


It works great in Chrome - refreshes every 5 seconds and stops after 5 minutes. But in IE8 it runs once and then stops, and I have no idea why. I put in an alert of the "remaining" variable, and it first shows 60 then it shows 'undefined'. Any ideas?

Edit: Nevermind! I found out that the setTimeout function works differently in IE8. Thought it was a problem with my own code: http://stackoverflow.com/questions/9568248/settimeout-internet-explorer

Haha, you thought your code was the problem and not IE8?

What was I thinking?! :D
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2014-10-03 23:42:33
October 03 2014 21:52 GMT
#10504
On October 03 2014 23:25 FFGenerations wrote:
hi guys, can you please have a look at this and tell me why my Wscript.exe stays in task manager when i randomly close the application? I'm trying to figure out where to put this shit to catch whatever error it gets when you randomly close it..... it no longer shows an error message when you randomly close it, but wscript stays running in task manager

+ Show Spoiler +


On Error Resume Next

Do

Do While checkSortBy() = 0

If horizontalNumber = -1 Then

iret = iim1.iimClose
WScript.Quit(iret)

ElseIf checkNextLinkExists() Then

clickLink()
modifyControlValues()

Else

clickPreviousLink()

End If

Loop

extract()

clickPreviousLink()

Loop

objFileSystem.Close
strOutputFile.Close
iret = iim1.iimClose
WScript.Quit(iret)



it started working when i removed
objFileSystem.Close
strOutputFile.Close
.....................

(also i changed a lot , thanks, but it only started working when i removed those lines :p )



anyone know why InStr doesn't seem to pick up a £ sign? :/
this line returns 0

productRatingIndex = InStr(extractionDataProductDesc,"£")



+ Show Spoiler +

nice, i managed to use Split this time to make something easier

extractionDataProductCodeSplit1 = Split(extractionDataProductPromo,"<DD>")
extractionDataProductCodeSplit2 = extractionDataProductCodeSplit1(1)
extractionDataProductCodeSplit3 = Split(extractionDataProductCodeSplit2,"</DD>")
extractionDataProductCodeEdit = extractionDataProductCodeSplit3(0)
msgbox extractionDataProductCodeEdit

this also doesnt need to look for the £ sign (but im still wondering lol)
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
HaRuHi
Profile Blog Joined November 2010
1220 Posts
October 04 2014 13:20 GMT
#10505
c++11 question

string s="Hello";
string::iterator siter=s.begin();

string s1="what";

siter=s.erase(s.begin(),s.begin()+3);


So this erases the first three elements in s, since this could invalidate the iterator "siter" I revalidate it using the
return value.

Now if I try to insert all elements of s1 into s
siter=s.insert(siter,s1.begin(),s1.end());

I assume that this would be a call to insert like under point 7
http://www.cplusplus.com/reference/string/string/insert/

range (7)
template <class InputIterator>
iterator insert (iterator p, InputIterator first, InputIterator last);

Now I haven't written templates yet and so I don't understand the return type. I am not sure,
so, should s.erase(s.begin(),s.begin()+3) return an iterator?
If I try to use the assign operator, gcc4.7.1 say no match and no possible candidates.
Now I read in the fifth edition of the C++ primer on page 344 that the old version of
insert that took an iterator range returns void, this is what I assume happens here.
Does the gcc4.7.1 not support this particular part of the new standard?
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2014-10-04 22:36:40
October 04 2014 22:33 GMT
#10506
I'm still learning C++ but as far as I know, both erase and insert return an iterator in your specific case. They may return something else as well and you may see that from the link you refer to. E.g. s.erase(0, 3) should return std::string with content "lo".
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2014-10-04 23:04:37
October 04 2014 23:02 GMT
#10507
Yo what did you guys do for your Final Year Projects? I have to decide on something pretty fucking soon. I wanted to do a visual novel style game in actionscript/flash using OOP but my personal tutor (whose focus is databases I think) said

1) everyone does some OOP thing as default and its not gonna make me stand out and will be 2nd class stuff (he is the one marking it T_T )
2) if i want to do games then maybe i should be in game dev not SE (lol did i get the right tutor?)
3) what PROBLEM am i solving with this piece of work?

He showed me a list of old projects he had archived things like "database for football manager system", "database for taking meeting minutes and sharing with certain peoples"

At that point I was like, "OK how about I integrate one of these database problem-solving ideas into my game?" (I could come up with something better but the first thing I thought of was the world being dynamic according to what other people have input). he didn't seem to give much input after that, like he just shut down.... idk??

I talked to another lecturer about our meeting and she suggested that by "what problem does it solve" he meant something like "what issues with latency will i have and how to deal with this?". Rather than just meaning a theoretical problem. Which sung well with me.

The other lecturer also said a project doesn't have to be amazingly original to get a good grade, it just has to be well constructed and have a well written/structured report. (this lecturer was the project coordinator but like i said the other guy does the marking for me)

My other idea was to (instead of making a visual novel RPG itself) make an application that allows a user to build a visual novel game by using dropdown/menus and input boxes. Just now having a quick look, someone has done this to great effect already



It still sounds like a pretty challenging thing to try to do myself?

Another random idea I had was for a mobile game where you create and shoot projectiles by drawing on the screen and which is heavily balanced to be competitive vs computer e.g. with projectiles that might speed up or slow down other projectiles, ones which are area of effect, ones which are fast, ones which don't collide with other projectiles and deal damage to opponent face but have opportunity cost etc. This is probably something that has been done to death (I honestly have no idea, i've never played or seen any mobile game in my life apart from a sonic the hedgehog version and Gems)

So yeah officially I have until 10th Oct to come up with a project that will get me 70%++ grade and be interesting to me BUT ALSO SOMETHING THAT IS VIABLE / NOT RETARDEDLY COMPLEX BECAUSE I AM CURRENTLY SHIT AT CODING AND DON'T KNOW WHAT IS VIABLE OR NOT lol.
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
Millitron
Profile Blog Joined August 2010
United States2611 Posts
October 04 2014 23:19 GMT
#10508
On October 05 2014 08:02 FFGenerations wrote:
Yo what did you guys do for your Final Year Projects? I have to decide on something pretty fucking soon. I wanted to do a visual novel style game in actionscript/flash using OOP but my personal tutor (whose focus is databases I think) said

1) everyone does some OOP thing as default and its not gonna make me stand out and will be 2nd class stuff (he is the one marking it T_T )
2) if i want to do games then maybe i should be in game dev not SE (lol did i get the right tutor?)
3) what PROBLEM am i solving with this piece of work?

He showed me a list of old projects he had archived things like "database for football manager system", "database for taking meeting minutes and sharing with certain peoples"

At that point I was like, "OK how about I integrate one of these database problem-solving ideas into my game?" (I could come up with something better but the first thing I thought of was the world being dynamic according to what other people have input). he didn't seem to give much input after that, like he just shut down.... idk??

I talked to another lecturer about our meeting and she suggested that by "what problem does it solve" he meant something like "what issues with latency will i have and how to deal with this?". Rather than just meaning a theoretical problem. Which sung well with me.

The other lecturer also said a project doesn't have to be amazingly original to get a good grade, it just has to be well constructed and have a well written/structured report. (this lecturer was the project coordinator but like i said the other guy does the marking for me)

My other idea was to (instead of making a visual novel RPG itself) make an application that allows a user to build a visual novel game by using dropdown/menus and input boxes. Just now having a quick look, someone has done this to great effect already

https://www.youtube.com/watch?v=hCMdICOwagU#t=246

It still sounds like a pretty challenging thing to try to do myself?

Another random idea I had was for a mobile game where you create and shoot projectiles by drawing on the screen and which is heavily balanced to be competitive vs computer e.g. with projectiles that might speed up or slow down other projectiles, ones which are area of effect, ones which are fast, ones which don't collide with other projectiles and deal damage to opponent face but have opportunity cost etc. This is probably something that has been done to death (I honestly have no idea, i've never played or seen any mobile game in my life apart from a sonic the hedgehog version and Gems)

So yeah officially I have until 10th Oct to come up with a project that will get me 70%++ grade and be interesting to me BUT ALSO SOMETHING THAT IS VIABLE / NOT RETARDEDLY COMPLEX BECAUSE I AM CURRENTLY SHIT AT CODING AND DON'T KNOW WHAT IS VIABLE OR NOT lol.

If you're shit at coding, what are you doing in a software engineering program at your senior year?

Anyways, you seem to like games and your tutor seems to like databases. How about a game about managing some big system? Maybe a country or a business or something.
Who called in the fleet?
WolfintheSheep
Profile Joined June 2011
Canada14127 Posts
October 04 2014 23:23 GMT
#10509
Wait, what kind of program are you completing?

Because if you're in Software Engineering, and you want your final project to be something that's like 90% graphics and UI, then I'd say your tutor has a very legitimate critique in asking you.
Average means I'm better than half of you.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2014-10-04 23:28:02
October 04 2014 23:23 GMT
#10510
My final year project has been a Sudoku game (implemented in Java purely because it's the language I know more, and that's ok for a university student). I think Sudoku could be challenging not as a game itself but as implementing certain things such as: sudoku solver, puzzle validation (I think minimal unique* puzzle has to have at least 17 cells), etc. You don't have to pick Sudoku though, any logic-based puzzle game is fine, especially if it involves lots of algorithms for the sake of demanding lecturers. :D

*unique as in 'having one solution only'

Edit: I think the previous student of my project's supervisor has done a Rush Hour game.
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2014-10-04 23:36:25
October 04 2014 23:33 GMT
#10511
On October 05 2014 08:23 WolfintheSheep wrote:
Wait, what kind of program are you completing?

Because if you're in Software Engineering, and you want your final project to be something that's like 90% graphics and UI, then I'd say your tutor has a very legitimate critique in asking you.


SE
see this is what he said but from my perspective IE WITH VERY LITTLE EXPERIENCE WITH SE (2 years at college where we done very basic application dev and some php AND LITERALLY ZERO MATH) i struggle to see what options i have

i thought "building something in OOP" would be sufficient to begin with but clearly i need to do more.

i do have like 4 months to solidly work on this so i'm quite capable of going above and beyond , but i need to start figuring out a starting point
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
October 04 2014 23:35 GMT
#10512
On October 05 2014 08:33 FFGenerations wrote:
Show nested quote +
On October 05 2014 08:23 WolfintheSheep wrote:
Wait, what kind of program are you completing?

Because if you're in Software Engineering, and you want your final project to be something that's like 90% graphics and UI, then I'd say your tutor has a very legitimate critique in asking you.


SE
see this is what he said but from my perspective IE WITH VERY LITTLE EXPERIENCE WITH SE (2 years at college where we done very basic application dev and some php AND LITERALLY ZERO MATH) i struggle to see what options i have


As lecturers say, part of your project is research. If you don't know how to do stuff in a programming language X, then look it up and learn it.
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2014-10-04 23:38:12
October 04 2014 23:37 GMT
#10513
On October 05 2014 08:35 darkness wrote:
Show nested quote +
On October 05 2014 08:33 FFGenerations wrote:
On October 05 2014 08:23 WolfintheSheep wrote:
Wait, what kind of program are you completing?

Because if you're in Software Engineering, and you want your final project to be something that's like 90% graphics and UI, then I'd say your tutor has a very legitimate critique in asking you.


SE
see this is what he said but from my perspective IE WITH VERY LITTLE EXPERIENCE WITH SE (2 years at college where we done very basic application dev and some php AND LITERALLY ZERO MATH) i struggle to see what options i have


As lecturers say, part of your project is research. If you don't know how to do stuff in a programming language X, then look it up and learn it.


yup i have 4+ months to do this solidly so that is all cool. but i need to choose something that will get me 70%+ grade , and having little experience means i'm throwing this out on forum for any tips :D cheers guys

ps: i finished my man's work so am starting up on this now, i couldnt sleep though so i come post thread before any research obviously
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2014-10-05 00:00:36
October 04 2014 23:44 GMT
#10514
On October 05 2014 08:37 FFGenerations wrote:
Show nested quote +
On October 05 2014 08:35 darkness wrote:
On October 05 2014 08:33 FFGenerations wrote:
On October 05 2014 08:23 WolfintheSheep wrote:
Wait, what kind of program are you completing?

Because if you're in Software Engineering, and you want your final project to be something that's like 90% graphics and UI, then I'd say your tutor has a very legitimate critique in asking you.


SE
see this is what he said but from my perspective IE WITH VERY LITTLE EXPERIENCE WITH SE (2 years at college where we done very basic application dev and some php AND LITERALLY ZERO MATH) i struggle to see what options i have


As lecturers say, part of your project is research. If you don't know how to do stuff in a programming language X, then look it up and learn it.


yup i have 4+ months to do this solidly so that is all cool. but i need to choose something that will get me 70%+ grade , and having little experience means i'm throwing this out on forum for any tips :D cheers guys

ps: i finished my man's work so am starting up on this now, i couldnt sleep though so i come post thread before any research obviously


Well, in this case, I suppose your project supervisor expects you not to draw 'cool' graphics with action-packed pew-pew (although that's still nice to do) but he/she rather cares about algorithms behind the scenes and the problems they solve. So in the case of Sudoku, that would be an algorithm to solve a puzzle by software itself (brute-force, dancing links, etc), an algorithm to check a puzzle for a unique solution, an algorithm for checking duplicates, etc.

Of course, if you choose OOP, then you may have to impress him/her with a thoroughly planned class design. I don't think you have to quit OOP for your project. You just have to explain why OOP would be necessary in your case and, as mentioned earlier, good class design.

Edit: Do you have to write a dissertation as well? If yes, it may be a good idea to say how your software compares to other applications if any. If there are any, you may have a look at existing ones for insights and ideas how to improve yours. I suppose it may also be nice if you say to your supervisor that 'application X presents a problem in scenario Y', and then describe how your program is going to solve it. It addresses his/her concerns about problem solving I think.
FFGenerations
Profile Blog Joined April 2011
7088 Posts
October 05 2014 00:07 GMT
#10515
On October 05 2014 08:44 darkness wrote:
Show nested quote +
On October 05 2014 08:37 FFGenerations wrote:
On October 05 2014 08:35 darkness wrote:
On October 05 2014 08:33 FFGenerations wrote:
On October 05 2014 08:23 WolfintheSheep wrote:
Wait, what kind of program are you completing?

Because if you're in Software Engineering, and you want your final project to be something that's like 90% graphics and UI, then I'd say your tutor has a very legitimate critique in asking you.


SE
see this is what he said but from my perspective IE WITH VERY LITTLE EXPERIENCE WITH SE (2 years at college where we done very basic application dev and some php AND LITERALLY ZERO MATH) i struggle to see what options i have


As lecturers say, part of your project is research. If you don't know how to do stuff in a programming language X, then look it up and learn it.


yup i have 4+ months to do this solidly so that is all cool. but i need to choose something that will get me 70%+ grade , and having little experience means i'm throwing this out on forum for any tips :D cheers guys

ps: i finished my man's work so am starting up on this now, i couldnt sleep though so i come post thread before any research obviously


Well, in this case, I suppose your project supervisor expects you not to draw 'cool' graphics with action-packed pew-pew (although that's still nice to do) but he/she rather cares about algorithms behind the scenes and the problems they solve. So in the case of Sudoku, that would be an algorithm to solve a puzzle by software itself (brute-force, dancing links, etc), an algorithm to check a puzzle for a unique solution, an algorithm for checking duplicates, etc.

Of course, if you choose OOP, then you may have to impress him/her with a thoroughly planned class design. I don't think you have to quit OOP for your project. You just have to explain why OOP would be necessary in your case and, as mentioned earlier, good class design.

Edit: Do you have to write a dissertation as well? If yes, it may be a good idea to say how your software compares to other applications if any. If there are any, you may have a look at existing ones for insights and ideas how to improve yours. I suppose it may also be nice if you say to your supervisor that 'application X presents a problem in scenario Y', and then describe how your program is going to solve it. It addresses his/her concerns about problem solving I think.


yes the dissertation is basically what is being marked i think . so there is a focus on the writeup/planning.

that's not a bad idea - to look at an existing software/game and see if i can find a shortcoming and try to improve this in my own product/version

this is probably what i'll be doing when try to research problems in SE that need solving/have various potential solutions that need to be justified
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
October 05 2014 00:21 GMT
#10516
i've made a neural network on my senior year. AI rocks
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
Millitron
Profile Blog Joined August 2010
United States2611 Posts
October 05 2014 00:27 GMT
#10517
As darkness said, Sudoku is a great semester-long project. Gotta show foresight in planning your file format. You show algorithm understanding when you check the puzzle for validity and when you implement a solver. You show UI concepts when you make your menus and display the puzzle. You can show MVC by building the game with that in mind.

Really though, any similar puzzle is a good idea. Card games too can be good.
Who called in the fleet?
HaRuHi
Profile Blog Joined November 2010
1220 Posts
October 05 2014 10:57 GMT
#10518
On October 05 2014 07:33 darkness wrote:
I'm still learning C++ but as far as I know, both erase and insert return an iterator in your specific case. They may return something else as well and you may see that from the link you refer to. E.g. s.erase(0, 3) should return std::string with content "lo".


They should return. Finally found an answer to my question. One can look up the headers of the implementation of their standard library, in my case, using mingw with codeblocks, basic_string can be found here
C:\Program Files (x86)\CodeBlocks\MinGW\lib\gcc\mingw32\4.7.1\include\c++\bits

and this is the implementation of insert
      template<class _InputIterator>
void
insert(iterator __p, _InputIterator __beg, _InputIterator __end)
{ this->replace(__p, __p, __beg, __end); }

So using gcc generally you can look up those headers which is nice when learning the language, because it allows you to see if it is your code or if the library is not up to the new standard yet.

ps: It got fixed by now, should update my compiler/library
Deranes
Profile Joined July 2010
Germany75 Posts
October 05 2014 11:51 GMT
#10519
If you want to do research that could be really interesting for some people, you could do a project about trying to optimize a CPU implementation of a sudoku solver by doing the work on the GPU instead. I assume there are some very interesting problem solutions you could come up with in regards to efficiently managing memory and splitting work between threads, threadgroups and warps.

And if you do the work in GLs or Direct3Ds compute shader instead of CUDA you get some experience on working with a game graphics API at the same time.
Manit0u
Profile Blog Joined August 2004
Poland17743 Posts
Last Edited: 2014-10-05 14:07:47
October 05 2014 14:06 GMT
#10520
Or you could make a game about database management, where you have to choose between sqlite, mysql, postgresql, mongodb etc. and you do actual db design inside the game and measure performance on all dbs in order to pick one that is best Server/DB admin RPG.
Time is precious. Waste it wisely.
Prev 1 524 525 526 527 528 1032 Next
Please log in or register to reply.
Live Events Refresh
OSC
22:00
OSC Elite Rising Star #19
davetesta23
Liquipedia
The PiG Daily
21:20
Best Games of SC
Maru vs TBD
Maru vs Classic
herO vs Solar
ByuN vs Solar
PiGStarcraft375
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 519
PiGStarcraft375
SpeCial 73
StarCraft: Brood War
NaDa 23
Dota 2
monkeys_forever655
League of Legends
Doublelift2975
Other Games
gofns16126
tarik_tv7653
FrodaN1922
shahzam495
C9.Mang0294
JimRising 248
ViBE63
kaitlyn48
Mew2King35
PPMD24
Organizations
Other Games
gamesdonequick3407
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 15 non-featured ]
StarCraft 2
• RyuSc2 48
• musti20045 39
• Adnapsc2 10
• Sammyuel 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Scarra573
Upcoming Events
Replay Cast
13m
CranKy Ducklings0
CranKy Ducklings
10h 13m
RSL Revival
10h 13m
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
11h 13m
Krystianer vs TriGGeR
Cure vs Rogue
SC Evo League
13h 13m
uThermal 2v2 Circuit
15h 13m
BSL
19h 13m
Artosis vs TerrOr
spx vs StRyKeR
Replay Cast
1d
Sparkling Tuna Cup
1d 10h
RSL Revival
1d 10h
Cure vs Zoun
Clem vs Lambo
[ Show More ]
WardiTV Invitational
1d 11h
BSL
1d 19h
Dewalt vs DragOn
Aether vs Jimin
GSL
2 days
Afreeca Starleague
2 days
Soma vs Leta
Wardi Open
2 days
Monday Night Weeklies
2 days
OSC
3 days
CranKy Ducklings
3 days
Afreeca Starleague
3 days
Light vs Flash
Replay Cast
4 days
Replay Cast
5 days
The PondCast
5 days
Replay Cast
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2026-05-07
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
Proleague 2026-05-08
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

KK 2v2 League Season 1
BSL 22 Non-Korean Championship
YSL S3
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
BLAST Bounty Summer 2026: Closed Qualifier
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 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.