Announcement

Collapse
No announcement yet.

GENERAL: CTP2 Source Code Cafe

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Originally posted by Solver
    Oh true, the days when 512 kb (not 500 ) was a limit were either beatiful, or a major pain, depends on how you look at it. At least, well, you couldn't have problems with 3000 source lines because you wouldn't fit that much code anyway . I will though admit that I haven't written programs with those limits, although I did run some shameless experiements on compiling 16-bit COM exeuctables just recently.
    OK, I admit I rounded a bit, didn't want to scare people to much.......
    3000 source lines nope I think the limit was something like 2000 lines, just because of memory for the editor............

    As I said: sweet old times.........

    Comment


    • Originally posted by Locutus
      It seems Gilg is one of those technical gurus who couldn't explain something in terms mortal beings can understand if he wanted to I see a lot of those people around me so I can always spot them right away

      Solver is not quite that far gone yet
      I tried to say it as easy as possible ............. Is it my problem that such things are a bit complex??????????

      But by the way: such things are most of the time easier to explain face to face..........or via chats......

      Comment


      • Originally posted by Locutus
        It seems Gilg is one of those technical gurus who couldn't explain something in terms mortal beings can understand if he wanted to I see a lot of those people around me so I can always spot them right away

        Solver is not quite that far gone yet

        No, I am *no more* like that. I unfortunately have to deal very often with people who have a hard time understanding even the simplest computer concepts, so I had to learn to explain things very plainly for them, but I sure prefer complex explanations . Heck, I should get a prize for my explanation of various file types, file associations and such, that was really good of me .
        Solver, WePlayCiv Co-Administrator
        Contact: solver-at-weplayciv-dot-com
        I can kill you whenever I please... but not today. - The Cigarette Smoking Man

        Comment


        • But by the way: such things are most of the time easier to explain face to face..........or via chats......


          Nah, a simple what does a compiler mean can be explained quite well this way - as for details of how a compiler works, why it's needed in the first place, and how is an object file different from an executable... agreed, I'd also find those easier to explain face to face .
          Solver, WePlayCiv Co-Administrator
          Contact: solver-at-weplayciv-dot-com
          I can kill you whenever I please... but not today. - The Cigarette Smoking Man

          Comment


          • Didn't we have a MULE fan in this community? CoT or Gilg or someone? Can't quite remember who but I know there's someone. Anyway, this person (or persons, if he's not alone), might want to check out this thread.
            Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

            Comment


            • I think OnePresent will get a bit confused with all these posts
              An explanation how programming works:

              A computer program (that is what CtP2 is and all computer games) is written in a programming language. There are several programming languages, each one with specific orientation.

              Visual Basic for example is mainly used for RAD (Rapid Application Development) which mean it is fast and simple but lucks the power of other languages. It is used for developing programs exclusively for the Windows operating system (I am not current with VB so I might be wrong in this last one). HTML, the language most webpages are written in is a language created specifically for the World Wide Web and used to instruct a web browser how to render a webpage and how it will look in the screen. C++, wich is the language CtP2 is written in, is a generic one but powerful enough to be used in a wide range of applications. It is the favorite language of the gaming industry. It offers more control than Visual Basic does.

              These programming languages are written in a text form, quite similar to a spoken language but with a small vocabulary compared to spoken languages and a strict syntax. This text can be written in a simple text editor like the notepad of the Windows but it is used to be written in specialized programs, like Microsoft Visual C++ 6.0 (the editor used to originally write CtP2), that have the necessary tools to aid you to write and edit this text more efficiently. This text is what is called the "code" or more accurately "source code".

              The compiler is another tool, found in most fore mentioned speciallized programs or as stand-alone. In C++, it checks the syntax of your code and if it finds it correct it produces an object file wich contains machine code (binary form, combinations of bits of 1 and 0 that computers can understand), linker directions and other useful information. In this stage the result is not an executable program. Here's where the linker is involved. It links the object(s) file(s) with any libraries ("ready" code of common tasks like the output of a word in the screen) that had been included in the code (they are used a lot in C++ so that you don't have to re-write code for common tasks from the beginning).

              That is how a program is made as long as I can remember but since it has been some time since I last coded I might have forgotten something

              Comment


              • Wonderful! I think I might have learned something.

                Thanks to everyone for their replies.

                Comment


                • Originally posted by Locutus
                  Didn't we have a MULE fan in this community? CoT or Gilg or someone? Can't quite remember who but I know there's someone. Anyway, this person (or persons, if he's not alone), might want to check out this thread.


                  Yeah im a MULE fan - but the same problems i have with playing CTP2 MP over the net apply; the only times you see me at poly is when im at work, so i cant commit time to playing

                  And Gilg - i think any confusion over people's tech speak here at poly is understandable, after all we mostly post in English, which is not most peoples native language - heck its mine but i cant even spell properly!
                  'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

                  Bush's Republican=Neo-con for all intent and purpose. be afraid.

                  Comment


                  • Originally posted by child of Thor




                    Yeah im a MULE fan - but the same problems i have with playing CTP2 MP over the net apply; the only times you see me at poly is when im at work, so i cant commit time to playing

                    And Gilg - i think any confusion over people's tech speak here at poly is understandable, after all we mostly post in English, which is not most peoples native language - heck its mine but i cant even spell properly!
                    I am a MULE fan as well, but long time ago, I played......

                    And not sure it will work from here........

                    The discussion Solver and me had, was just about some minor details of evolvement with compilers, nothing serious

                    And by the way, for your native language, you are not doing bad Could be better though, but .........

                    Top of my head: As our worst native 'speaker', I would announce BigMC as the winner. (no offense meant) And acutally myself as the worst german native speaker

                    Comment


                    • Top of my head: As our worst native 'speaker', I would announce BigMC as the winner. (no offense meant) And acutally myself as the worst german native speaker
                      Thank you for the award I would like to thank my psychiatrist, teachers and Magret Thatcher for coking up the educational system.
                      "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
                      The BIG MC making ctp2 a much unsafer place.
                      Visit the big mc’s website

                      Comment


                      • Originally posted by The Big Mc
                        Thank you for the award I would like to thank my psychiatrist, teachers and Magret Thatcher for coking up the educational system.
                        Your psychiatrist??????????????? For what enabled your multiple personality?

                        We think we here something But it ain't english..........

                        Comment


                        • Originally posted by The Big Mc
                          ......... and Magret Thatcher for coking up the educational system.


                          Now i know my she had some supporters - they were all drug addicts!!

                          And please - could you both promise never to debate(between the two of you) life or death subjects online(just in case you ever do), that way nothing unfortunate will happen
                          Last edited by child of Thor; April 19, 2004, 09:57.
                          'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

                          Bush's Republican=Neo-con for all intent and purpose. be afraid.

                          Comment


                          • Originally posted by child of Thor

                            Now i know my she had some supporters - they were all drug addicts!!
                            You struggle with English too.
                            "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
                            The BIG MC making ctp2 a much unsafer place.
                            Visit the big mc’s website

                            Comment


                            • you were too fast for my correction - thats what happens when you rush......

                              Its the things like the 'ing'+'ness' endings that get me, and if really has 2 l's or 1 like realy? 2 l's looks better?

                              But i always was a bad speller at school - so i wasn't making fun

                              your typo on coking in schools was just too funny to not pass comment on
                              'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

                              Bush's Republican=Neo-con for all intent and purpose. be afraid.

                              Comment


                              • ... in specialized programs, like Microsoft Visual C++ 6.0 (the editor used to originally write CtP2)


                                I'm not sure, but hasn't it been said that CtP2 was built under version 5.0?
                                Solver, WePlayCiv Co-Administrator
                                Contact: solver-at-weplayciv-dot-com
                                I can kill you whenever I please... but not today. - The Cigarette Smoking Man

                                Comment

                                Working...
                                X