The Big Programming Thread - Page 33
Forum Index > General Forum |
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. | ||
Frigo
Hungary1023 Posts
| ||
ChoboCop
United States954 Posts
| ||
ChoboCop
United States954 Posts
| ||
ChoboCop
United States954 Posts
| ||
KaiserJohan
Sweden1808 Posts
This is left. Error 3 error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in client.obj C:\Users\Johan-bar\Documents\Visual Studio 2010\Projects\client\client\jrtplib.lib(rtpsession.obj) client I googled a ton and the cause seems to be one is compiled in debug mode while the other is compiled in release mode. Both ARE compiled in Release. I am aiming to compile a Release executable because I want to test on different computers. 1) Which one is not in Release mode, JRTPLIB or client(mine, the one which is trying to compile)? 2) How does one change the ITERATOR_DEBUG_LEVEL? Both are using Runtime Library /MT and preprocessor definitions WIN32, _MT, along with the defaults I guess. Cheers | ||
Pigsquirrel
United States615 Posts
I simply want to write a single byte of data to a comport in c++ (dev c++ to be specific) How would I do this? EDIT: If it would be possible to do this with a file stream, then I would prefer that method. | ||
![]()
tofucake
Hyrule18968 Posts
On January 14 2011 14:08 ChoboCop wrote: Regular expressions should start with ^ and end with $. That's only if you're searching for a string that is exactly 1 line long and you know that. If you don't, or you're doing multiline search, you shouldn't (usually). | ||
Craton
United States17233 Posts
On January 07 2011 14:51 Bigpet wrote: Also you could ask the guys resposible for the site if they'll maybe make a XML interface or a seperate simple website like teamliquid.net/streams.php to ease both your task and their netload. Because parsing a full website when asking the programmers could spare you a lot of trouble is really silly. They used to have an API, but it was scrapped. ![]() | ||
fabiano
Brazil4644 Posts
On January 22 2011 23:06 Craton wrote: They used to have an API, but it was scrapped. ![]() Actually I believe there is the API still, but you have to ask (to R1CH perhaps?) permission to use it, or something along these lines. I'm not sure though. | ||
Craton
United States17233 Posts
Problem is that I am not really involved in coding anymore and the crew decided to shut down the entire API thing as it wasn't used so far by anyone :-( I wasn't aware of that and they forgot to update the /api page. | ||
![]()
tofucake
Hyrule18968 Posts
On January 07 2011 10:47 MarwanBaki wrote: Guys, ive finally caved and ive come here. Im trying to develop something, AND ITS FOR TEAM LIQUID yay!!! But alas i hit a pylon wall and i need major help with RegExp(Regular Expressions). I believe PERL RegExp. If this makes ANY sense to you than you are probably the person i need RegExp="(?siU)Featured Streams.* Anyone familiar with this type of Regular expressions, i need a gosu. I can understand this, but i need to basically write a way more complex Regular Expression. Are you just trying to pull a list of live featured streams? Because there isn't a "Featured Streams" label, they just show up while non-featured are hidden. | ||
KaiserJohan
Sweden1808 Posts
I am mainly talking about code design and such; for example, if you are iterating over an array, using an std::iterator instead of looping while i < array.length. Also avoiding globals and such. It's pretty broad subject, but feel free to vent anything! 2) the company uses agile methods like SCRUM. I've read up on it and seen tutorials, but is there anything special you should know? I don't want to start and get dragging behind just learning it. | ||
berated-
United States1134 Posts
On January 27 2011 07:15 KaiserJohan wrote: 1) Going to do my degree work in a company in a month. They seem really talented and experienced and I want to work there afterwards. Is there anything I should think about extra or prepare myself with? For example, they work alot with c++ (unsure if its win32/MFC/CLR yet) and some C#. What typically is there that new employees screw up with, mainly in c++? I think I'm pretty sure of most stuff, but feel free to list anything that comes to mind just to make sure :D I am mainly talking about code design and such; for example, if you are iterating over an array, using an std::iterator instead of looping while i < array.length. Also avoiding globals and such. It's pretty broad subject, but feel free to vent anything! 2) the company uses agile methods like SCRUM. I've read up on it and seen tutorials, but is there anything special you should know? I don't want to start and get dragging behind just learning it. My company uses a modified version of scrum so I don't know if I'm 100% correct for all versions of agile and scrum but, I don't think you should get too worked up over it. I haven't really been involved much in waterfall type development or incremental or w/e, but agile/scrum is a developer's best friend in my opinion. As you've probably already read, agile focuses on the fact that requirements change, and change often. So there isn't as much of this I just worked on something for 6 months and poof its gone because of changing requirements. A sprint is started and during that sprint - which can be anywhere from a week to a month - requirements aren't allowed to change. For our scrum meetings, its pretty simple -- what have i done since yesterday, what will i do by tomorrow, and what impeded me from accomplishing my work - and this seems to be a pretty common scenario. If you have a good scrum master then things should go well. Scrum will quickly point out who in the group is struggling and where impediments need to be removed. It really does make things easier, as long as you can remember what all you did since last scrum ![]() | ||
Deleted User 61629
1664 Posts
| ||
windzor
Denmark1013 Posts
On January 22 2011 22:47 Pigsquirrel wrote: I have a C++ question. I simply want to write a single byte of data to a comport in c++ (dev c++ to be specific) How would I do this? EDIT: If it would be possible to do this with a file stream, then I would prefer that method. I guest it's in windows. Use the following documentation: http://www.robbayer.com/files/serial-win.pdf | ||
Rxxrrxr
United States6 Posts
| ||
heishe
Germany2284 Posts
On February 07 2011 06:19 Rxxrrxr wrote: I'm currently working on an assignment for a JAVA class regarding exception handling, I need help, can anyone offer assistance? Well... meta questions are not really good. What's your problem precisely? | ||
Rxxrrxr
United States6 Posts
On February 07 2011 06:24 heishe wrote: Well... meta questions are not really good. What's your problem precisely? You know, dude, while I was describing my problem in my reply to you, I actually think I figured out the problem. | ||
heishe
Germany2284 Posts
On February 07 2011 06:34 Rxxrrxr wrote: You know, dude, while I was describing my problem in my reply to you, I actually think I figured out the problem. Glad I was able to help you ![]() | ||
Rxxrrxr
United States6 Posts
Much appreciated, it seems that sometimes the best way to solve a problem is to write it out. | ||
| ||