Gamingforce Interactive Forums
Day 4 - 21 days until Christmas

Go Back   Gamingforce Interactive Forums > Gamingforce Computing > OS and Software
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).


C/C++
Reply
 
LinkBack Thread Tools
Pango


Member 620

Level 10.03

Mar 2006


Reply With Quote
Old Mar 3, 2006, 01:15 PM Local time: Mar 3, 2006, 07:15 PM #1 (permalink) of 58
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.
Good Chocobo


Member 492

Level 15.73

Mar 2006


Reply With Quote
Old Mar 3, 2006, 01:20 PM #2 (permalink) of 58
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.
Pango


Member 620

Level 10.03

Mar 2006


Reply With Quote
Old Mar 3, 2006, 01:30 PM Local time: Mar 3, 2006, 07:30 PM #3 (permalink) of 58
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.
Chiptune Freak


Member 815

Level 16.72

Mar 2006


Reply With Quote
Old Mar 3, 2006, 02:47 PM #4 (permalink) of 58
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.
stillen


Member 165

Level 21.89

Mar 2006


Reply With Quote
Old Mar 3, 2006, 02:52 PM #5 (permalink) of 58
Originally Posted by RushJet1
yes, given that you have a compiler that is compatible with windows xp (such as visual c++ or vc++.net).
Also, the Mingw port of GCC is available for Windows through something like Dev-C++.

Last edited by Snowknight : Mar 3, 2006 at 02:54 PM.
Larry Oji, Super Moderator, Judge, "Dirge for the Follin" Project Director, VG Frequency Creator


Member 564

Level 3.20

Mar 2006


Reply With Quote
Old Mar 3, 2006, 03:03 PM Local time: Mar 3, 2006, 09:03 PM #6 (permalink) of 58
Originally Posted by Magic
Am I correct in understanding that you want to make a fansite

Also, I'm pretty sure C/C++ was used to write portions of Windows XP. But don't quote me on that.
Thats correct with a some assembler

I 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
TREAT?!?


Member 12

Level 35.63

Feb 2006


Reply With Quote
Old Mar 3, 2006, 08:21 PM Local time: Mar 3, 2006, 06:21 PM #7 (permalink) of 58
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.
River Chocobo


Member 34

Level 23.49

Mar 2006


Reply With Quote
Old Mar 3, 2006, 08:27 PM #8 (permalink) of 58
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.
Pango


Member 620

Level 10.03

Mar 2006


Reply With Quote
Old Mar 3, 2006, 08:53 PM Local time: Mar 4, 2006, 02:53 AM #9 (permalink) of 58
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.
River Chocobo


Member 34

Level 23.49

Mar 2006


Reply With Quote
Old Mar 3, 2006, 09:04 PM #10 (permalink) of 58
Right-click the source code, select Open With, then select "Notepad"

If you want to actually compile the code, get something like this.
Pango


Member 620

Level 10.03

Mar 2006


Reply With Quote
Old Mar 3, 2006, 09:10 PM Local time: Mar 4, 2006, 03:10 AM #11 (permalink) of 58
Originally Posted by Moon
Right-click the source code, select Open With, then select "Notepad"

If you want to actually compile the code, get something like this.
Thanks a lot Moon!!
Good Chocobo


Member 492

Level 15.73

Mar 2006


Reply With Quote
Old Mar 4, 2006, 12:04 AM #12 (permalink) of 58
Or you could just use gcc.
Pango


Member 620

Level 10.03

Mar 2006


Reply With Quote
Old Mar 4, 2006, 09:26 AM Local time: Mar 4, 2006, 03:26 PM #13 (permalink) of 58
Originally Posted by Magic
Or you could just use gcc.
Thanks Magic, It works fine.

Best regards
WHAT IF I HAD DIED?!


Member 39

Level 34.04

Mar 2006


Reply With Quote
Old Mar 4, 2006, 10:37 AM Local time: Mar 4, 2006, 05:37 PM #14 (permalink) of 58
Do you even now a thing about C/C++ or are you just a newbie at it?
Pango


Member 620

Level 10.03

Mar 2006


Reply With Quote
Old Mar 4, 2006, 08:18 PM Local time: Mar 5, 2006, 02:18 AM #15 (permalink) of 58
Originally Posted by Grawl
Do you even now a thing about C/C++ or are you just a newbie at it?
I can program relatively well with C but Iīm not good with XP (it always worked good with windows 98).

Best Regards.
NOT AVAILABLE


Member 1641

Level 10.58

Mar 2006


Reply With Quote
Old Mar 6, 2006, 05:53 PM #16 (permalink) of 58
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.
Everything new is old again


Member 613

Level 29.52

Mar 2006


Reply With Quote
Old Mar 6, 2006, 06:43 PM Local time: Mar 6, 2006, 04:43 PM #17 (permalink) of 58
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.
Sensors indicate an Ancient Civilization


Member 1200

Level 26.92

Mar 2006


Reply With Quote
Old Mar 6, 2006, 08:29 PM #18 (permalink) of 58
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.
TREAT?!?


Member 12

Level 35.63

Feb 2006


Reply With Quote
Old Mar 6, 2006, 09:11 PM Local time: Mar 6, 2006, 07:11 PM #19 (permalink) of 58
Originally Posted by x86
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).
Well, you can turn on ultra-optimization when compiling C# code or you can even use a non-VS compiler. I believe, and don't quote me on this because I used VS.NET/C# very shortly after it appeared, but I beliee you can write C code, or, at least, call C functions from a C# program, meaning that you can do whatever the hell you want at a lower level. Now, I never tried asm, but I believe you can either do that through C.

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.
Sensors indicate an Ancient Civilization


Member 1200

Level 26.92

Mar 2006


Reply With Quote
Old Mar 6, 2006, 09:37 PM #20 (permalink) of 58
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".
TREAT?!?


Member 12

Level 35.63

Feb 2006


Reply With Quote
Old Mar 6, 2006, 09:48 PM Local time: Mar 6, 2006, 07:48 PM #21 (permalink) of 58
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.