Hey all!
Do you guys know some good stuff for me to learn some good 'ol C stuff? Im trying to prepare for the programmers olympics.
If there is more languages that you want to share go ahead, Im looking for some Kobol stuff too (for job purposes)
Hey all!
Do you guys know some good stuff for me to learn some good 'ol C stuff? Im trying to prepare for the programmers olympics.
If there is more languages that you want to share go ahead, Im looking for some Kobol stuff too (for job purposes)
The very ugly forgive, but beauty is essential - Vinicius de Moraes
C or C++? They're are completely different. You'll have to go the archives to find stuff on Cobol![]()
Oh no the picture of my dog disappeared!
C#'s a good language. The syntax isn't as infuriating as C++ (imo) but it's still very powerful.
Anyway, Sam's are generally great books.
Under the Patronage of Leonidas the Lion|Patron of Imperator of Rome - Dewy - Crazyeyesreaper|American and Proud
both, Im going back to basics.
C# is not on my plans yet, but if you have some good books do please tell me
The very ugly forgive, but beauty is essential - Vinicius de Moraes
I've used this one. Pretty good stuff. I think it does require a little familiarity, but that's just me.
To be governed is to be watched, inspected, directed, numbered, regulated, enrolled, indoctrinated, controlled, checked, estimated, valued, censured, and commanded, by creatures who have neither the right, wisdom, nor virtue to do so. To be governed is to be at every operation, at every transaction noted, registered, taxed, measured, numbered, assessed, licensed, admonished, reformed, corrected, and punished. It is, under pretext of public utility, and in the name of the general interest, to be placed under contribution, drilled, fleeced, exploited, monopolized, extorted, and robbed; then, at the slightest resistance, to be repressed, fined, vilified, harassed, abused, disarmed, choked, imprisoned, judged, condemned, shot, deported, sacrificed, sold, and betrayed; and to crown all, mocked, ridiculed, derided, outraged, and dishonored. -Pierre-Joseph Proudhon
Oh no the picture of my dog disappeared!
There are even youtube videos that can help get you off your feet. I learned a good bit of C++ from only the internet.
C++ http://www.amazon.com/Sams-Teach-You...8739378&sr=8-9
C# http://www.amazon.com/Sams-Teach-You...8739402&sr=8-3
They're good for a somewhat intermediate programmer.
Under the Patronage of Leonidas the Lion|Patron of Imperator of Rome - Dewy - Crazyeyesreaper|American and Proud
I'd stay away from sams. And I'll generally stay an arms length away from C++, horrible language at the best of times. And C#, don't get me wrong I love the idea of it but that's where it shows it's ugly face. It's based on a system programming language but is intended for multi purpose use, so it's neither as good as C or C++ (if you want to torture yourself) for system programming use or as good as an application programming language such as basic for application development.
Last edited by Dewy; February 28, 2011 at 12:42 AM.
Oh no the picture of my dog disappeared!
What's wrong with Sams? It's definitely not for the new programmer, but I've gotten a lot of use out of it. And while I agree with C++, I think C# is a pretty good alternative. Look what they've done with C# and Unity. That's working out pretty well. I know it's not as powerful as C++, but the syntax makes up for it in my opinion.
C# is superior in my opinion, because:
-It's pretty simple to create decent GUIs, has event driven programming, and can go toe to toe with Vbasic.net for application development.
-For larger -applications (games, etc) the JIT compiling is dynamic (CIL) and can adjust to individual PCs, while C/C++ are unmanaged native languages, so that's not an option.
-Huge class libraries
-Garbage collector (goodbye memory leaks)
-No header files.
Last edited by Bolkonsky; February 28, 2011 at 01:56 PM.
Under the Patronage of Leonidas the Lion|Patron of Imperator of Rome - Dewy - Crazyeyesreaper|American and Proud
What do you guys have against C++? I'm nothing but an amateur, but its the only language I've learned.
TWC has stopped me from posting this twice and I have to rewrite it again. So it's a lot shorter this time around.
The books are like high school teachers, they tell you what code to write but do a horrible (if any) job at explaining why you do it. IIRC I've seen some horrible code in Sams.What's wrong with Sams?
Unity is programmed in C++. C# is just a scripting language used by UnityLook what they've done with C# and Unity.
vb.net is faster to develop with and they both compile to the CIL. I'll pick vb.net over C# for application development any day.-It's pretty simple to create decent GUIs, has event driven programming, and can go toe to toe with Vbasic.net for application development.
For most games you'll be using C/C++ anyway i.e OpenGL-For larger -applications (games, etc) the JIT compiling is dynamic (CIL) and can adjust to individual PCs, while C/C++ are unmanaged native languages, so that's not an option.
C and C++ have more libraries-Huge class libraries
There is still memory leaks with garbage collection and added overhead.-Garbage collector (goodbye memory leaks)
Your point being?-No header files.
It does OOP horribly, and it's not even fully OOP. And generally horrible to use.What do you guys have against C++? I'm nothing but an amateur, but its the only language I've learned.
Oh no the picture of my dog disappeared!
That's sort of true, but the further along you get the more they explain. They're good for people with some knowledge of how programming works before hand.
I didn't say it wasn't. It's worked out pretty well, I'm following a couple of indie games that are using it.Unity is programmed in C++. C# is just a scripting language used by Unity
That entirely depends on what type of application you're developing, and how used to developing apps you are with each language.vb.net is faster to develop with and they both compile to the CIL. I'll pick vb.net over C# for application development any day.
Probably just because C is older and that's what most programmers know. A couple of projects based on C# that leap to mind are Axiom, and Lost Empire: Immortals. I'm sure there'd be more if I looked it up.For most games you'll be using C/C++ anyway i.e OpenGL
As much as I enjoy disagreeing with you, I think you're right on this one.C and C++ have more libraries
Yeah - If you're the worst at algorithms, then yes, there are. The whole C++ is faster/more efficient might be true if you're running a 10 year old system, but that's about it.There is still memory leaks with garbage collection and added overhead.
That it's a lot easier and simpler for someone like me to start programming on something without them.Your point being?
Which is still why everybody uses it. So what would you recommend as a language? Python?It does OOP horribly, and it's not even fully OOP. And generally horrible to use.
Under the Patronage of Leonidas the Lion|Patron of Imperator of Rome - Dewy - Crazyeyesreaper|American and Proud
I may be a little ignorant, but the thing I like about C++ is that it does everything. Nothing well, nothing easily, but it does everything.
Under the Patronage of Leonidas the Lion|Patron of Imperator of Rome - Dewy - Crazyeyesreaper|American and Proud
Arh so a syntax reference book disguised as a learning book. What a great point it its favour.That's sort of true, but the further along you get the more they explain. They're good for people with some knowledge of how programming works before hand.
Not a lot of games still use C code. Lost Empire uses C++ code (DirectX), I'm not doubting it uses C# for other things.Probably just because C is older and that's what most programmers know. A couple of projects based on C# that leap to mind are Axiom, and Lost Empire: Immortals. I'm sure there'd be more if I looked it up.
Err no. Most C# memory leaks come from native APIs which you're bound to use for complex software such as games.Yeah - If you're the worst at algorithms, then yes, there are. The whole C++ is faster/more efficient might be true if you're running a 10 year old system, but that's about it.
Just because loads of people use it doesn't mean it's good. Look at COD, masses drove to that pathetic game.Which is still why everybody uses it. So what would you recommend as a language? Python?
Tools are useful for different needs. A spear is great for hunting but you're not going to use it to cut down a tree.
Oh no the picture of my dog disappeared!
I get the impression that Mr MM already knows some programming. I can understand how it'd be confusing if it's your first .NET introduction, but I haven't had a problem with it.
I'm pretty sure that the engine's C#. I'll have to look into it though. What about Axiom?
If you're using pointers, maybe, but then the case could be made that it'd be easier to use a CIL instead of pointers.
Under the Patronage of Leonidas the Lion|Patron of Imperator of Rome - Dewy - Crazyeyesreaper|American and Proud
Sam's teach yourself. I can understand why most people would be confused. People go into reading it to learn programming not because they already know programming.
The mere fact it's using DirectX 9 to render the game means it's using C++ code. Either as a wrapper or a framework providing access to the DirectX API. I have no idea about Axiom, haven't even heard of it.
Garbage collection doesn't work for native (unmanaged) APIs, you still have to manage the native (unmanaged) code.
Oh no the picture of my dog disappeared!
I can see how the title would be misleading, true.
Axiom's a C# port of Ogre.
I don't know enough about complicated applications and games to comment, so I'll take your word for this.![]()
Under the Patronage of Leonidas the Lion|Patron of Imperator of Rome - Dewy - Crazyeyesreaper|American and Proud
Oh I miss my programming days. I used to know a little C++ and PHP. Probably could relearn PHP though in a week.
Track & Field = Life
http://www.last.fm/user/mp0295