|
-
Which language was windows 9x/2k made with?
Hi, i'm new to programming...I'm just wondering what language the MS OS's were made in and what language games like quake3/half-life were made in. I'm guessing C++; but it seems kind of unbelievable for some reason. I have a book on C++, but the type of graphics it talks about is artari type graphics, although it is a book for beginners.
[This message has been edited by jaaaje (edited June 23, 2001).]
-
I believe that they were done in c++, if you look at mfc (Microsoft foundation classes) you can do windows graphics in C++, it is just much harder then in vb. If you really want to do windows level graphics in C++ look at visual studio.net, all the languages have access to windows forms (like vb) and it makes graphical programming much easier.
-
Hammerhead Shark
Originally posted by jkresh:
I believe that they were done in c++, if you look at mfc (Microsoft foundation classes) you can do windows graphics in C++, it is just much harder then in vb. If you really want to do windows level graphics in C++ look at visual studio.net, all the languages have access to windows forms (like vb) and it makes graphical programming much easier.
Whatever it was, it didnt work very well because programming in windows is a mess of crap to deal with... its a wasteland of badly designed API's and poorly documented calls.
------------------
"Given enough time and money..Microsoft will eventually invent a Unix." - ME
Why Yes! I am a proud member of the SF Linux Hippy Club.
-
The stuff that's native to the STL sucks. That's why you go get the OpenGL or DirectX SDK's and use those for your 3D games and such. Learn C++ first, then just grab the SDK and read the man pages.
------------------
Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}
Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}
-
Mako Shark
Originally posted by reklis:
The stuff that's native to the STL sucks. That's why you go get the OpenGL or DirectX SDK's and use those for your 3D games and such. Learn C++ first, then just grab the SDK and read the man pages.
STL provides no graphical capabilities. In fact the whole C++ standard library doesn't provide any graphics routines AFAIK. The graphics code was probably done using assembler and Windows 9x was probably made with C and assembler because the Win32 API is designed for programming in C... MFC is just a wrapper library for Win32API
------------------
So easy to use, no wonder it's number one!!!
Where do you want to go today?
Member of NT Jocks
Tesla coils are not weapons
-
your reflection
hasnt anybody seen the source code for Windows XP that got stolen? just look at that...
------------------
-If only AOL sent their software on a CDRW
System Being Built:
AMD Athlon 1.4ghz 266fsb
256 MB DDR RAM
40 GB 7200 RPM Hardrive
13 GB 7200 RPM Hardrive
12x/10x/32x CDRW
16x DVD
32 MB graphic card
Current System:
Pentium II 350 mhz
244 MB 100mhz SDRAM
2x 13 GB 7200 RPM Hardrives
12x/10x/32x CDRW
100MB Zip
32 MB graphic card
-
Hammerhead Shark
I will save you time of searching for it yourself...
/* Source Code to Windows XP */
#include "win31.h"
#include "win95.h"
#include "winnt.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#include "monopoly.h"
#define INSTALL = HARD
char make_prog_look_big[1600000];
void main()
{
while(!CRASHED)
{
display_copyright_message();
display_bill_rules_message();
do_nothing_loop();
if (first_time_installation)
{
make_50_megabyte_swapfile();
do_nothing_loop();
totally_screw_up_HPFS_file_system();
search_and_destroy_the_rest_of_OS/2();
search_and_destroy_linux();
disable_Netscape();
disable_RealPlayer();
disable_Corel_Products();
hang_system();
}
write_something(anything);
display_copyright_message();
do_nothing_loop();
do_some_stuff();
if (still_not_crashed)
{
display_copyright_message();
do_nothing_loop();
basically_run_windows_3.1();
do_nothing_loop();
do_nothing_loop();
}
}
if (detect_cache())
disable_cache();
if (fast_cpu())
{
set_wait_states(lots);
set_mouse(speed, very_slow);
set_mouse(action, jumpy);
set_mouse(reaction, sometimes);
}
/* printf("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
/* printf("Welcome to Windows 98"); */
/* printf("Welcome to Windows ME"); */
/* printf("Welcome to Windows 2000"); */
printf("Welcome to Windows XP");
if (system_ok())
crash(to_dos_prompt)
else
system_memory = open("a:\swp0001.swp", O_CREATE);
while(something)
{
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
check_for_and_screw_up_lilo();
}
create_general_protection_fault();
}
------------------
"Given enough time and money..Microsoft will eventually invent a Unix." - ME
Why Yes! I am a proud member of the SF Linux Hippy Club.
[This message has been edited by The_Hitman (edited June 25, 2001).]
[This message has been edited by The_Hitman (edited June 25, 2001).]
-
I stole another piece of MS Windows XP code and it pretty much similar to this one, I can verify the code isnt false.
------------------
DHAHL3seasons GP:73 G:121 A:55 Pts:176 GWG:12 +/-:184
UWSWA1season GP:9 G:12 A:8 Pts:20 GWG:3 +/-:-3
uwcdc.com or namgor.com
DHAHL3seasons GP:73 G:121 A:55 Pts:176 GWG:12 +/-:184
UWSWA6seasons GP:41 G:53 A:46 Pts:99 GWG:5 +/-:-25
MCBHL3seasons GP:14 G:20 A:8 Pts:28 GWG:4 +/-:19
uwcdc.com or monkis.com
-
your reflection
whoa, havnt seen that in years. nice to know some people still keep it on their hardrives, lol.
------------------
-If only AOL sent their software on a CDRW
System Being Built:
AMD Athlon 1.4ghz 266fsb
256 MB DDR RAM
40 GB 7200 RPM Hardrive
13 GB 7200 RPM Hardrive
12x/10x/32x CDRW
16x DVD
32 MB graphic card
Current System:
Pentium II 350 mhz
244 MB 100mhz SDRAM
2x 13 GB 7200 RPM Hardrives
12x/10x/32x CDRW
100MB Zip
32 MB graphic card
-
The OS is most likely a combination of C++ and assembler. there's some low level hardware/bios stuff that you must use assembler for.
------------------
-Fiddler
-
Esperanto.
Actually, Windows is probably written in C/C++/ASM. Lower level things were probably done in ASM, obviously. I'm guessing the GUI was layed down in C and then most of it was written in C++. That's just a guess, but I'm sure it's not that far off.
Oh yeah, and the kernel was made partly in GWBASIC, and partly with a special mix of herbs and spices. The TCP code was done in NES assembly.
System specs:
| Core i5 750 | GA-P55A-UD3 | 4.0 GB G.skill DDR3 1600 | eVGA 470 GTX |
| Intel X25-M 80 GB SSD | WD 5000AAKS | Lian Li PC-7FN | Corsair TX750W |
| Windows 7 Home 64-bit |
-
Quake 3 - Id still used straight C for Q3, I'm pretty sure. Doom 3 will be the first game that they make they will be done in C++ (Unreal was done in C++).
Half-Life was based on the Quake 1 engine, so it started off in straight C (obviously with some ASM in there). Valve added a lot to the existing code, but I'm going to GUESS that they stuck with straight C.
System specs:
| Core i5 750 | GA-P55A-UD3 | 4.0 GB G.skill DDR3 1600 | eVGA 470 GTX |
| Intel X25-M 80 GB SSD | WD 5000AAKS | Lian Li PC-7FN | Corsair TX750W |
| Windows 7 Home 64-bit |
-
I'm not sure about 2k or XP but I do know that 95/98 is about 90% pascal... i'm assuming that the other 10% was a language written solely for the purpose of displaying blue screens :P
-
Reef Shark
lol, Pascal.
I think one of the Mac OS's was done in Pascal. 
------------------
## root is the greed of all evil ##
/* Navi Specs */
Abit KT7-RAID
Duron 800 @ 1GHz
Geforce 2 GTS
512MB Micron/Crucial SDRAM
SB Live! 5.1 w/ Live! Drive
Maxtor ATA100 40GB
Pioneer 16x DVD
HP 9300 series CD-RW
Netgear FA311 NIC
Win2k Server / Linux Mandrake 8.0
Sony Multiscan 17SF (shut up, I know it's old)
## root is the greed of all evil ##
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|