:
But APIs are different. They're only really released through the MSDN and they need a lot more detail to be useable (compared to a leaked copy of the OS installer, which is possible to be fiddled with even without any instructions). |
:
|
:
Even if it was a full copy of Win8, that's irrelevant. No-one can code with it unless they get the full API information from Microsoft. |
I know all the web-based languages (to some degree), HTML, JS, PHP, MySQL, AS3 (though HTML and MySQL aren't really programming languages), and I recently obtained a pdf of C++ for dummies. But before I could be fucked reading it could someone tell me how different C++ is?
|
Well C++ isn't much like html I know that much. I bought a book no it which should arrive soon so that I can do more stuff than just the basics.
|
:
|
I've always wondered with C++ how games (or anything) is displayed, apart from using the command box. In AS3 I just write some code concerning pre-drawn images and their (x, y and sometimes z) location on the stage, but C++ hasn't got a stage as such.
EDIT: Oh and I'm glad that PHP syntax is similar to C++, as I rather like it. Contrary to JS and AS3 which I find fugly (and apparently are based off Java). |
Java has very similar syntax to C++, though the definition of classes is different and Java doesn't have pointers. Not explicitly, at least. PHP is closer to C, as it is not typically used in an OO fashion. I know it can, but it's not done very often.
C++ on its own can only produce console/command line applications. In order to have a user interface, you need a graphics library. That could be a proprietry one from Microsoft or Apple, or a cross-platform one like GTK. |
On a semi-related note, does any one know how to stop words from splitting in command prompt. For example if you write a sentence like this:
This is a very long sentence and it takes up two lines in command prompt and the end of the box is.........................................................^ here say command prompt does this: This is a very long sentence and it takes up two lines in command pr ompt can I stop that from happening? |
It should be possible. Google around for C++ line wrapping or something.
|
Yes but they are huge arduous codes that slow down playability of an exe.
furthermore, I would like to make sure the Command Prompt doesn't close for my text based application. At the moment I am using: :
|
:
|
Well yes I would have thought so, that's C++ code.
|
:
system("PAUSE") As for the line break issue, that's an issue to do with the console, not your program. I don't think that the Windows console width can be changed, so you're better off just tweaking your program to only have short output strings. |
Ok, thank you very much.
|
What command line programme are you using?
|
:
|
I use bloodshed for everything, it's the most fantastic programme.
|
Do you mean Dev-C++? 'Bloodshed' is the name of the developer, not the program. It's a nice little IDE, but I stopped using it when development died mid-beta, back in 2005ish.
I generally use Eclipse with the CDT plugin. |
:
|
Yeh, for some reason it's in my head that program should be programme. I don't even know why.
|
In the U.K., all uses of the word programme except for 'computer program' should be spelled with the '-me'. In the U.S., 'program' is used for (almost) everything.
Source. This exact sort of whining is what caused The Micallef Program (one of my favourite comedy shows of all time) to be renamed 'The Micallef Programme' for season 2. Then, for some reason, 'The Micallef Pogram' in the third season. |
Ah, well that's why I say programme then. In that case I'm going to use that more often instead of trying to correct myself.
|
Okay. Just as long as you know that you still used it incorrectly in this instance.
|
Oh. Fuck.
|