SRL Archive - C/C++ Help and Tutorials

n3ss3s(radio)@Entrance: I'm going in!


n3ss3s

2007-11-27 13:09:45

I decided that I am going to learn C, or atleast try to.


So, where did you learn, and where is a good place to read about C?

EDIT: Correction, should I learn C++ instead?
EDIT EDIT: Difference?

BenLand100

2007-11-29 12:47:41

Get a refrence book for C and just jump right in. Very similar to Java.

C++ is object oriented C, therefore learn C first and add objects to it later. Really, most of what I do is just C, but I always use a C++ compiler ;)

Hugolord

2007-11-29 13:01:06

what's the name of ur compiler Ben?

R0b0t1

2007-11-29 21:20:29

Its his mind. DUH!



#include <windows.h>
#define WIN32_LEAN_AND_MEAN

using namespace std;

int main(){
cout >>"N3ss3s: I'm going in!";
cout >>"BAM! BAM! BAM!";
cout >>"N3ss3s: Mission complete.";

return 0;
}

Sp0rky

2007-11-29 22:21:41

Dev C++ is a good free compiler from Bloodshed software.

Here

2007-11-29 22:23:43

Yes, C is better to learn first. Learning OOP first encourages messier and slower code writing.

And Dev C++ is good, but it's not lean. It adds a lot of overhead. But for beginners, whatever. Unless you want to build giant programs, it should be good enough.

Sp0rky

2007-11-29 22:25:38

From: Here
Yes, C is better to learn first. Learning OOP first encourages messier and slower code writing.

And Dev C++ is good, but it's not lean. It adds a lot of overhead. But for beginners, whatever. Unless you want to build giant programs, it should be good enough.


He is a beginner. It's fine. What I recommend is always right =P

R0b0t1

2007-11-29 22:45:02

What would make something in an OOP language slower than a non-OOP languages? (Such as AOP languages..)

n3ss3s

2007-11-30 06:16:48

I have Microsoft Visual 2008 Express…

Yeah, say it, it sucks and everything?

Here

2007-11-30 06:35:29

VS isn't too bad actually, but you might want the SDK.

And as for why OOP is more inefficient: http://www.perlmonks.org/index.pl?node_id=645261

R0b0t1

2007-11-30 08:25:44

Yes, I have VC++ 2008 express. I actually find it quite easy to use.


And the SDK :p