BYTE it''s a var that holds a number btw -255 and 255 (+/-).
d00dzs
03.02 - Language Topic Requests
Actually, byte is usually just typedef''ed as an unsigned char. It''s an 8-bit number, basically, without sign.
So far, I''m liking the suggestions you''re throwing at me. A discussion of the difference between C and C++ definitely warrants attention. The whole concept of data types and storage requirements is another area that many people would benefit from.
As for modules in C, that''s definitely important. So much so, that it''ll be part of the actual forum series.
It also goes without saying that an article on pointers is mandatory, so there''s no need to ask for one -- I''m on it.
Teej
PS: 8 bits can hold 256 different values. The computer has no concept of positive or negative -- only which bits are on and off. It''s our choice on how we wish to view the set of bits. People use BYTE instead of unsigned char (even though it''s really the same thing) because they''re showing what their intent is with the 8 bits of memory. If I call my 8 bits BYTE, it should tell the reader that I''m using it generically, for instance.
As for modules in C, that''s definitely important. So much so, that it''ll be part of the actual forum series.
It also goes without saying that an article on pointers is mandatory, so there''s no need to ask for one -- I''m on it.
Teej
PS: 8 bits can hold 256 different values. The computer has no concept of positive or negative -- only which bits are on and off. It''s our choice on how we wish to view the set of bits. People use BYTE instead of unsigned char (even though it''s really the same thing) because they''re showing what their intent is with the 8 bits of memory. If I call my 8 bits BYTE, it should tell the reader that I''m using it generically, for instance.
Hey Teej!
I would like to see an artical dealing with Visual C++ and its interface as I have only delt with python wich is interpreted and lpc on a mud and have never delt with a compiler before. Would help me tons and hopefully there are other people on this forum that would benifit from it too!
Thanks =D
I would like to see an artical dealing with Visual C++ and its interface as I have only delt with python wich is interpreted and lpc on a mud and have never delt with a compiler before. Would help me tons and hopefully there are other people on this forum that would benifit from it too!
Thanks =D
Aye, here are some C/C++ topics I'd like to see, some of which aforementioned:
Basic C/C++ data types (their capabilities, typical sizes, etc)
Windows-specific typedef-ed types (ie. DWORD, HRESULT, etc.), what they typedef and what they hold
OOP article! The ins and outs of writing classes, using templates, and things like that....stuff I want to learn more about!
Anyways, I'm enjoying the articles...thanks =o)
(o= erydo =o)
Edited by - cliffhawkens on April 11, 2001 12:52:40 AM
Basic C/C++ data types (their capabilities, typical sizes, etc)
Windows-specific typedef-ed types (ie. DWORD, HRESULT, etc.), what they typedef and what they hold
OOP article! The ins and outs of writing classes, using templates, and things like that....stuff I want to learn more about!
Anyways, I'm enjoying the articles...thanks =o)
(o= erydo =o)
Edited by - cliffhawkens on April 11, 2001 12:52:40 AM
Agreed w/ the above request about windows types (dword, hresult)
I know c++ (console) fairly well but am at the point of where to go next.
so for me some selected topics might be.
Templates
Win32 basics (how to get the game window up)
User Interface - sampling inputs
Sprites & Basic Graphics
2d Animation
Vectors & 3d Graphics
Portals & Engines
Terrain generation
Collision & Boundary Algorithms
Sound
3d Model importation form 3rd party (ie lw6 or 3dsmax)
How to animate the imported 3d model
i''m sure i will think of more as soon as i hit "Reply to Topic"
-------------------------------------------------------
May your bugs be few and your food plentiful.
I know c++ (console) fairly well but am at the point of where to go next.
so for me some selected topics might be.
Templates
Win32 basics (how to get the game window up)
User Interface - sampling inputs
Sprites & Basic Graphics
2d Animation
Vectors & 3d Graphics
Portals & Engines
Terrain generation
Collision & Boundary Algorithms
Sound
3d Model importation form 3rd party (ie lw6 or 3dsmax)
How to animate the imported 3d model
i''m sure i will think of more as soon as i hit "Reply to Topic"
-------------------------------------------------------
May your bugs be few and your food plentiful.
For those of you who have questions about Win32 basics (especially if you want to know a bit more than is in the scope of this tutorial), I highly recommend the following tutorial:
theForger''s Windows API Programming Tutorial
It definitely helped me out a lot.
theForger''s Windows API Programming Tutorial
It definitely helped me out a lot.
those weird windows-types are usually just shorthands for normal C/C++ datatypes, you can look them up the windows-headers
in MSVC++ 6.0 right-click on anything and choose ''goto definition of ...''
in MSVC++ 6.0 right-click on anything and choose ''goto definition of ...''
Hi everyone,
First of all thanks for the answers to my previous questions, I was looking over the topic request and thought of some topics that may help other people. I understand function and operator overloading though some others may not be aware of it if they are new to C++. The other topic that always gets a lot of people including me sometimes is the ugly face of operator precedence.
First of all thanks for the answers to my previous questions, I was looking over the topic request and thought of some topics that may help other people. I understand function and operator overloading though some others may not be aware of it if they are new to C++. The other topic that always gets a lot of people including me sometimes is the ugly face of operator precedence.
how about:
heap vs. stack memory
basic assembly language and how to call it from a c program
that''s all i can think of for now,
-j
heap vs. stack memory
basic assembly language and how to call it from a c program
that''s all i can think of for now,
-j
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement