Page 2 of 2
Posted: Wed Mar 07, 2007 3:00 pm
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....
Posted: Wed Mar 07, 2007 3:05 pm
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
Posted: Wed Mar 07, 2007 3:07 pm
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.

Posted: Wed Mar 07, 2007 3:15 pm
by Kale
Kaeru Gaman wrote:which OS....
Windows.
Are you using another OS?
Posted: Wed Mar 07, 2007 3:15 pm
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?
Posted: Wed Mar 07, 2007 3:17 pm
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.

Remember that Windows has these installed by default now.
Posted: Wed Mar 07, 2007 3:57 pm
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))...
Posted: Wed Mar 07, 2007 5:33 pm
by GeoTrail
Chick fight
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

Posted: Wed Mar 07, 2007 6:34 pm
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
Btw.. if anyone wants to have fun, play this video strip poker flash game

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

Posted: Wed Mar 07, 2007 7:15 pm
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
Posted: Wed Mar 07, 2007 8:56 pm
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...