SporeBase Forum
October 18, 2017, 07:34:24 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Here on SporeBase, we don't have all that many rules, but those that we have you must abide by. Click here to make sure you know what's expected!
 
  Home Help Arcade Search Shop Articles Links Gallery Login Register Wiki  
  Show Posts
Pages: [1] 2 3 ... 9
1  General Information Central / Spore Talk / Re: Spore the best sandbox game! on: March 07, 2013, 02:28:55 PM
Spore is one of best. Minecraft is too.
2  General Information Central / Suggestions or Ideas / Re: Programming thread on: February 25, 2013, 08:31:38 AM
I agree.
3  General Information Central / Suggestions or Ideas / Re: Programming thread on: February 23, 2013, 06:08:34 PM
Well, you could always make a programming discussion thread. That should have a similar effect without cluttering up the index.

Where can i create such thread?
4  General Information Central / Suggestions or Ideas / Re: Programming thread on: February 23, 2013, 08:57:42 AM
I thought it would lure some people who see that forum is less active and that they can have an idea to begin posting their codes here for start of their forum programming hobby xD Cheesy. Something like that Cheesy
5  General Information Central / Suggestions or Ideas / Re: Programming thread on: February 22, 2013, 02:04:59 AM
Yeah that  Cheesy Cheesy Cheesy Cheesy. Hahaha sorry... Cheesy
6  General Information Central / Suggestions or Ideas / Re: Programming thread on: February 21, 2013, 08:52:09 AM
Here for example i post in Mathematics section in programming thread how to make simple fraction class. Then users can plug in adding, multiplying, dividing...(i can add that too but for start i will just add shorting the given fraction like 4/2 we can make in just number 2 4 = 2 and 2 = 1 2/1 = 2).


This is in C++ language.

#include <iostream>
#include <cstdlib>  //cstdlib is included with iostream but i like manual job
   
using namespace std; //so we dont use std:: in front of standard library members
    //now the class

class Fraction{
public:
int num; //Numerator
int den; //Denominator
public:
void set(int n, int d){num = n; den = d; normalize();}
int get_num(){return num;}
int get_den(){return den;}
private:
void normalize();
//For now i will include lcm but it still doesent have use
int lcm(int a, int b){int n = gcf(a, b); return a / n * b;}
int gcf(int a, int b);
};

//I wont use int main here i will just define function members
void Fraction::normalize()
{
 
  if(den == 0 || num == 0)
{
  num = 0;
  den = 1;
}

 if(den < 0)
{
  num *= -1;
  den *= -1;
}

int n = gcf(num, den);
num /= n;
den /= n;

}

int Fraction::gcf(int a, int b)
{
 
if(b == 0)
return a;
else
return gcf(b, a%b);

}

7  General Information Central / Suggestions or Ideas / Re: Programming thread on: February 21, 2013, 08:30:42 AM
What is this thread? Are we supposed to discuss programming here or are you asking us to do something different with the forums?

Its like Game Design thread like this Suggestion thread but just other. Just to add possibility for programming talks. Maybe some people join. We can talk about algorithms edit some  applications(Modding as you wish in short Cheesy). What you think? Smiley

EDIT: Sorry for my ultimate retarded grammar.
8  General Information Central / Quick Threads / Re: Cool music on: February 21, 2013, 08:28:20 AM
<a href="http://www.youtube.com/watch?v=r1zFZm2wsmQ" target="_blank">http://www.youtube.com/watch?v=r1zFZm2wsmQ</a>


Nice one. Pampampampam pamama pampampam pamama pampamapamapa pama....
9  General Information Central / Quick Threads / Cool music on: February 21, 2013, 05:39:37 AM
<a href="http://www.youtube.com/watch?v=tzTLArp6L_c" target="_blank">http://www.youtube.com/watch?v=tzTLArp6L_c</a>
10  General Information Central / Suggestions or Ideas / Programming thread on: February 21, 2013, 05:17:17 AM
It would be nice if we had programming thread for some popular languages like: C++, C#, C, Java...python....

What would each topic have?

-Tutorial
-Sample programs

What stickies should "Sample Programs" have?
-Mathematics
-Graphic programs
-How to post your program

Please suggest more if you are interested.If this works out i will immediately post first math solving programs like Fractions, prime numbers, greatest common numbers and lowest common multiples and we can work for start on some small 2D game like pokemon or something.
11  General Information Central / Quick Threads / Re: Funny thing i have seen ... on: October 03, 2012, 12:45:37 PM
JakeG this is not attack on you...And nor i call u stupid or made this post to say how stuppid u are...
12  SporeBase / Introductions / Re: Hi all on: October 03, 2012, 12:44:34 PM
Massive embarassment for me but okay...
13  General Information Central / Quick Threads / Funny thing i have seen ... on: October 03, 2012, 08:16:39 AM
Go to that thread and ead the second post that has Kaos quote asking "What language are you programming it in?"
JakeG answered: English.
14  SporeBase / Introductions / Hi all on: October 03, 2012, 08:12:21 AM
I am new here i think..from now on..i am new..right?
Hehe guys..how much you hate me from scale 9 to 10? Cheesy
15  General Information Central / Quick Threads / Re: I ban you! on: March 27, 2012, 03:51:41 PM
Banned because you banned me.  Cry
Pages: [1] 2 3 ... 9

Members Online
19 Guests, 0 Users
+-Today's Birthdays
Friend 001 (22), cougartip14 (39), Tiran131 (48), dinnerdoctor7 (33), Imran35 (43), Paterson96 (45), Odile92 (43), Halken079 (41), Winfred100 (49), Yordana98 (52), RSon18 (47)
Powered by EzPortal
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
SMF customization services by 2by2host.com
Valid XHTML 1.0! Valid CSS!