Jump to content

skew

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Everything posted by skew

  1. In other programming languages and DBMS, strings are typically represented by either a ' sign or a " sign. In contrast to MySQL, these two sign are not used to represent a string. The ` sign is curiously used. This is in my opinion very uncommon in the programming world. Also in speaking languages (English, German for example) this sign is uncommon. Which reasons had led to this decision?
  2. It depends. What are the requirements? Should it be a browser game? Should it be run on other operating system? Everyone would recommend another language and platform. The best is, if you decide what are your requirements and choose then the right platform and language. For beginners, I recommend the XNA. It is based on C#, so without pointers and old programming guidelines. It is a modern programming language and easy to learn. The fundaments are not so hard. Try it and gather experience. Besides programming there is also the modeling part. Be aware. Developing a game is not a thing which you learn over night or over day. Honestly, it is hard and takes time.
  3. I'm using WAMP as my local development server on my machine (Windows 7 x64). After installing and uninstalling Zend Server CE and also restarting my computer, I get in trouble with WAMP. Apache is already started and the icon of WAMP is colored green. As soon as I go to any PHP file on my local host, I get prompted to download this file. It seems that Apache is not started but this is not so. Very strange. My next step was to reinstall WAMP completely. All ports seems to be okay, especially port 80 from Apache. The same problem appears. Are there any solutions and why this won't work?
  4. Such a CHM file doesn't exist. If you are looking for information and documentation, go to MSDN. MSDN is a portal were you can find the whole specification. It is also very uncommon to download all information about C# and the .NET platform. All you can find at MSDN.com. Visual Studio 2010, by the way, provides a very help system. Point on a word and press F1.
  5. With the same physically location I mean the location in the API of PHP. When both of the two lines of code do the same, then it must be one and only one "function". It would be strange if echo "blah"; is not the exactly the equivalent of the following: echo("blah"); In summary, it doesn't make a difference which invocation style I use or prefer?
  6. I had just discovered that the echo works also like a function. Here an example: echo("Hello World!"); Normally and in many books I see it this way: echo "Hello World!"; What's the difference between both lines? Does the second line points to the same physically location as the first one it does?
  7. It sounds like a question of taste, isn't it? Thanks for all your answers.
  8. I had just began to learn PHP and now I stumbled over a problem. In PHP and also in HTML, it is possible to use single and double quoted strings. In HTML, for example, I can write the following code: Both lines are equivalent and the result on the screen is the same. The same is also in PHP. This gives me a headache and some confusing. Is there something like a coding-guideline when and where I should use which of the quotations? And what's with quotations which are nested in other strings like the following: ? What are the reasons why PHP supports two kinds of quotations? In other popular programming languages (C#, Delphi, C/C++, ...) this doesn't exist.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.