Re: creating a gui frontend to a cli application?

2014-09-04 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: creating a gui frontend to a cli application?

@Dranelement, a good way to do something like this is to create a WXPython window, and add buttons to it that perform actions for the two CLI apps. Then, remove all the print statements, the input statements, etc, and replace them with the WXPython equivalent.@camlorn, WXWidgets is not a pain to set up. The C++ code is quite simple. The only trouble you'll have is compilation.

URL: http://forum.audiogames.net/viewtopic.php?pid=187975#p187975




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

A more gentle version of C, thoughts and suggestions?

2014-08-25 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


A more gentle version of C, thoughts and suggestions?

Hi all,OK, before I dive into what I am trying to do, let me point out a few things:1. I don't want anyone posting on this thread who simply wants to reprimand me on how C isn't meant for this. I am not trying to make a better version of C, I just want to make my own version of it, for more basic people who are starting to learn how to program, and who want to learn C, yet they don't want to use all the symbols like <<, >>, <=, >=, <<=, >>=, etc. Basically, I'm trying to do something a little more English-like.2. I don't want people to criticize me and tell me not to do this. Its my first try at building a parser; probably a successful one at that, so I don't want people to immediately tell me off it. You need to try it out before you just go and yell at me for it. Of course, I can't exactly let you try it out; I just want to see your thoughts and suggestions you might want to add to the language.OK, so here's my idea:I came upon a parser named DParser. I was looking for a good parser generator (there are a total of 170 parser generators, at least that's how many there are on Wikipedia's Comparison of parser generators page, found at http://en.wikipedia.org/wiki/Comparison … generators ). I really wanted to see which one was good for me. I tryed flex and bison; no luck there, and many others. However, I hadn't loked at DParser, so I did. Its very interesting, and I like it. I found this ANSI C Grammar, and decided to mold it to my needs. So, I came up with this new language. Its not developed yet, and I hope to try it out some day. However, I'll give you a little of the final result (if I ever complete it!) Here's a little code sample, at least I hope it looks like this in the end:include "io.h"// A when loop (when loops are very similar to while loops)void main():bool display_window_id = falsewhen display_window_id is equal to true:print ("Hi!")end whenend void// An if statement:if 34814 times 93 is equal to 3237702, thenint result = 34819 times 93orint result = 0end ifI hope it looks like that, anyways.Right now, I'm stuck on the following grammar line:shift_expression : additive_expression (('<<' | '>>') additive_expression)* ;This sets the << and >> to be bitwise operators, but I need names for them. << is the bitwise left shift, and >> is the bitwise right shift. What would be good names for these two operators?For now, I'll keep them as << and >>, but if anyone comes up with good names that make sense, please tell me.

URL: http://forum.audiogames.net/viewtopic.php?pid=186439#p186439




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Транспортирование товаров из Китая

2014-08-24 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Транспортирование товаров из Китая

@Socheat, it doesn't matter if they've been banned or not.The simple problem with forums and the methods of banning is they don't do what MOOs do: they ban the entire IP address, and convert fake addresses to the real ones. All forums do is add a "disallow" line in the .htaccess and robots.txt files, and they think that apache, njinx, etc. will do the work for them. The problem that we face, however, is that this method of banning users is simply not effective at all. Dark banned me once, and I was easily able to get passed the ban with a simple fake of my IP address. I did that, of course, to stay up to date on games and things, despite me being banned; I was banned for no particular reason from 2011 to 2014. I hadn't done the reporter said; That was someone else trying, and succeeding, in my opinion, to make it look like it was I who did it. The banning system for PunBB is just ineffective in so many ways, and needs to upgrade itself to the current standards: IP Address Conversion (IPAC).

URL: http://forum.audiogames.net/viewtopic.php?pid=186267#p186267




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-23 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

OK, guys, I'm sorry for what I said in post 57. I was just angry because to me it seemed like Camlorn was being a no-it-all kind of guy. I'm sorry about that. I'm actually using C to learn how to use Flex and Bison. Oh, how wonderful it'd be if there was a flex and bison for purebasic. It'd be really cool, eh? I could try that, you know. It'd be a very tempting project. You know, I think I'll start working on that. It's going to be soo much fun! It'll be named 'pbflex' and 'pbbison'. Wait, that doesn't sound good. I think I need suggestions for names for the too!Oh, I just realized something. A little help for using command line parameters in PB would be nice. If anyone knows how to do that, please tell me! I can't do anything without that!And as programmers say, Programming is always fun as long as you want it to be.

URL: http://forum.audiogames.net/viewtopic.php?pid=186167#p186167




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-23 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

OK, guys, I'm sorry for what I said in post 57. I was just angry because to me it seemed like Camlorn was being a no-it-all kind of guy. I'm sorry about that. I'm actually using C to learn how to use Flex and Bison. Oh, how wonderful it'd be if there was a flex and bison for purebasic. It'd be really cool, eh? I could try that, you know. It'd be a very tempting project. You know, I think I'll start working on that. It's going to be soo much fun!

URL: http://forum.audiogames.net/viewtopic.php?pid=186167#p186167




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Транспортирование товаров из Китая

2014-08-22 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Транспортирование товаров из Китая

HiI am not sure who this person is, but my English translation skills brought up the following message, in English:Most popular container shipments from China. In the future, container delivery, container protected seal and lock, which ensures the safety and anonymity of the goods. The price of shipping goods from China is largely determined by the choice Transport and features of the transported goods. The most affordable type of sea transport is considered. Marine transportation of goods from China (China), the cost of which will be cheaper than using other types of transport, carried out at regular Ocean Liner routes or tramp shipping on individual requirements.http://www.pro-lg.ru/It'll be quite hard to translate this message entirely to english. However, I think that whoever this person is, they have locked the entire forum in such a way that this topic specifically cannot be deleted. If I were a moderator, and I had access to the forum's internal code, I could take a look at it; whatever they've doen is not good.If anyone who's a moderator has any more deletion issues with this topic, I'd be happy to take a look at the PHP code and see what I can do. Be warned though that it may take me a very long time to see what's wrong. If that's not it, I'd be glad to check out the SQL database for suspicious SQL  code, but that would take me weeks to figure out because there is just too many posts and users on here.

URL: http://forum.audiogames.net/viewtopic.php?pid=186035#p186035




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-22 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

@camlorn, I am tired of your little "smart pointers" and shit like that. Who cares! Who cares if a language has this and a language has that! No one! Stop trying to "convince" us to use either language. Oh, and about your statement in post 39? You are wrong here. I have actually ran programs for python 2.7 on 3.3.Look. I'm sorry for blowing up on you like this, but: will you please stop trying to convince us to use C++ because its got smart pointers? Who damn cares if its got that. Its not built in automatically. I've never heard of a compiler which automatically manages memory for pointers for C or C++. Have you? Probably not. If you want to prove to me that C++ is so cool, why don't you write an entire game, with everything that, oh, DM Project Alpha has, and see how hard that is. Its a hell of a lot harder in C/C++ than it is in PB. Get this through your head: We use the languages that we choose because it gets the damn job done. If you 
 keep trying to get us to stop using PB or some other language, I'm reporting you. This is gone on far enough, and I've had it with you. I haven't heard anyone else tell me, "You should use so and so because its got so and so."I understand that you like smart pointers, yes, but can you please try these languages that you say are bad for like 3 to 4 years, and get to know everyone who uses it, before you make accusations? It would really be nice. Then, once you get to know everything about the language, come back to us about it and tell us what you think.I understand your opinion, but just stop! Please?OK, I shouldn't have blown up like that, but your just really getting on my nerves.

URL: http://forum.audiogames.net/viewtopic.php?pid=186021#p186021




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-20 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

@frastlin, you are wrong about things not working on 3.x when they're ran in python 2.x. However, this only works on python 3.3 and earlier versions of 3.x. Python versions 3.4 ant later finalize the new language syntax, and 2.x applications no longer work. The toughest thing I have to do is convert things from 2.x to 3.x. Mosty it involves changing print "text" to print ("text"), and raw_input() to input(), but other times I forget the differences with if and for. Also, although it works, it... well, it throws many tracebacks, some of which make absolutely no sense at all.

URL: http://forum.audiogames.net/viewtopic.php?pid=185749#p185749




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-17 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

Exactly. I'm not sure how people actually manage to debug an OS, but its completely possible. Well, it is, if you want to use cables and other things like that. I don't think that GDB supports wireless, remote debugging though.

URL: http://forum.audiogames.net/viewtopic.php?pid=185068#p185068




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Books on the Pascal programming language?

2014-08-14 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Books on the Pascal programming language?

Actually, FPcC (the free pascal compiler) supports turbo pascal with the -Mtp command line option, or the {$mode tp} compiler directive.

URL: http://forum.audiogames.net/viewtopic.php?pid=184776#p184776




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-13 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

Totally agreeable. I think that we should move away from this topic, though, and start our own topic for objective-C and lal of the GNU stuff. I don't want to create it (because I'm compiling gcj!), but camlorn, if you want to continue this discussion, I'd recommend we move away from this topic and start our own. Or maybe not?

