391
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: January 21, 2015, 04:07:18 pm »
Or "for (int i = 0; i < height ; i++)" (without the "- 1"). Like I said.
April 23, 2024: Dwarf Fortress 50.13 has been released.
News: February 3, 2024: The February '24 Report is up.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines
void clear_box(int inputarr[5][5])
{
for (int i = 0; i < 5; i++)
{
for (int j = 0; j < 5; i++)
{
inputarr[i][j] = 0;
}
}
}template <int height, int width>
void copy_array(int from[][height], int to[][width])
you probably meant:template <int height, int width>
void copy_array(int from[height][width], int to[height][width])
for (int i = 0; i < height - 1; i++)you are looping from 0 to up to and not including 4 (height - 1 == 4). You either mean "< height" or "<= height - 1"
error C2143: syntax error : missing ';' before '*'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
struct block;If you divided the size of everything by something (like 10 or 100), could you get bigger creatures?You'd have to make sure that weights and strengths and densities were proportionally correct, but sure.
Tracert seems to tell me that the 10th path it used to get to the server has a timeout (that's what the korean says, btw--request has timed out). Is it possible to figure out which path this is then blacklist it somehow? :/That's not quite what it's saying. If *every* ping to that hop times out, it tends to mean that it's configured not to respond to ping.
this is the computer I'm using - it's nothing super special, but for me it was a near ideal compromise:I'm not sure I'd agree with their conclusion of "tows the line between Ultrabook and gaming laptop". Unless they mean "not good enough to be called a gaming laptop". It's just barely more graphically capable than intel's integrated graphics.
http://www.techradar.com/reviews/pc-mac/laptops-portable-pcs/laptops-and-netbooks/acer-aspire-v7-1161958/review#articleContent