|
Oh no, a script kiddy!
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
alert("not working here, try on some VB forum");
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer
(There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know.
K.G.
|
|
|
|
|
kyleiscool2004 wrote:
I am trying to learn C and c++.I am okay at both.
That's a broad request. What do you want to know about specifically?
kyleiscool2004 wrote:
I would like to know where to go to get started...
Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
DavidCrow wrote:
Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop?
When I said: I would like to know where to go to get started...
I meant learning techniques in game programming?
I am okay at programming,Yes,But i want to know some advanced techniques.Such as how to change the way an image looks and how to make the charachters look as if they are alive.thanks.
kyle
|
|
|
|
|
kyleiscool2004 wrote:
I would like to know where to go to get started...
I meant learning techniques in game programming?
Understood. I should have read a bit closer. As I've never programmed games, I'm not much help. Maybe a walk-through of DirectX would prove useful.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
A good site would be
www.gamedev.net[^]
Check the Resources (for beginners)
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
http://nehe.gamedev.net/ - openGL
|
|
|
|
|
Thankd for showing me this website.It helped alot.
|
|
|
|
|
Glad to help
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
hi there,
you must first learn how to be a programer
1]get some stuuf in computer scince
a)http://computer.howstuffworks.com/
( to learn how computer hardware works)
b)get some free books in programming from
(http://www.maththinking.com/boat/computerbooks.html)
to learn about how to write a good algorith.
2]learn visual c++
3]get microsoft directx sdk,opengl sdk & some modern game design book.
after doing that you will be a great games programmer
|
|
|
|
|
kyleiscool2004 wrote:
There are some things about programming you can't get from a book
You are right! You have to learn to think like a programer, and that comes with understanding plus experience. There are some totorials at codeproject that may help, such as pointers.
One of the best ways I know of (when starting) is to take a look at the C library functions (strlen,strcpy,strtok,etc...) and try to write your own versions.
Example:
int MyStrLen(const char* pStr)
{
int i;
if( !pStr )
return 0;
for( i=0; pStr[i]; ++i ) {}
return i;
}
int MyStrLen(const char* pStr)
{
int i = 0;
if( pStr )
for( i=0; pStr[i]; ++i ) {}
return i;
}
int MyStrLen(const char* pStr)
{
char* pStart = pStr;
if( pStr )
for( ; pStr; ++pStr ) {}
return (pStr - pStart) / sizeof(char);
}
If you know why each of the above works, then you are well on your way!
As for game programming there are lots of sights where you can look, but none of them will do you any good unless you understand the language. Also, game programming is very math intensive; so you will need to be very good at mathmatics.
Well, have fun and learn all you can!
INTP
|
|
|
|
|
Any thoughts on the problem below will be a great help:
I am trying to use CFile in an MFC app. My thinking is that it should be available with no further includes as stdafx is included which includes windows.h? However vc++ tell me CFile is an undeclared identifier. CFile is declared in afx.h however I can't include afx.h by itself as the compiler complains that windows.h is being redeclared.
What am I missing...
Just another typist
|
|
|
|
|
By default, windows.h is not directly included in stdafx.h. You should have at least included afxwin.h. Others you might have are afxext.h and afxdtctl.h.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Many thanks!
This has pointed me on the right track. I have found similar posts and the answer seems to be afxwin.h.
Unfortunately I still can't compile:
_DllMain@12 already defined in HookFunc.obj
I have found a Microdoft specific knwledge base article describing this problem but that relates to specific modules that there is a problem with. I don't think that's what I'm seeing, more likely I'm just doing something dumb.
Just another typist
|
|
|
|
|
It appears that you have more than one instance of DllMain() in the project's .c or .cpp files.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
In a part of my project, I must compile many HTML files into a single file ,I decided to choose CHM file. But how can I do this using C++? I know HTML Help workshop,but it's only a tool. I didn't get much on MSDN.I am using Visual C++ 6.0. many thanks.
Alick
|
|
|
|
|
Why dont you use HTML Help workshop but using its comand lines, this way you'll compile by code, but by issuing the right command using CreateProcess or the likes.
Check in the help for the different command lines and the one you could need
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
You can create the hhp project file (and, if you need, the contents/index files) dynamically, and then execute hhc.exe (which is the compiler, with the hhp file as argument).
Creating the .chm directly is probably a major and very painful project, just to figure out the format will take some time (there's an incomplete documentation at wotsit[^]).
(OTOH, it would make a cool CP article )
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
|
Hi guys. I need help, I dont even know if Im putting this in the right FORUM... but here it goes.
Ive been asked to create a Point of Sale application that can control a recipt printer and a cash register. I HAVE NO IDEA WHERE TO START. as of now I know that the printer and cash register is connected through LPT1...THATS IT!!..
please help..
Im pretty good at handling web applications and flash...so if there is anyway that I could create componets that I might be able to manage through a web application and SQL/Access database...It´d be great.
Thank you very much...
X-ZD Designs
|
|
|
|
|
The printer and register should have provided you with some sort of interface instructions (e.g., send such-and-such code to open cash drawer). Without that, how are you going to know what commands to send, and how to interpret the commands that you receive?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
>> Ive been asked to create a Point of Sale application
>> I could create componets that I might be able to manage through a web application
So you want to create a "web based" - "point of sale application"?
I'm confused
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
well. Im not stuck on the idea that it has to be web based..but I did want to use the visual benifits that FLASH can give me for this application...therefore I need to create other components (.DLLs for example) that I could control (send and recieve data) through my FLASH and save into a database for inventory, statistics and other information..
Im interested in the DLLs that can recieve and send info to the cashier, so that my web interface can know when the register is open or closed...or..so that I can OPEN the cashier through my FLASH movie..
With this I can save a log in my database of when and by who the register was opened..(I would have a previous login)
X-ZD Designs
|
|
|
|
|
I design my DirectX project like this:
CScene{
...
creat Driect3D object,
creat Driect3D device,
render()
...
}
and I need a instance of CScene in MFC framework.
There should be only one instance of CScene in the whole porject, is that right?
The question is which class I should implement the CScene? I want to get the best effciency!
Any exam code is welcome~~
Many thanks!
|
|
|
|
|
I have a derived class of CCheckListBox. I would like to prevent the checkbox from appearing on certain items in my list. I have overridden the DrawItem and MeasureItem routines, but don't want to simply just paint over the rectangle area that encompasses the checkboxes. Is there a field in the LPDRAWITEMSTRUCT that I can set to a particular value that would remove the checkbox for a particular item? If there is a solution for this, will it also remove the framework event handling of the mouse clicks in the checkbox region of the list item?
Thanks,
Bob
|
|
|
|