Search found 294 matches
- Thu Oct 23, 2014 5:41 am
- Forum: Programming Discussion
- Topic: Problem calling free() from another function [SOLVED]
- Replies: 5
- Views: 2406
Re: Problem calling free() from another function
should be grid = malloc(GRID_SIZE * sizeof(Grid*)); My bad :oops: So I'm still having trouble passing this Grid** in and out of functions. Remember a pointer-to-pointer is still passed by value: #include <stdio.h> #include <stdlib.h> void f0(char ** pp) { pp = malloc(3); } void f1(char *** pp) { *p...
- Wed Oct 22, 2014 6:52 am
- Forum: Programming Discussion
- Topic: Problem calling free() from another function [SOLVED]
- Replies: 5
- Views: 2406
Re: Problem calling free() from another function
grid should be just GRID_SIZE * sizeof(Grid) in size. You misunderstood how a 2d array is implemented using pointers to pointers. The "first level" pointer ( grid ) points to an array of pointers of size equal to the number of rows. Each pointer in this array ( grid ) points to another ar...
- Wed Oct 08, 2014 3:35 pm
- Forum: General Gaming
- Topic: Man selling video game collection with over 5700 titles
- Replies: 1
- Views: 5980
Re: Man selling video game collection with over 5700 titles
And there goes the money the Elsian Shadows team raised...
- Wed Aug 27, 2014 6:07 am
- Forum: General Gaming
- Topic: Corruption In Gaming Journalism: The Quinnspiracy
- Replies: 22
- Views: 19666
Re: Corruption In Gaming Journalism: The Quinnspiracy
Oh boy. You might reconsider live streaming the party this weekend.Falco Girgis wrote:Once day you'll have to get me drunk at a bar, and I will go off on quite an epic rant.
- Mon Aug 25, 2014 8:05 am
- Forum: Current Events and Science/Technology
- Topic: Java Sucks
- Replies: 11
- Views: 12027
Re: Java Sucks
Worst thing is this prevents actual users from updating java on their computers (actual users being the ones that just give up when a computer tasks demands more than two steps).
- Fri Jul 25, 2014 4:07 pm
- Forum: Programming Discussion
- Topic: Reading Chess Position[SOLVED]
- Replies: 7
- Views: 3956
Re: Reading Chess Position[SOLVED]
There are two things you have to pay attention to (taken from scanf(2)'s man page): scanf reads until it finds whitespace (space, newline, etc.). If a pattern is not matched, scanf stops reading the input. Say I have the following code: while(1) { int ret, i1, i2; scanf("%d %d", &i1, &...
- Sat Jun 28, 2014 8:01 am
- Forum: General/Off-Topic
- Topic: rss
- Replies: 6
- Views: 3358
Re: rss
Those articles were great! Altough I have a blog which I should be updating more often (don't we all?), so I know how tough it is to take the time to write something. Well, I just discovered you can make an rss feed from a subreddit , so I guess that'll make things better. If only I could find somet...
- Sat Jun 28, 2014 7:22 am
- Forum: General/Off-Topic
- Topic: So who is coming to visit?
- Replies: 8
- Views: 3407
Re: So who is coming to visit?
Is that a Kickstarter reward? I though you did this to everyone who came to visit. But seriously, I would love to do that. If only I had enough time and money to go on such a trip (I'm from Norway). Same here (Brazil) :cry: edit : Why imagine when we have internet? map edit2 : Ok, I guess superLED ...
- Thu Jun 26, 2014 1:02 pm
- Forum: General/Off-Topic
- Topic: rss
- Replies: 6
- Views: 3358
Re: rss
I think they have different purposes. Social networks are good for the "explosive" kind of marketing, but a rss feed is for the hardcore fans who never want to miss something from the project (much like the people on this forum). I'm no social network expert (on the contrary, I rarely use ...
- Thu Jun 26, 2014 6:27 am
- Forum: General/Off-Topic
- Topic: rss
- Replies: 6
- Views: 3358
rss
Hey guys. I noticed you broadcast news and other ES material on many platforms. However, some of us are old fashioned and still use rss as our main source of updates. I already subscribe to the blog rss (which haven't had much action lately), it would be nice to have a feed for the more frequent upd...
- Tue Jun 17, 2014 8:32 am
- Forum: Programming Discussion
- Topic: Java gaming discussion
- Replies: 7
- Views: 3245
Re: Java gaming discussion
Just forget that and write it in emacs lisp.
- Wed May 07, 2014 5:55 am
- Forum: General/Off-Topic
- Topic: Building a Desktop
- Replies: 22
- Views: 9625
Re: Building a Desktop
Are you sure you didn't erase the whole disk at some point in the installation? The installer is very careful to warn you, but sometimes it's just a bad day ;) I've never had this problem with the ubuntu installer (or any linux installer). edit : anyway, it is better than the windows installer, whic...
- Sat Apr 26, 2014 12:03 pm
- Forum: General/Off-Topic
- Topic: success or failure. this is nice to hear
- Replies: 3
- Views: 2513
Re: success or failure. this is nice to hear
Wow, I haven't watched the video yet (and won't be able to until tomorrow), but what a kick-ass layout this website has!
- Sat Apr 19, 2014 8:36 am
- Forum: Game Development
- Topic: Neon GBA Lighting Engine
- Replies: 16
- Views: 8458
Re: Neon GBA Lighting Engine
Surely that's not a bug. It's hardcore mode, where monsters have powerful illusions that make them invisible, twist your beams and displace the background. It also happens to be the only mode
- Wed Apr 09, 2014 1:14 pm
- Forum: Current Events and Science/Technology
- Topic: SSL Not So Secure
- Replies: 4
- Views: 6657
Re: SSL Not So Secure
Oh yes, and an article that actually explains what is going on, instead of throwing phrases like "read all the memory from the server" around:
http://blog.existentialize.com/diagnosi ... d-bug.html
http://blog.existentialize.com/diagnosi ... d-bug.html