URL: http://forum.audiogames.net/viewtopic.php?pid=184673#p184673




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-13 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

@camlorn, you are quite correct. Although, I prefer Objective-C, C, C++, Objective-C++, Ada, D, Go, and Java. I won't be using Fortran because I don't like its syntax. Add PB to the languages above. I'm curious if I can find the headers for the debugging API. I'm curious if I can cross it over to Mac OS X and Linux. It maybe possible. If you want to know how to truely make a debugger, get the GDB soucre code and look under the 'include' directory for the headers, and then look under the 'src' directory. I'm not sure what the master source file is, but hey! That's what exploration is for!

URL: http://forum.audiogames.net/viewtopic.php?pid=184641#p184641




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-12 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

Speaking of cdb, I really need to get the debugging tools for windows again. I deleted them; maybe I'll get'em again?

URL: http://forum.audiogames.net/viewtopic.php?pid=184527#p184527




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-12 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

[ a-t ] Stewie, I don't like .NET because it can be easily disassembled. For instance, I built a registration system in VB.NET, and I am able to disassemble it with the following command:C:\Users\Ethin\Documents\Visual Studio 2013\Projects\RGAUI\RGAUI\bin\Debug>ildasm rgaui.exeOf course, I can obfuscate the code, but obfuscators cost lots of money, and its just not worth it. Plus, MSIL is very easy to read.Example: keyrwzrd : void():.method private instance void  keyrwzrd() cil managed{  // Code size       548 (0x224)  .maxstack  5  .locals init ([0] valuetype [System.Windows.Forms]System.Windows.Forms.DialogResult correct,           [1] string email,           [2] class [mscorlib]System.Random Generator,           [3] string name,          &nbs
 p;[4] string oldkey,           [5] string oldpidn,           [6] string phone,           [7] int32 pidn,           [8] string pnames,           [9] string[] VB$t_array$S0,           [10] bool VB$CG$t_bool$S0)  IL_:  nop  IL_0001:  newobj     instance void [mscorlib]System.Random::.ctor()  IL_0006:  stloc.2  IL_0007:  ldloc.2  IL_0008:  ldc.i4     0x3e8  IL_000d:  ldc.i4     0x270f  IL_0012:  callvirt   instance int32 [mscorlib]System.Random::Next(int32,                                          
                           int32)  IL_0017:  stloc.s    pidn  IL_0019:  ldstr      "Enter the name of the person who the product will "  + "be registered to: "  IL_001e:  ldstr      "Key Replacement Request Wizard"  IL_0023:  ldstr      ""  IL_0028:  ldc.i4.m1  IL_0029:  ldc.i4.m1  IL_002a:  call       string [Microsoft.VisualBasic]Microsoft.VisualBasic.Interaction::InputBox(string,                                                                                      &nb
 sp;          string,                                                                                                 string,                                                                                                 int32,                                                                   
                               int32)  IL_002f:  stloc.3  IL_0030:  ldstr      "If available, enter your old product key. It must "  + "be exactly as was given in your email that was sent to you upon complet"  + "ion of your order, and must match the registration name entered and the"  + " PIDN given to you at the start of this order. Note that, if you do not"  + " enter your old product key, a new one will have to be generated, despi"  + "te the name entered here, even if it is in our records, and may delay t"  + "he generation and transmission of your product key."  IL_0035:  ldstr      "Key Replacement Request Wizard"  IL_003a:  ldstr      ""  IL_003f:  ldc.i4.m1  IL_0040:  ldc.i4.m1  IL_0041:  call       string [Microsoft.VisualBasic]Microsoft.VisualBasic.Interaction::InputBox(string,                                                                                                 string,                                                                                                 string,                    &n
 bsp;                                                                            int32,                                                                                                 int32)  IL_0046:  stloc.s    oldkey  IL_0048:  ldstr      "If applicable, enter the old four digit PIDN that "  + "was used when you last ordered this product."  IL_004d:  ldstr      "Key Replacement Request Wizard"  IL_0052:  l
 dstr      ""  IL_0057:  ldc.i4.m1  IL_0058:  ldc.i4.m1  IL_0059:  call       string [Microsoft.VisualBasic]Microsoft.VisualBasic.Interaction::InputBox(string,                                                                                                 string,                                                                                                 string,        &n
 bsp;                                                                                        int32,                                                                                                 int32)  IL_005e:  stloc.s    oldpidn  IL_0060:  ldstr      "Enter a telephone number in case we need to contac"  + "t you: "  IL_0065:  ldstr      "Key Replacement Request Wizard"  IL_006a:&n
 bsp; ldstr      ""  IL_006f:  ldc.i4.m1  IL_0070:  ldc.i4.m1  IL_0071:  call       string [Microsoft.VisualBasic]Microsoft.VisualBasic.Interaction::InputBox(string,                                                                                                 string,                                                                                                 string,      &nb
 sp;                                                                                          int32,                                                                                                 int32)  IL_0076:  stloc.s    phone  IL_0078:  ldstr      "Enter your e-mail address."  IL_007d:  ldstr      "Key Rep

