hank you very much for your help guys :)
Type: Posts; User: darcome
hank you very much for your help guys :)
you can test if the number is a odd number with this:
if (number % 2) != 0
printf ("odd");
Here it is:
int i;
// char charset[] = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
char CharSet[] = "abc";
char string[50];
int PosCharSet[50]; //...
I am rewriting it, I think tomorroe (3-15-2003) I'll post what I coded :)
I need an algorithm who can create strings which are like
a
...
...
z
aa
....
...
za
okI'll take a look to MilkShape, thank you very much
Is someone knows other programs, pelase, tell me :)
Can you tell me the name of some mesh creating tool, possibly freeware? if it is not freewarei don't care, but if its is, is better :)
Thanks
I'd like to know how to draw (or at least some links)
- circles
- cilynders
- sphere
and a sort of wall with a round hole in it.
everything done with directx.
Thank you very much
I have a little question...
if I declare my World matrix global and I set it only one time with the D3DXMatrixIdentity (&matWorld); function and then apply D3DXMatrixRotationX (&matWorld, 0.1f)...
I don't know very vell how, but I did it :) :)
Anyway, Thank you very much for your help :)
If I do that, the front face disappear :(
If you press LEFT ARROW or RIGHT ARROW you'll see the left face of the cube even if the front face is in front of of hte left face
I think it is a CULL_MODE problem, but I'm not sure, can you help...
I found at planet-source-code the code of a sniffer.
How could I modify it, to stop packets incoming/outcoming to/from my computer?
this is the code:
/*
Packet Sniffer
I have a great problem......
I made my DLL with the MouseProc, but it function "sometimes"......
In the main program there are two long (x and y) which will contain the coordinates of the mouse...
The problem is that my application, for what it does, using BMP is very big in bytes:)
Ops, I forgot the main thing.....
Thank you for your help ! ! !
yuo mean that the shared variables, can be used also in the main program also if they have been declared in the DLL, right??
Another question, my MouseProc is this:
LRESULT CALLBACK...
I have some questions about your code:
1) what are the differences between __stdcall and __declspec??
2) what are the differences between the globals variables and the shared variable?
Someone can help me to make a system wide MouseProc with VC++??
Here is the code i wrote:
the DLL - main.c
#include <windows.h>
ok, i'll look at jpeg organization :)
but VC++ has not functions about displaying JPG??
I need to display a JPG image as backgorund of a DialogBox. Can you help me??
Hovewer I know to program in C, so I don't know classes and stuff like that. There a way to display JPG only using C...
ok, thanks anyway :)
ok, let me see if I am able to tell you what I mean :)
From what I have understood, the rotations in OpenGL, are made rotating the axis. Because rotating the axis, the polygons are rotated too, so...
ok, I'll try to explain what I want the program does
Of course, the polygon has to rotate on the screen, but the way it has to rotate is this:
after the polygon has rotated, I'd like to use the...