Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Programing, -Career

Pages: < 1 « 5 6 7
Creator: Brontobyte
Time: May 20 2008, 11:48 pm

Post #121     Brontobyte May 26 2008, 3:17 pm

[Avatar]
 offline contact
Quote from Money
Your comments are a bit wrong. Also, why can A or B only be 1 - 10 ?

I have no idea why. I just put them there. I thought it you go over such a number that it would go into a death spin and never come out of it.
╔═══╦═══╦═══╦══╦═╦═══╦═══╦═══╦═╦═╦═══╦═══╗
╠═══╣....═╣............╠╗..╔╣....╠═══╬╗..╔╩╗..╔╬═══╣
╚═══╩═╩═╩═══╩═╩══╩╩═╩╩═══╩═══╩╩═╩═╩═╩╩═══╝
Top

Post #122     WoAHorde[MM] May 26 2008, 4:02 pm

[Avatar]
Resident Spy
 offline contact
I recommend you use strings to conserve space and make the program shorter, you repeat some lines several times.
Top

Post #123     Brontobyte May 26 2008, 4:12 pm

[Avatar]
 offline contact
Quote from WoAHorde[MM]
I recommend you use strings to conserve space and make the program shorter, you repeat some lines several times.
Care to explain how? Also, how do I make this into a program where you click on an icon and it loads the command prompt version of my program, instead of having to compile + run every time?
╔═══╦═══╦═══╦══╦═╦═══╦═══╦═══╦═╦═╦═══╦═══╗
╠═══╣....═╣............╠╗..╔╣....╠═══╬╗..╔╩╗..╔╬═══╣
╚═══╩═╩═╩═══╩═╩══╩╩═╩╩═══╩═══╩╩═╩═╩═╩╩═══╝
Top

Post #124     cheeze May 26 2008, 6:20 pm

[Avatar]
 offline contact
This part is wrong:

Code

else if (c > 1, c < 1) {
return 0;
}

You can have values of c greater than 1 now so it should check for c > 4.

Quote
I recommend you use strings to conserve space and make the program shorter, you repeat some lines several times.
Stop criticizing the unimportant parts. It's better that he learn the control flow rather than design first.

Quote
Care to explain how? Also, how do I make this into a program where you click on an icon and it loads the command prompt version of my program, instead of having to compile + run every time?
Don't worry about this for now. I'm fairly certain in Dev-C++, it's just one of the options (probably something along the lines of "create executable") but this is something you don't need to think about until you plan on distributing the executable to masses of people.
Top

Post #125     Brontobyte May 26 2008, 11:02 pm

[Avatar]
 offline contact
Quote from cheeze
Don't worry about this for now. I'm fairly certain in Dev-C++, it's just one of the options (probably something along the lines of "create executable") but this is something you don't need to think about until you plan on distributing the executable to masses of people.
Duh. Who doesn't want a calculator that does basic math and is more complicated to use then the one windows provides? :lol:
╔═══╦═══╦═══╦══╦═╦═══╦═══╦═══╦═╦═╦═══╦═══╗
╠═══╣....═╣............╠╗..╔╣....╠═══╬╗..╔╩╗..╔╬═══╣
╚═══╩═╩═╩═══╩═╩══╩╩═╩╩═══╩═══╩╩═╩═╩═╩╩═══╝
Top
0 members in this topic: None
+ 0 guest(s)


[09:01 am]
BluEditor -- so definition of sux=MA?
[08:24 am]
Mafia.KrayZee -- MillenniumArmy sux
[08:01 am]
BluEditor -- ok
[07:45 am]
poiuy_qwert -- lol
[07:37 am]
madroc -- 007 funny clever
[07:37 am]
madroc -- Lol! nice sig dark marine
[07:25 am]
[Dark_Marine]:] -- Nvm fuck it, funny sig time
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions