03.02 - Language Topic Requests

Started by
40 comments, last by Teej 20 years, 9 months ago
BYTE it''s a var that holds a number btw -255 and 255 (+/-).

d00dzs
José Correia AKA d00dzs posting...HEEELLLOO
Advertisement
Actually, byte is usually just typedef''ed as an unsigned char. It''s an 8-bit number, basically, without sign.
PiotyrSoftware Engineer by day, Game developer by nightThe early bird may get the worm, but the second mouse gets the cheese.
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.
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
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
[email=erydo@gdnmail.net" style="color: #ff0000; text-decoration:none; cursor:help;](o= erydo =o)[/email]
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.
-------------------------------------------------------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.
===================================Josh Ebersol"I'm not afraid of computers taking over the world. They're just sitting there. I can hit them with a two by four." -Thom York
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 ...''
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.
**Knowledge is Power**
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

This topic is closed to new replies.

Advertisement