Search found 114 matches
- December 2nd, 2012, 7:07 am
- Forum: Everything
- Topic: What library in c++ runtime
- Replies: 7
- Views: 2902
Re: What library in c++ runtime
If you're building with VS2012, you're going to need the microsoft 2012 redist, quite google will give the the link....
- November 29th, 2012, 3:31 am
- Forum: Everything
- Topic: Shaders
- Replies: 5
- Views: 2856
Re: Shaders
You need to use HLSL (high level shader language, looks a lot like C) to do shaders in D3D. There are an asston of tutorials on the web and undoubtedly on youtube as well. Alright thanks a bunch man, rastertek had a tutorial on them, and I ended up just scrapping everything I have. I'm starting aga...
- November 23rd, 2012, 2:58 am
- Forum: Everything
- Topic: Why Do These Guys Have A Problem With My Code?
- Replies: 6
- Views: 2768
Re: Why Do These Guys Have A Problem With My Code?
void main() is C++, it's 100% C++ lol.
But yeah as Lux said, he probably is being a bitch and wants you to use
int main(int argc, char* args[])
But yeah as Lux said, he probably is being a bitch and wants you to use
int main(int argc, char* args[])
- November 21st, 2012, 4:04 am
- Forum: Everything
- Topic: Shaders
- Replies: 5
- Views: 2856
Shaders
Hey Chilli, I think it was you that mentioned shaders and alpha blending or something, but I'm looking for a way to write code for my graphics card without using something like Cuda C, just because it's only supported by nvidia graphics cards. If you could just tell me what I would use to do this, I...
- November 20th, 2012, 3:13 am
- Forum: Everything
- Topic: fatal error C1033
- Replies: 10
- Views: 5029
Re: fatal error C1033
"------ Build started: Project: Chili DirectX Framework, Configuration: Debug Win32 ------"
You're building in 32 bit mode, so it supporting 64 bit won't make a difference..
You're building in 32 bit mode, so it supporting 64 bit won't make a difference..
- November 1st, 2012, 2:20 pm
- Forum: Everything
- Topic: PLS HELP me with Visual c++
- Replies: 4
- Views: 2421
Re: PLS HELP me with Visual c++
Build in debug mode, you'll get a bit more help
- October 30th, 2012, 12:27 am
- Forum: Everything
- Topic: Network test
- Replies: 75
- Views: 25927
Re: Network test
it's quite simple, here's a quick explanation. On both the client and the server, you're going to need the same struct, with the same data int it. Than when you send the data, all you have to do is typecast the struct object to a char* and then make the size of it, the size of the struct. I have som...
- October 28th, 2012, 9:33 pm
- Forum: Everything
- Topic: Problem with constructor
- Replies: 4
- Views: 2293
Re: Problem with constructor
I got this problem now when I`m on lesson 8 from the beginner tutorials. So I do everything correctly and on the last step( Draw the game over thing) when I try to build the solution I get this error: 1>..\Assets\Game.cpp(24): error C2533: 'Game::{ctor}' : constructors not allowed a return type Her...
- October 28th, 2012, 9:24 pm
- Forum: Everything
- Topic: Thanks Chilli :)
- Replies: 9
- Views: 3580
Re: Thanks Chilli :)
you're kidding right?
- October 28th, 2012, 9:21 pm
- Forum: Everything
- Topic: Network test
- Replies: 75
- Views: 25927
Re: Network test
What I did is divide the "package" into pre-defined bits, coding vise.... So that for example the first 3 characters of the package are the X position, next 3 numbers the Y position. Then when the client gets these values I use string to int function to convert the char string into an int, I think ...