Re: Books on the Pascal programming language?

2014-08-12 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Books on the Pascal programming language?

How much does the Coronado tutorial on Pascal cost, cebi?

URL: http://forum.audiogames.net/viewtopic.php?pid=184503#p184503




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Books on the Pascal programming language?

2014-08-10 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Books on the Pascal programming language?

Hi all,I'm curious if any of you know of a book that teaches Pascal (the pascal programming language!) I'd be pleased if the book or books that you find are on bookshare.org (http://www.bookshare.org).Thank you.

URL: http://forum.audiogames.net/viewtopic.php?pid=184213#p184213




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Python on the Mac

2014-08-06 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Python on the Mac

@frastlin, Python wil lnot accept tabs. It only accept spaces; it can determine between a tab and a space. BTW, your using an out of date python version; the current version is version 3.4.1 I think.

URL: http://forum.audiogames.net/viewtopic.php?pid=183928#p183928




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-06 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

Here is the documentation entry for OpenScreen:OpenScreen()SyntaxResult = OpenScreen(Width, Height, Depth, Title$ [, FlipMode [, RefreshRate]])DescriptionOpens a new screen according to the specified 'Width', 'Height' and 'Depth'. InitSprite() has to be called successfully before using this command. The opened screen is created with 2 video buffers to allow double buffering, especially useful for games. The buffers can be manipulated with the FlipBuffers() function. ParametersWidth, HeightThe screen resolution, in pixels. The specified resolution has to be supported or the screen won't be created. ExamineScreenModes() can be used to get a full list of supported resolution. DepthIt can be one of the following values:   16: 65000 colors, fixed palette  24: 16 Mo colors, fixed palette  32: 16 Mo colors, faster than 24-bit mode, allows alpha blendingTit
 le$The title for the application which will be displayed when switching back to the desktop. (Windows only). It will be displayed in the taskbar, so it's recommended to use a title related to the application name. FlipMode (optional)Sets the screen synchronization methods used when flipping buffers (also known as 'Vertical blank synchronization'). It can have one of the following values:    #PB_Screen_NoSynchronization   : disable synchronization    #PB_Screen_WaitSynchronization : enable synchronization (default value)   #PB_Screen_SmartSynchronization: enable synchronization, with a CPU saver routine when the program doesn't consume                                    all the CPU time (full screen mode only)Waiting for the screen synchronization allows the flip to be perfect (no 'te
 aring' or other visible artifacts) because the flip is performed when the screen has been fully drawn (and when the screen spot is outside of visible screen area). This also link the flip frequence to the actual screen refresh, ie: for 60Hz screen it could have at most 60 flip per seconds, etc. RefreshRate (optional)Set the refresh rate (in Hz) for the new screen. If it can't be handled, then OpenScreen() will fail. ExamineScreenModes() can be used to get a full list of supported refresh rates. Note: on Windows, the refresh rate could be locked or forced by the video card drivers, so it could be inaccurate. Return valueNonzero if the screen has been successfully opened, zero otherwise. RemarksThe Requester functions cannot be used on screens created with OpenScreen. To open a screen area on a regular window, see OpenWindowedScreen(). See AlsoOpenWindowedScreen(), FlipBuffers()Supported OS AllI c
 ould print the docs for OpenWindowedScreen(), but I don't want to.

URL: http://forum.audiogames.net/viewtopic.php?pid=183926#p183926




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Pure basic: has anyone ever heard of, or used it?

2014-08-06 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Pure basic: has anyone ever heard of, or used it?

I find that the VB6 IDE just doesn't work out for me. Sure, I've used .NET as well, but that's different. In C/C++, you have to include headers to do even the simplest operations, while in PB you hardly ever need to include things. Its all ready for use.In C/C+: Hello World is:C:#include int main(){printf ("Hello world! \n");return 0;}That's like writing the entire stdio.h file in your C file and then using printf. It's just too much code.With PB, a hello world is:OpenConsole()PrintN ("Hello world!")Input()CloseConsole()Its a lot simpler, see? No inclusion of a file probably named "pbstdio.pbi" or "pbcio.pbi". It's all included automatically by the compiler. The only time you need to include things is if someones made an external include file which adds more functions to PB than it already has. It's got 
 80 libraries with over 400 functions builtin. This is mainly the main reason I like PB. It's got everything I need.

URL: http://forum.audiogames.net/viewtopic.php?pid=183881#p183881




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Python on the Mac

2014-08-05 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Python on the Mac

Hi Orin,One thing you need to keep in mind is that Python requires indentation. For instance, on a def, if, for, while, etc. block, you need to indent it. Keep this in mind when programming in Python.

URL: http://forum.audiogames.net/viewtopic.php?pid=183812#p183812




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: accessible java IDE/SDK?

2014-08-05 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: accessible java IDE/SDK?

@keyIsFull, I must warn you: Do not try making graphical user interface (GUI)apps in java. The default toolkit, swing, does not work at all with NVDA, and the times I've gotten it to work are only dumb luck. For java books, try Learning Java. You can find it on bookshare. I forgot the ISBN, so, yeah.

URL: http://forum.audiogames.net/viewtopic.php?pid=183811#p183811




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Books on C

2014-08-05 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Books on C

Personally, I don't like objective-C because it makes C a lot more complicated than it already is.I've never tried swift; maybe I'll give it a go.Another language you might consider learning is Go, google's programming language. Here's a hello world in it:import "fmt"func main() {fmt.Println ("Hello world!")}Oh, and camlorn, I wasn't meaning to give offense to you. I was just stating that sometimes, your verbosity, well... let's just say that you get a little carriedaway with it. Don't worry, I do that to.KingGamer222, if you ever learn C, and are up for it, try learning flex/yacc, or, learn the Ragel State Machine Compiler. I have converted the documentation into HTML format; I hate PDFs!I still think that Practical C Programming still stands. It is a very great book. Try reading it.

URL: http://forum.audiogames.net/viewtopic.php?pid=183810#p183810




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Books on C

2014-08-05 Thread AudioGames . net ForumDevelopment room : Ethin via Audiogames-reflector


  


Re: Books on C

camlorn wrote:Unless you have a pressing reason to learn C specifically, don't.  C++ is more complex but better, if only because it now provides limited automatic memory management.  Unless you have a pressing reason to learn C++ specifically or are already a very good programmer, also don't.  That said:The C book from 1975 is drastically outdated.  Back then, you couldn't compile its examples on a different compiler, let alone 40 years of standardization, improvements, development, etc.  Not only won't the programs compile, but updating them will be hard.  This situation is now better, in that all the major platforms implement at least C++ 03.  Most of them have implementations of C++11 (which introduced smart pointers, the limited form of automatic memory management I swear by), but C++11 is too new to find many "I'm new to C++" resources that show you its f
 eatures.  The reason I and a lot of other C++11 programmers know the new features is because we are far along enough to need them, though I can make a very good argument that shared_ptr is something that new programmers should be shown immediately.  If you are on an embedded platform, you will be lucky to have C99/C++98, so I'm not going to waste time waxing poetical about C++11 until I know that you have it.  It would also be helpful to know your programming experience and background before I try to help past this post.The two main references these days seem to be http://www.cplusplus.com and http://www.cppreference.com. Both offer links to tutorials if you poke around.  Your best bet is to Google for tutorials, imho.  If you're dead set on a book, this SO answer gives a
  lot of them.Here's a direct link to a tutorial that appears to be pretty decent: http://www.cplusplus.com/doc/tutorial/I'm having trouble finding anything that doesn't assume you already know how to program.  If this is a problem, I'm afraid I can't help.  The work I do in C/C++ these days often requires consulting the standard when I need something new; that's the only reference for the most advanced features and guarantees, and consulting it is a sign that you're probably doing something dangerous (so when I do, I immediately consider redesign possibilities).  I know it too well to pull a bunch of good learning tutorials out of my hat, basically.C is an incredibly simple language, at the cost of having to manage literally every allocation and deallocation, having no automatic cleanup (you can get far with preprocessor magic, but I'm not even going to try t
 o explain how I pulled off those tricks without a full blog article), having no encapsulation that you don't make yourself (no equivalent of BGT's classes, and all I'm going to say is enjoy implementing vtables), etc.  C++ gives you object oriented features and a good standard library, This latter point is arguable, but having sets, vectors, maps, hashtables, and the algorithm header is a godsend as compared to C.  In C everyone writes their own version of all the standard data structures from scratch.  My last point is this: C++ is a monster that you tame, not a programming language that you learn.I'll help further if I can.  Specific questions would be helpful.Camlorn, can you stop going into depth about your opinions? Just debrief us on your opinion and leave it at that. I don't see what's so great about C++. IMHO, its a lot harder to use, and its very bloated. Also, not very many compilers support 
 C++11/C++14. Plus, how would you know if you could or couldn't compile The C Programming Language's first edition examples? Have you tried it? If you've read it somewhere, don't believe it; verify it. How would you know if I was lying if I said I was 30 years old? I'm not, but still. What if I set my age somewhere else and set my age to 30 years ago (1984)? BTW, you probably could've compiled those examples around 1983, around the time microsoft began development of windows. Remember, in 1976, compilers didn't exist. Hell, we didn't have a clear vision of what binary was. All we had were little punch cards that you inserted into a machine and hoped you got your code right. That's really all we ahd. Well, along with empire building sized computers that filled up an entire room. Some of those were so power needy that one of them dimmed an entire section of lights in one of the states. I forget which one. So, again, keep your in-dept opinion
 s to yourself, and state them in simple, one or two liners.As for books, I recommend Practical C Programming. It goes in depth of what everything does and how it works, and I really like it.

URL: http://forum.audiogames.net/viewtopic.php?pid=183787#p183787




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector