Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Sirus

Pages: 1 ... 2274 2275 [2276] 2277 2278 ... 2462
34126
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: March 22, 2012, 02:58:18 am »
Not much has changed really, but here ya go:
Spoiler (click to show/hide)
Now shame me with my obliviousness!

34127
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: March 22, 2012, 02:44:36 am »
Like this?
Code: [Select]
return readNum;

34128
My money (if I had any, that is) is on it being politically motivated. I don't have any proof or citations, just a gut feeling.

34129
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: March 22, 2012, 01:32:49 am »
Blame my teacher, I guess. He had us make function prototypes that included the list[] and size variables. This whole exercise seems pretty shoddy, or maybe I'm just confused again.

Well, progress has been made I suppose. Getting rid of list[] and size allowed me to input the integers to be reversed. Sadly, pressing Enter made the program crash.

34130
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: March 22, 2012, 01:10:50 am »
What exactly is the problem? Is it not reversing the numbers? Is it not letting you put in numbers?
Yes. After choosing how many integers for the array to hold, it simply prints those text lines and ends.

Getnum has a default return value of Zero.
Should I have it return readNum? I get the same results from doing that.

34131
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: March 22, 2012, 12:49:07 am »
What exactly is the problem? Is it not reversing the numbers? Is it not letting you put in numbers?
Yes. After choosing how many integers for the array to hold, it simply prints those text lines and ends.

34132
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: March 22, 2012, 12:30:54 am »
C is giving me grief again. I could use some help, please :/
Spoiler (click to show/hide)
Supposedly, the stuff in the main() function and up is correct, since that is what the example has. Output currently looks like this:
Code: [Select]
You may enter up to 50 integers:
How many would you like to enter? 10

Enter your numbers:

Your numbers reversed are:


Press any key to continue...

ETA: I have tried placing pointers in various places to call readNum, but I get errors in the for() loops about i and readNum being incompatible or something like that.

34133
First I've heard of it. Did they catch anyone?

34134
A Family's Cat Is Murdered In the Name of Politics and Conservatism

Quote
The campaign manager for a Democratic Congressional candidate returned to his Russellville, Arkansas home, to find that the family cat had been killed. The word "liberal" had been scribbled across the cat's body in paint.
Whoever did that is dead to me now  >:(

34135
Forum Games and Roleplaying / Re: Corrupt a wish!
« on: March 21, 2012, 10:36:32 pm »
Jack Sparrow steals all of the rum.

I wish I had the deduction skills of Sherlock Holmes.

34136
What's with that cat? O_o

34137
I assume so. I haven't seen any yet, but I haven't been searching for them either.

34138
Faction Conflict: The Second?

34139
General Discussion / Re: [ヽ(°ヮ。)ノ] HEADPANTS! (Happy Thread)
« on: March 21, 2012, 07:32:25 pm »
It's sort of like Age of Wonders: Shadow Magic, but more.

Where does one acquire this? Steam, GOG, retail?

Dominions 3? Here, for the affordable price of WHAT THE F--
--UCK?! Yeah, no. I could get like 4 different indie games for that price.

34140
Other Games / Re: Steam Sales
« on: March 21, 2012, 05:17:09 pm »
I knew I would love it as soon as I said "apple". You know what I mean  ;D

Pages: 1 ... 2274 2275 [2276] 2277 2278 ... 2462