Advertisement

Need Some Insight And Guidance

Started by July 30, 2002 06:39 PM
16 comments, last by Sinclair 22 years, 5 months ago
Hey, I''m a newbie too but i learned C++ and it wasn''t too hard
If u are wondering what compiler to use, go with Visual C++ 6.0, it comes free in Tricks of the Windows Game Programming Gurus (i also bought that). Tricks of the Windows Game Programming Gurus does teach u everything u need to know to make a complete game.
U definitely need to learn C++ and get Tricks of the Windows Game Programming Gurus!

Good Luck



The difference between insanity and
genius is measured only by success.

BTW: all that stuff about C++ is a total exaggeration
Ryan P. Barry
Thank you so much for the help. I have one more important question.
this is semi aimed at drakonite ,but all input is welcome.


When you say that vb and c++ can cause "problems" that can only be fixed by rebooting what do you mean. Do the compilers become unresponsive or something like that. The reason I`m worried about a language destroying my comp is because I share one witha room mate. I`m working and i will get my own eventually, but if programming is gonna fragment and put errors and stuff on my hardrive and elswhere i would appreciate knowing.

thx


sinclair393@hotmail.com
sinclair393@hotmail.com
Advertisement
Using a "sandbox" wrapper like DirectX gives you the advantage of playing within a certain set of limits without fear of retribution for doing something silly. For example, before there was DirectX, people would program in DOS, writing directly to video hardware using a machine-code language called Assembly. This could certainly damage your computer if you tried something undocumented (or documented as dangerous ).

But with the advent of higher-level things such as DirectX, it''s relatively impossible to damage your computer. Granted, C++ will let you do things that VB won''t, but as long as you''re just trying to write games, the worst thing that you might have to do is reboot your computer. The reason for this is when you attempt to write to a section of memory that belongs to another program or process. If the process is OS-related, you might have to reboot.

That having been said, if you''re programming on a Windows 9x-kernel operating system (95, 98, and Me), you''re stuck with the FAT32 file system. This unfortunately is not as reliable and foolproof as NTFS (which is native to Windows NT, 2000, and XP). Coupling an NTFS system with learning to program makes your "sandbox" a little safer, because the file system is protected, and thus less susceptible to damage to critical OS files from frequent reboots. As well, NT has protected-mode memory access, which prevents the problems from paragraph #2.



MatrixCubed
http://MatrixCubed.cjb.net

What happens is you will run your program and then the entire computer will lock up while it is running.

Feel free to email me at NYYanks432@hotmail.com if you have any questions
Feel free to email me at NYYanks432@hotmail.com if you have any questions
what is "dangerous" about c++ is that it doesn''t check to make sure that you are reading memory that you are supposed to be reading. With a pointer you can go read any chunk of memory in the system. If you happen to write over soemthing important the machine will crash. It is not a tradgy, but I have noticed that I have to reinstall Windows more often if I''m programming a lot.
So that is the infamous "memory leak"?
Advertisement
Zeraan: no, memory leaks are when you create new objects and forget to delete them afterwards, slowly (or not so slowly) eating up all of your RAM.
if you are using windows (at least the versions I use, 98 and 2000) you will never need to reinstall. The program will crash but that''s as bad as it gets, at least for me.

This topic is closed to new replies.

Advertisement