Search found 1649 matches

by avansc
Fri Nov 07, 2008 8:57 pm
Forum: Programming Discussion
Topic: Suggestion for falcos next how to program video.
Replies: 15
Views: 2277

Re: Suggestion for falcos next how to program video.

cypher1554R wrote:
avansc wrote:
Levio91 wrote:Tell people to familiarize themselves with stl(standard template library) its a great place to start for c++.
what?
I was laughing for 5 minutes xD

I imagined you saying that by animating your avatar picture in my head..
lolz
by avansc
Fri Nov 07, 2008 8:37 pm
Forum: Programming Discussion
Topic: Suggestion for falcos next how to program video.
Replies: 15
Views: 2277

Re: Suggestion for falcos next how to program video.

Levio91 wrote:Tell people to familiarize themselves with stl(standard template library) its a great place to start for c++.
what?
by avansc
Fri Nov 07, 2008 7:38 pm
Forum: General/Off-Topic
Topic: Anyone else use a mac?
Replies: 19
Views: 2342

Re: Anyone else use a mac?

Hey, I am just wondering about the community here. Does anyone else use a mac other than me? I am very curious, because Xcode ( Apple's development suite ) is really wierd, and having someone I could talk to about it would be great. i dont use a mac, cant afford it, but from what i hear, XCode is a...
by avansc
Fri Nov 07, 2008 7:19 pm
Forum: Programming Discussion
Topic: Challenge 4 - Balancing act!
Replies: 18
Views: 2667

Re: Challenge 4 - Balancing act!

i had never done this one, so i thought i could participate as well. dont look if you dont wanna know the answer. my code is very slopy in the beginning, but the main mechanic of the program u feel is pretty well done. might be a bit hard to understand, but that just because this problem is not that...
by avansc
Fri Nov 07, 2008 6:45 pm
Forum: General/Off-Topic
Topic: Russian Girl facts
Replies: 21
Views: 1999

Re: Russian Girl facts

I took one look at avansc and all I saw was KGB!!!!!!!!!! :lol: For those of you who don't know, I'm merely quoting one of John McCain's favorite things to say about Russians in general; pretty funny stuff. do i look russian? that would be badass. you all can refer to me as "comrad" from ...
by avansc
Fri Nov 07, 2008 6:19 pm
Forum: Programming Discussion
Topic: Something that might help you.
Replies: 7
Views: 1239

Re: Something that might help you.

True, and that's why I said it had 'basically' the same functionality and not 'exactly' the same functionality. yeah. but i do like your code. its elegant. hey, have you looked at the new challenge, its number 4. its a very nice challenge. its hard. but ive you oppertunity to wrote beautiful code. ...
by avansc
Fri Nov 07, 2008 5:31 pm
Forum: Programming Discussion
Topic: Something that might help you.
Replies: 7
Views: 1239

Re: Something that might help you.

Here's an adaption of your code with basically the same functionality, except that it doesn't include the 2nd if statement and returns a char * instead of an index. char * findSTR(char * needle, char * haystack) { for(; *haystack; haystack++) { int i = 0; while(needle[i] == haystack[i]) { if(needle...
by avansc
Fri Nov 07, 2008 3:44 pm
Forum: Programming Discussion
Topic: Challenge 4 - Balancing act!
Replies: 18
Views: 2667

Re: Challenge 4 - Balancing act!

BIG HINT : I feel i should post this because this is quite integral to the challenge. Just one word. Permutation
by avansc
Fri Nov 07, 2008 2:21 pm
Forum: Programming Discussion
Topic: Challenge 4 - Balancing act!
Replies: 18
Views: 2667

Re: Challenge 4 - Balancing act!

My quick solution (hence the lack of generalization) Maximum difference is highest value, minimum difference is lowest value. So we want to leave the lowest value for last and add it to the most disadvantaged team. However, if the # of values is even, then the two center values are closer than a ce...
by avansc
Fri Nov 07, 2008 1:57 pm
Forum: Programming Discussion
Topic: Challenge 4 - Balancing act!
Replies: 18
Views: 2667

Re: Challenge 4 - Balancing act!

My quick solution (hence the lack of generalization) Maximum difference is highest value, minimum difference is lowest value. So we want to leave the lowest value for last and add it to the most disadvantaged team. However, if the # of values is even, then the two center values are closer than a ce...
by avansc
Fri Nov 07, 2008 1:43 pm
Forum: General/Off-Topic
Topic: VERY Important game game industry information
Replies: 11
Views: 855

Re: VERY Important game game industry information

GyroVorbis wrote:Well, I do know that he is still working on his CS degree, so that's the major reason.
yeah if you work partime while doing CS you are gonna make about 20 an hour as a contractor.
by avansc
Fri Nov 07, 2008 1:39 pm
Forum: General/Off-Topic
Topic: VERY Important game game industry information
Replies: 11
Views: 855

Re: VERY Important game game industry information

i grew up pretty poor, both my parent were still in school when i was born till about when i was 10, then my mom became a anesthesiologist, she still lives in south africa, she makes a shit ton of money. and my dad is a senior network architect at IBM, so i have quite alot to live up to. so planning...
by avansc
Fri Nov 07, 2008 11:29 am
Forum: Programming Discussion
Topic: Challenge 4 - Balancing act!
Replies: 18
Views: 2667

Challenge 4 - Balancing act!

you are to write a program that does best possible balancing. imagine this scenario, there is a tug of war, there are N people, and their weight are labeled as X. you have to divide the two teams so that that their combined weights are as close as possible, and that one team may not have more that o...
by avansc
Fri Nov 07, 2008 11:06 am
Forum: Game Development
Topic: CS315: Algorithm Design PA 1
Replies: 4
Views: 1101

Re: CS315: Algorithm Design PA 1

I've figured that out since :) Hardly anybody uses hpp, though, so yeah, dumb. Edit: I knew I had code that would make my factorial thing a lot faster somewhere ! to my knowledge exponential is the most expensive computational wise. thus slowest. may be faster for small numbers, but gets pretty slo...
by avansc
Fri Nov 07, 2008 9:40 am
Forum: General/Off-Topic
Topic: VERY Important game game industry information
Replies: 11
Views: 855

Re: VERY Important game game industry information

It would take a lot of school to get an MBA on top of a CS degree... I have no doubts that it pays off, though. its onlt one more year. so normal bs is 4 years then 1 year for MBA. to more than double your potential income. and this really applies for any technical job. if you are gonna be in the I...