Is C really that hard to learn?

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

Kale wrote:
Kaeru Gaman wrote:I don't get these two statements resp. I doubt them...
See:
crtdll.dll
msvcrt.dll
>> wich OS....
you didn't say wich OS you mean.
them both DLLs are in my system, too, but afaik I don't have the .NET

and to point 1:
C is a compiler-language. you don't need a runtime-library for it.
if you do, you perhaps chose the wrong compiler.

what I mean is, if you state very specific statements, you should also state the environment of your specific statements.

a simple C program does not need a runtime library,
and not every OS contains this one and the .NET library....
oh... and have a nice day.
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

CRTDLL.DLL: 146KB
MSVCRT.DLL: 341KB

.NET Framework 2.0: 22.4MB
.NET Framework 3.0 Upgrade: 2.3MB

Plus the 2 runtimes up top have come with every Windows thats still in use today and you really don't even need msvcrt.dll or crtdll.dll.

< 0.5 MB vs 24.7 MB
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Just about all c implementations on Windows use the Microsoft c run time library -and quite a few C++ implementations as well.

Hell, even some indie languages use the libraries. :)
I may look like a mule, but I'm not a complete ass.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Kaeru Gaman wrote:which OS....
Windows.

Are you using another OS?
--Kale

Image
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

but that will make them part of the OS but not part of C ;)

what is in that libraries?
is it completely impossible to write a program in C, compile it and run it without acessing those libs?

Kale wrote:
Kaeru Gaman wrote:which OS....
Windows.

Are you using another OS?
there are more than one windows.
when you said "it's part of the OS now", how should one know if you meant only XP or yet only Vista?
Last edited by Kaeru Gaman on Wed Mar 07, 2007 3:18 pm, edited 2 times in total.
oh... and have a nice day.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

dracflamloc wrote:CRTDLL.DLL: 146KB
MSVCRT.DLL: 341KB

.NET Framework 2.0: 22.4MB
.NET Framework 3.0 Upgrade: 2.3MB

Plus the 2 runtimes up top have come with every Windows thats still in use today and you really don't even need msvcrt.dll or crtdll.dll.

< 0.5 MB vs 24.7 MB
Yes but the functionality contained with the new runtimes are fantastic. I'd rather develop using these then the old crap any day. :wink: Remember that Windows has these installed by default now.
--Kale

Image
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

can somone please show me what types of tricks you mean one can do with the keywords, I mean there is the LIB thing, I understand this and use it in my Server (written in C++ (doesn't use much of the fancy stuff like templates, because it doesn't use them and moderate OOP because my philosophy is to use OOP only for things that clearly are objects))...
User avatar
GeoTrail
Addict
Addict
Posts: 2799
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Chick fight :lol:

No seriously. I have one C++ book, Teach Yourself C++ by Richard Riley, I learned alot from that. But as Kale said, I think it's hard to understand other peoples codes. Might be because I'm not good enough with C++. I've tried C# using the Express version from Microsoft and that is alot easier to learn and use.

But in the end, no matter what I do or use, nothing will EVER take me away from PureBasic ;)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
merihevonen
Enthusiast
Enthusiast
Posts: 326
Joined: Mon Jan 01, 2007 7:20 pm

Post by merihevonen »

srod wrote:@merihevonen, there are more c tutorials scattered around the net than porn sites. Just do a Google search.
I do know many many many many porn sites.. I don't think there are that many sites about C :lol:

Btw.. if anyone wants to have fun, play this video strip poker flash game :P
h--p://dev.kerb.co.uk:8080/poker/
NOTE: THE ABOVE GAME CONTAINS SEXUAL CONTENT! THAT MEANS IT CONTAINS NUDITY! YOU HAVE BEEN WARNED!

I REALLY MEAN IT! THE ABOVE LINK TO THE POKER GAME IS NOT SAFE FOR WORK! IT ISN'T SAFE FOR YOUR KIDS NOR FOR YOUR WIFE! YOU GO TO THE SITE AT YOUR OWN RISK! IF YOU DON'T KNOW WHAT PORN OR SEX IS, THEN DON'T GO TO THE SITE! YOU HAVE BEEN WARNED FOR THE 2ND TIME!

Otherwise, have fun trying to undress that girl :P
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Kaeru Gaman wrote:but that will make them part of the OS but not part of C ;)

what is in that libraries?
is it completely impossible to write a program in C, compile it and run it without acessing those libs?
http://en.wikipedia.org/wiki/ANSI_C_standard_library
--Kale

Image
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

Linux has a c lib too not only Windows.

Most of the compilers do use them, but not all.

This said if you use a compiler that uses these c libs you will not notice it.
You could code in asm and choose different libs.. (or make your own)

Bottom line: you don't have to use them, it's not mandatory.

It's just an easy way...
Post Reply