The McLeodGaming forums were permanently closed on April 30th, 2020. You are currently viewing a read-only archive.
View unanswered posts | View active topics It is currently Fri May 15, 2020 9:35 am



 [ 155 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next
Programming Languages 
Author Message
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Thaiberium wrote:
Yeah, it isn't that hard, I'll try doing something complicated with and I might show it to you later, but right now I'm hunting for resources that will be used in Ren'Py.


what's Ren'Py? /:|

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Wed Mar 25, 2009 1:55 pm
User avatar

Joined: Mon Aug 11, 2008 6:40 am
Posts: 1648
Location: ... Not America
Nac wrote:
Thaiberium wrote:
Yeah, it isn't that hard, I'll try doing something complicated with and I might show it to you later, but right now I'm hunting for resources that will be used in Ren'Py.


what's Ren'Py? /:|

http://www.renpy.org/wiki/renpy/Home_Page


Wed Mar 25, 2009 2:32 pm
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
From a programming standpoint, its using very basic python, but I'm using it it as a stepping stone in to just pure python, plus I could probably make something mediocre in the mean time.

_________________
Image


Wed Mar 25, 2009 3:42 pm
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Thaiberium wrote:
From a programming standpoint, its using very basic python, but I'm using it it as a stepping stone in to just pure python, plus I could probably make something mediocre in the mean time.


*Please, tell me it is not a hentai game*
*Please, tell me it is not a hentai game*
*Please, tell me it is not a hentai game*
*Please, tell me it is not a hentai game*
*Please, tell me it is not a hentai game*
*Please, tell me it is not a hentai game*
*Please, tell me it is not a hentai game*

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Wed Mar 25, 2009 5:15 pm
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
Sadly no. I do not possess artistic talent, nor any artists.

Besides, I'm more of a writer. Coding really isn't much different now is it?

_________________
Image


Thu Mar 26, 2009 4:13 am
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Thaiberium wrote:
Sadly no. I do not possess artistic talent, nor any artists.

Besides, I'm more of a writer. Coding really isn't much different now is it?


For me it is very different.
Writting is not as frustaiting as coding can be when you spend 6 or 7 hours de-bugging for every single bug.

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Thu Mar 26, 2009 4:09 pm
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
I'm a notepad person, and sometimes, MSWord's spellchecking can't catch everything. Basically saying, though most PL editors can spot syntax errors, semantic errors can pop up.

_________________
Image


Fri Mar 27, 2009 4:28 am
User avatar

Joined: Mon Aug 11, 2008 6:40 am
Posts: 1648
Location: ... Not America
Thaiberium wrote:
I'm a notepad person, and sometimes, MSWord's spellchecking can't catch everything. Basically saying, though most PL editors can spot syntax errors, semantic errors can pop up.

IE has a lot of logic errors, that I REALLY Hate
Anyways, If anyone who is watching this topic doesn't know what a semantic error is, here is an example

Code:
#include <stdio.h>
 
int money, money_in_store;
 
int main()
{
   do
   {
      printf("Enter amount of money (0 to exit): ");
      scanf("%d", &money);
      if (money_in_store == 0)   // Should be 'if (money == 0)'
      {
         printf("%d money on exit\n", money_in_store);
         exit(0);
      }
      money_in_store += money;
   }
   while(1);
 
   return 0;
}


Sun Mar 29, 2009 1:24 pm
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
What I don't understand is why you need your main to be of type "int" while you could just make it "void" and dispense with the "return" statement.

_________________
Image


Sun Mar 29, 2009 2:34 pm
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Thaiberium wrote:
What I don't understand is why you need your main to be of type "int" while you could just make it "void" and dispense with the "return" statement.


That's something C coders usually do... it doesn't have a "reason".
He could have used "void", but it's also possible to use "int" and "return 0".

Also, I don't know how, but I believe that pro C coders use this to track bugs.

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Sun Mar 29, 2009 5:48 pm
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
Nac wrote:
Thaiberium wrote:
What I don't understand is why you need your main to be of type "int" while you could just make it "void" and dispense with the "return" statement.


That's something C coders usually do... it doesn't have a "reason".
He could have used "void", but it's also possible to use "int" and "return 0".

Also, I don't know how, but I believe that pro C coders use this to track bugs.

I'm somewhat of a C coder, but, I tended to use void wherever I could. Then again, I did line by line debugging whenever there was a runtime error so its not like I'd know how it was done.

_________________
Image


Sun Mar 29, 2009 10:03 pm
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Thaiberium wrote:
Nac wrote:
Thaiberium wrote:
What I don't understand is why you need your main to be of type "int" while you could just make it "void" and dispense with the "return" statement.


That's something C coders usually do... it doesn't have a "reason".
He could have used "void", but it's also possible to use "int" and "return 0".

Also, I don't know how, but I believe that pro C coders use this to track bugs.

I'm somewhat of a C coder, but, I tended to use void wherever I could. Then again, I did line by line debugging whenever there was a runtime error so its not like I'd know how it was done.


Don't think too much of me either... I'm new to c coder myself.

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Sun Mar 29, 2009 10:17 pm
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
C isn't that hard. What are you trying to do? I can teach you how to implement data structures if you want.

_________________
Image


Sun Mar 29, 2009 10:43 pm
User avatar

Joined: Mon Aug 11, 2008 6:40 am
Posts: 1648
Location: ... Not America
I've been programming C/C++ since I was 12... lol im 13, but stfu

And Thai is right, C isn't really hard.
But most of the wicked functions are in Console Apps, for Windows Form Application, it's pretty much like C# or VB. For Win32, it's way different and way better. But getting Microsoft Visual C++ 2008, the default Win32 pack isn't really enough to make a complete Win32 pack.
Look up Win32 tutorials and try some out, there are some functions that aren't built in defaultly.
The complete Win32/MFC pack is 1GB, but I don't wanna waste that much space on this.


Mon Mar 30, 2009 6:46 am
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
Of course I barely touched the OO programming with C/C++. So I wouldn't know.

_________________
Image


Mon Mar 30, 2009 1:32 pm
Display posts from previous:  Sort by  
 [ 155 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.