- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I just had to look up the WM_ representation for the mouse scroll, so that I can activate my game camera zoom, more freely, rather than using the arrow keys (which was fun at first) So, I tried implementing the WM_MOUSEWHEEL into the message loop and created a switch statement … |
|
Hi, I can't really understand what the problem is with my work computer. Below I will give a full description, and a summation at the bottom. I installed an apache server, php, mysql and mozilla, the usual. Installed Dreamweaver CS5, GIMP, SQL Server Management (accessing MSSQL databases in the system), … |
|
[I][B]I'm[/B][/I] trying to load compressed images to a sprite object with C++, using a [URL="http://msdn.microsoft.com/en-us/library/bb174249%28v=vs.85%29.aspx"]LPD3DXSPRITE[/URL] and the [URL="http://msdn.microsoft.com/en-us/library/bb172802%28v=vs.85%29.aspx"]D3DXCreateTextureFromFileEx()[/URL] function to load it and of course [URL="http://msdn.microsoft.com/en-us/library/bb172867%28v=vs.85%29.aspx"]D3DXGetImageInfoFromFile()[/URL] to get some info, but I don't know how to go about it. How do I decompress them before loading them to memory and … |
|
For example, I want to write a minesweeping. I know the interior algorithm, but I don't know how to start creating a gui. How should I get started? Thanks. |
|
I think the title says most of it. How do I, in MS Access using VBA, get information from a workbook which I can then put in as a recordset in a table? I know that excel has an easy workaround for other excel workbooks, and I've read somewhere how … |
|
Hi, I've noticed some websites don't display their content until everything's been processed, downloaded and ready for render. The result is images [B]DO NOT[/B] render after download, so there're no images popping up everywhere on the page while the page is processing its next request, but wait until it's done … |
|
hi, I'm a bit confused as to how my graphics engine actually loads a model file. Currently I'm using .x files, because that's what I was taught. But I haven't asked the most important question, how do my graphics engine actually load a model file? Using DirectX and the correspondent … |
|
I'm doing a second year student in computer and information sciences and it is the first time for me to do a project so I need help . My problem is how to enter a branch information and update the branch information,update holder information .Ijust need a hint to start. … |
|
I am creating a creating a program which needs the ability to make the get stream pointer jump to a specified line in the textfile it has opened. For example line 153. The lines have a variable length and contain only numbers. Is there a way to do this and … |
|
Hi everyone, I've been working with pointers for quite some time and I'm familiar with all the pointer-reference stuff. One of the things I don't get is the function of the delete keyword. I have used this code to find out what the delete keyword does. [CODE]int main(int argc, char … |
|
I'm looking to create a 3D environment for an escape-the-room game that I'm making with Flash. I'm hoping I'll be able to do it with the 3D features of Adobe Illustrator but am unsure. I need to be able to move the view-point angle in the pictures to take the … |
|
Hi! my dear all. [CODE]#include<iostream.h> #include<stdlib.h> #include<fstream.h> #include<conio.h> #include<stdio.h> class payroll { private: char address[50]; float basic,allowence,deduction; public: void add(void); }; void payroll::add(void) { clrscr(); int e_no,choice; char name[50],ch; payroll e; cout<<"Enter Employe Number: ";cin>>e_no; cout<<"Enter Employe Name: ";gets(name); cout<<"Enter Employe's Address: ";gets(e.address); cout<<"Enter Employe's Basic Salary: ";cin>>e.basic; cout<<"Enter Employe's … |
|
Allright dudes ,listen up .. i am programming C++ about 2 days now , so i am not into it , in any way , so the problem is that the preproceccor macro #define should trigger the constructor , but the problem is that i got that annoying compiler error … |
|
Hey Everyone I am having troubles. i tried looking up how to make the main for invisable but i cant figure out how. i saw some examples but they made no scence to me. What i am trying to do is change from one form to another and hide the … |
|
Hey, I was working on a ListView that was supposed to look something like the OpenFileDialog except with some differences. Up until now I've used my own images to represent each type of extension that is added to my listview (well, only two images are used, Directory and File, to … |
|
Can VB be of any use in game development. I have a VB software and have been trying to know how to use it better I know someone knows better.Advice pliz.. |
|
|
[CODE] #include <iostream> #include <string> #include <sstream> using namespace std ; int main () { char promptisbn [] = "Plese Enter 10 Digit ISBN" ; string isbn ; int x = 0 ; char buffer[1024] ; cout << promptisbn << endl ; cin.getline ( buffer, sizeof(buffer), '\n') ; isbn = … |
hey all,how do i begin to learn a C++, can someone give some guide or idea for me?? thanks..hmm .... i got knowleadge about computer fudamental and basic computer skill |
|
Hey Guys!!!! I am searching everywhere but i did'nt find actual answer from internet or may b I am wrong.. I am making a program that stores data.. my all program works perfectly but there is one problem i cannot solve.. i am new to WINDOWS FORM (Object ORIENTED) and … |
|
Ok Guys I need some help with a small nigglying problem I have traditionally used the following code to check for a keypress when using the console and in msdos thats how far back Ive been using getch() but need to do something similar to this in C++ with cin … |
|
Hi, I have a form that has Width & Height (1000,1000). Now if the users screen has for example this sizes (800,800). Then I want to adjust the Forms Width & Height to 800,800 so it fits the screen. So my question should be if it is possible to detect … |
|
Hi, I have 2 questions about the scrollbars on the Form. 1. Is it possible to change the Width of the scrollbar control itself? (Ex: for the vertical scrollbar in this browser window is about 1 cm.) 2. Is it possible to change the Color of the scrollbar in any … |
|
I have been trying to make a drop-down console for my game. I have gotten the console to "drop-down" and all that, but when it comes to input, I have issues (things crash when the user types stuff). In the this particular source file, I have the main function which … |
|
Hiya, Im trying make a simple cards game and i was wondering how in c++ can i use the characters ♠ ♣ ♥ ♦ , i think it would be betetr than me printing out the words each time, Are these in some extended character set anywhere? i tried googling … |
|
[CODE] #include <cstdlib> #include <conio.h> #include <fstream> #include <sys\stat.h> #include <string> #include <iostream> #include <iomanip> using namespace std; struct Student_Record { string name; int id; string ic; string parentName; string address; int telNum, parentTelNum; bool deleted; }; Student_Record Student; #define STUDENT_NAME "Student.txt" Student_Record Employee; char choice; fstream *fs = NULL, … |
|
when i enter '1' .. the cout is connected,i cant even input the 1st line,which is the 'name = '.. help me pls. [CODE]#include<iostream> #include<string> using namespace std; void main() { int input; int choose; string name; string icNum; string parentName; string address; string TelNum, parentTelNum; cout << "\n\t\t\t STUDENT … |
|
Hi, Yesterday when I was testing my game out, written from scratch, my DirectX debugger suddenly started spewing out this error code after a couple of runs of the program. Now, this error appears just a couple of seconds after the program goes fullscreen and starts rendering some graphics and … |
|
Hey, it seems when I try to draw textures using the Z value in the D3DXVECTOR, it doesn't affect the drawing outcome. For example, I draw a red ball, then a blue ball on top of the red ball, where the red ball has a depth value of 0.1f and … |
|
Hey, I've been working on a project for a while, and had some difficulties at the beginning with the d3dx9.h and lib files, then after some threading here I got the help I needed, or so I thought. It worked well until I decided to make a new project, using … |
|
Hey, throwing a quick question in here: Is there a way to get the value at a cursor's location? For instance, the cursor is at {0,20} and I decide to do cout<<"Foo" then I move my cursor to {0,10} do something else and then come back to {0,20}, and I … |