- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
Hello guys, I've been playing with Direct2D lately, and found out (from a presentation) that converting geometries into meshes makes rendering a lot faster So, how do I do this? I tried this: [CODE] hr = RenderEngine.D2DFactory->CreateRectangleGeometry(D2D1::RectF(0,0,10,10), &pGem); hr = RenderEngine.RenderTarget->CreateMesh(&pMesh); hr = pMesh->Open(&pSink); hr = pGem->Tessellate(D2D1::Matrix3x2F::Identity(), pSink); hr = … |
|
hey is there anyone in here who is good at these staff : coding,html,php,css,javascript and also i need a partner to do this coz wanna create a text based mafia game ......... thanx very much just contact me below thanx........ MSN : [I]<<snip>>[/I] |
|
[CODE]#include <iostream> using namespace std; struct student { int ID; char name[80]; char nationality[80]; char gender[2]; }; void insert(student array[]); void Sort(student array[]); int main() { student array[100]; int answer; cout <<"Welcome to student recording system"<<endl; cout <<"Please choose one of the following option"<<endl; cout <<"1.Insert new record"<<endl; cout <<"2.Delete … |
|
Description of tasks: You are required to write a program that will calculate the total marks and the grade the student obtained on a multiple choice test paper. There are 20 questions and each question has an option A,B,C and D. Total of 30 students took the test. The correct … |
|
Hello everyone, I'm new and I have next to no experience with c++ and I wish to learn. So, these questions may seem ridiculous, and they probably are but, please answer. What is a game engine and how to make one (in a nutshell)? How long, if I have no … |
|
Hi :) Well, I have an idea for a text based game that runs in the browser, but I have no idea how to code it. I am looking for someone who is good at coding and would like to help me out a bit! :) The game would be … |
|
I have an if stmt which checks to see if a char value (upper or Lower) is equal to a value input by end user. My understanding was if you are using a char value in a conditional stmt you need to put single quotes around the char value. If … |
|
help me~~~ what's wrong with it?![code]#include <iostream> #include <iomanip> #include <cmath> #include <fstream> using namespace std; void minMax(const double, int, double&, double&); void numMeasures(const double, int, double&, double&); void getData(fstream&, double, int&); int main() { double count, min, max, mean, var; double data[400]; count = 25; /* how can I … |
|
I am trying to move a player in direction angle by speed. I need to use trigonometric functions in order to calculate this. Can anyone help me discover how to do this? [code]if (playerB.up == true) { (playerB.speed)+=((Delta*ballspeed)/1000); } if (playerB.down == true) { (playerB.speed)-=((Delta*ballspeed)/1000); } if (playerB.left == true) … |
|
Hello, I've been trying to get into game programming. So I learnt a simple 2d api, Direct2D because it has great documentation on msdn and started planning/programming my first game: a tetris clone. All went well, and I also added sound and such, but now I want to add a … |
|
Ok. So I have been researching and compiling info for the past 15 hrs about this. Hope someone can have some helpful input. What I am trying to do is create a program to use for my construction business to help with estimates of a job to make things easier, … |
|
how can I GET A EMPTY SQUARE Ä°N C++ LÄ°KE THÄ°S; * * * * * * * * PLS HELP ME |
|
How can we check the data type of a variable in c++ during a program as we already know the data but our program shud tell us data type we are using |
|
Hello I would like to program my own 2d game into C++. I know its hard I know it needs a lot of time but I strongly believe the only way to learn c++ is to program so if you won't swim deeper you will never learn to swim. I … |
|
Im trying to add up 100 grades and get the averge but it wont compile because it "cannot convert from 'int' to 'int [100]. Can anyone help me?? [CODE] #include "stdafx.h" #include <iostream> using namespace std; int main() { int total, j; double average; int grade[100]= (56,97,73,59,68,79,86,67,79,66, 95,64,98,56,79,83,75,89,73,91, 52,72,63,81,62,85,37,78,100,89, 56,89,75,76,99,66,84,98,68,59, … |
|
Hi! I need help for my homework in c++. My professor wants us to write a program that ask a question and there is a multiple choice and the answer. like the gameshow "Who wants to be a millionaire?" Please give me some example.. (^_^) thank you so much! |
|
|
Please suggest some tutorials for wow engine. and Give some info about that engine and which 3d application like papervision3d, away3d, sandy etc. is best to suit the wow engine. Please provide some basic tutorials for those... |
Hi there, I'm new to this site, but i'm here because I know some HTML and some Javascript (pretty basic stuff i know) and I am aiming to eventually create my own text based browser game (possibly similar to Facebook's My Heroes Ability or better). I know I probably need … |
|
Hi everyone. I am creating a small windows form application using Visual C++; and I would need to delay a loop by a second. Sleep() doesn't work.(Not sure why) Is there a way I can use the timer? Any suggestions on how can I do that? Thanks in advance. :) |
|
I wanted to know which PHP IDE is the best available in market. There are lots of products available. I would prefer one with a good help guide because i am new to this. |
|
Hello, I'm making a browser based game in php and so far it's going really good. However I have a doubt about a script i've written. This script does alot of calculations using the data from the mysql database i'm using. So it reads and writes quite alot. And the … |
|
[icode] // OnscreenKeyboard.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "OnscreenKeyboard.h" #include "OnscreenKeyboardDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // COnscreenKeyboardApp BEGIN_MESSAGE_MAP(COnscreenKeyboardApp, CWinApp) //{{AFX_MSG_MAP(COnscreenKeyboardApp) // NOTE - the ClassWizard will add and remove mapping macros here. // … |
|
i managed to save up enough money and order the book "Accelerated C++" today (paid a good 60$)..now my Q. is would this book help me learn c++ , even if i have no prior knowledge in c++? (i have a basic understanding in C up to arrays and functions, … |
|
Hello, it's Metalclunch here, and I've got a pretty simple and straightforward question: How would one implement a scripting language? Prefferably Python. Thing is, I'm pretty much a beginner, I know about the if, else if, for, while statements and functions. Okay. Here goes. I've made a very simple text-based … |
|
Hello every one!Please help me!! I am new to C programming.I wrote a programe to copy lines one by one of a file to an array.But it cant compile.I cant understand the error code also.Please help me! here is my code. #include<stdio.h> int main() { FILE *f; char data[256]={0}; char … |
|
Hi, i've had experience making counting programs in the iostream and now i'd like to make something useful to me. I play a web browser-based game called Neopets, and i often refresh 500 times a day there to encounter random events. Eventually, my hand gets tired, so i'd rather make … |
|
Hello, I've got this project where i need to use a webcam. I'll need to get every frame made by a webcam (uncompressed) and send it to my program. My program should extract some information out of the frame and then get the next frame and do the same with … |
|
hi guys, please anyone tell step by step tutorial on COM using vs2005. |