Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: mattcplusplus
Forum: Visual Basic 4 / 5 / 6 Apr 3rd, 2005
Replies: 2
Views: 4,926
Posted By mattcplusplus
Im using an ADO data control to connect to an Access database .mdb

I can set the ConnectionString property correctly, but when I set the RecordSource to an SQL statement such as an INSERT...
Forum: C++ Feb 15th, 2005
Replies: 0
Views: 9,790
Posted By mattcplusplus
I'm wanting to send an email from my c++ application.

i know that email applications interface with an SMTP server when sending email
and that is what i will have to do, but i don't know how.
...
Forum: C++ Feb 9th, 2005
Replies: 6
Views: 7,072
Posted By mattcplusplus
I wish to use the round() function in the math class of the .net framework class library

[C++]

Math::Round(3.44, 1); //Returns 3.4.
Math::Round(3.45, 1); //Returns 3.4.
Math::Round(3.46, 1);...
Forum: C Nov 21st, 2004
Replies: 5
Views: 4,204
Posted By mattcplusplus
Hi

i need an explanation of the following array declaration:

GLfloat colours[][3]

Why are the square brackets empty, does it imply a default value? so it has say 1 row and three columns?
...
Forum: C++ Nov 17th, 2004
Replies: 5
Views: 3,379
Posted By mattcplusplus
Thats good information for me to know thanx, i was familiar with the use of static with regards to classes.

if a variable is declared as static within a function, the variable is maintained and is...
Forum: C++ Nov 16th, 2004
Replies: 5
Views: 3,379
Posted By mattcplusplus
static void myInit()
{
PrimitiveType=GL_POLYGON;

LineSegments=3;
}

can someone tell me what static does to the function?
Forum: C Nov 2nd, 2004
Replies: 2
Views: 2,003
Posted By mattcplusplus
i still dont understand thou why it is declared like

const DWORD Vertex::FVF = D3DFVF_XYZ;

why not just

Vertex::FVF = D3DFVF_XYZ;

please could you explain further
Forum: C Nov 2nd, 2004
Replies: 2
Views: 2,003
Posted By mattcplusplus
here is the code:


struct Vertex
{
Vertex(){}
Vertex(float x, float y, float z)
{
_x = x; _y = y; _z = z;
}
Forum: C Oct 31st, 2004
Replies: 2
Views: 1,590
Posted By mattcplusplus
Thanks for that, i only realised when i asked the question some where in my head came the answer
Forum: Game Development Oct 31st, 2004
Replies: 0
Views: 3,450
Posted By mattcplusplus
im currently making a graphical roulette game using directx - essentially trying to produce a 3D realistic looking spinning roulette wheel.


can anyone with any experience in graphics programming...
Forum: C Oct 31st, 2004
Replies: 2
Views: 1,590
Posted By mattcplusplus
below is what im talking about:

int d3d::EnterMsgLoop( bool (*ptr_display)(float timeDelta) );

i don't understand the bool (*ptr_display)(float timeDelta) bit

i think its a function...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC