|
|
|
|
|||||||
| Register | FAQ | GFWiki | Members List | Donate | Arcade | ChocoJournal | Mark Forums Read |
| Welcome to the Gamingforce Interactive Forums. |
|
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).
|
![]() |
|
|
LinkBack | Thread Tools |
|
C/C++
I am great fan of C/C++ and wanīt to start a forum for all that people that understand (or want to understane) anything from it.
And I wanīt to ask. Does anyone know if C/C++works fine with the Windows XP? I always had problem with this. Best Regards. |
|
Am I correct in understanding that you want to make a fansite for a programming language? Y'know there are already lots of tutorial and help sites on the Internet. Just hit up Google.
Also, I'm pretty sure C/C++ was used to write portions of Windows XP. But don't quote me on that. |
|
Yes, I know it, but somethings are either not easy to understand or not to find. e.g. I always try to make games with C/C++ but somethings I read in all possible places but I didnt find.
Best Regards. |
|
yes, given that you have a compiler that is compatible with windows xp (such as visual c++ or vc++.net).
any programming will work with any os as long as the it has a compiler/assembler/interpreter written for it. |
Last edited by Snowknight : Mar 3, 2006 at 02:54 PM.
|
with a some assemblerI have an industrial placement next year with www.gltrade.com and have to program multi threaded c++ code almost exclusivly, gonna be in interesting year ![]() |
|
Very little code for Windows is actually written in asm. Sure, the base pieces of Windows are for new editions, but those are largely untouched between version updates. It is much easier to write a great compiler once and then write everything else in a higher-level language.
Just about the only reason asm is even taught in universities anymore is because it helps broaden the understanding of how computers operate, and not much else. |
|
grodiens:
If you want to make games in C++ and have a $100 bucks to spend, go to www.garagegames.com and download the Torque Game engine. It is the best way to build / design a game that has even been made for so cheap a price and the help forums there are excellent. Any problem you possibly could have weith it has seriously been answered by at least two people in the help forums there. |
|
Thank you all for the tips. Maybe I will try the Torque Game to make my games (I muss see my money first. :ashamed: )
I tried today to open the c++ but I canīt make it to work. Does anyone knows a version that works simply with the XP? Best Regards. |
|
Right-click the source code, select Open With, then select "Notepad"
If you want to actually compile the code, get something like this. |
|
Best Regards. |
|
I'm on the opinion C# would be THE language both for application developent and OS development if it was optimized to the degree of C/C++, allowed asm keyword for inline assembler, function calling convention mangling, forced inline keyword and native code generation.
Array bounds checking, the string implementation, and its clean syntax makes C# very neat, even better than Java since it allows gotos and pointers (not recommended maybe, but they SHOULD be even for a last resort). (Although, in the case of writing new OS code, you'd first write all the memory management stuff before creating objects via the new instruction or threads, per example).
Last edited by Tek2000 : Mar 6, 2006 at 05:57 PM.
|
|
How much harder is it to program in assemly than it is in C/C++? I know it's much more arcane, but the tendancy is, the more assembly used in a program, the faster it runs (as painfully evident in my pure C++ emulators as oppsed to the likes of Kega, Gens and Zsnes).
When Smokers try to lasso him, he grabs their tongues and pulls them to HIM instead.
When Hunters jump on him he flips them over, pins them to the ground, and rips out their teeth one at a time. When Boomers vomit on him he wipes himself off, shoots peptobismol into their mouths, and performs liposuction on them before splattering their brains on the wall. When a Tank throws a chunk of concrete at him he rolls up his sleeves and puts on boxing gloves. When a Witch gives him lip he pulls his hand back and slaps that bitch right in the mouth. No zombie is safe from Chicago Ted. |
|
C and C++ are not designed to be emulated languages, which is why any "emulator" would run so poorly.
Even when programming for giant Mainframe applications that take months, programmers use high-level languages instead of assembly. Compilers do their job well and it is about infinity times easier to program in high-level as opposed to assembly. |
Java doesn't allow goto because it is not a procedural language. goto does not mean that C# has a cleaner syntax. You can say that nothing in Java is a pointer because you aren't allowed to manipulate them directly, but, really, everything in Java is a pointer. |
|
On C# - I'm no expert (I've just been learning it for a couple of weeks myself), but the entire point of C# is that it's strongly typed and prevents a lot of low-level activities that C and C++ allowed to that end. MS calls it a "security feature"; the rest of us call it "a pain in the ass".
|
|
Yeah but, and this might only be true in VS.NET, there was an easy way to disarm those restrictions. So perhaps it only relates to C# as it is in a .NET environment but, really, last I checked it hadn't branched out beyond that.
|