Forum: Assembly 13 Hours Ago |
| Replies: 2 Views: 77 I wouldn't say that a compiler is for convenience, I would say that it is necessary to compile source code. (: |
Forum: C++ 13 Hours Ago |
| Replies: 10 Views: 144 I agree, I think that most if not all software should be open-source, it would create a more bug-free world haha. |
Forum: C++ 13 Hours Ago |
| Replies: 10 Views: 144 Nah, if you look at the site, the paid part teaches you all this:
Direct3D Textures
Direct3D Meshes
Game Display
Game Input
Game Development
Advanced Effects
Particle Engines
Multiplayer |
Forum: C++ 13 Hours Ago |
| Replies: 10 Views: 144 No, I can't as I do not have the Model class definition. (: |
Forum: C++ 14 Hours Ago |
| Replies: 10 Views: 144 I have been doing that tutorial, the free part anyway haha.
Model probably is a class that you get to write in the 3D Meshes tutorial in that, which you have to pay for :( |
Forum: C++ 14 Hours Ago |
| Replies: 10 Views: 144 Your code give these errors when I try to compile:
------ Build started: Project: DirectX9_Engine, Configuration: Debug Win32 ------
Compiling...
baseentity.cpp
object.cpp
c:\documents and... |
Forum: C++ 18 Hours Ago |
| Replies: 10 Views: 144 How do I load 3D meshes from a .x file, and extract the material data from it? Also, how do I apply a texture to the loaded mesh? |
Forum: C++ 19 Hours Ago |
| Replies: 2 Views: 133 |
Forum: C++ 1 Day Ago |
| Replies: 2 Views: 133 |
Forum: C++ 1 Day Ago |
| Replies: 2 Views: 133 How do I load 3D models that are in the .x format from DirectX 9?
I am trying to make a simple engine and this is the part where I am stuck at. |
Forum: C++ 15 Days Ago |
| Replies: 11 Views: 325 Hey man thanks for your posts, they have helped me alot to reach the next stage of my project. Just if you're wondering, I am making a Text-based SUD(Single User Dungeon). Thanks again mate. |
Forum: C++ 15 Days Ago |
| Replies: 11 Views: 325 Making it static didn't work, I'll attach the project in a .zip. |
Forum: C++ 15 Days Ago |
| Replies: 11 Views: 325 Bump, This is kinda urgent by the way. |
Forum: C++ 16 Days Ago |
| Replies: 11 Views: 325 That was just an error by me when copying and pasting it.
This is what it looks now:
std::vector<BaseEnt> entities(MAX_ENTITIES);
MAX_ENTITIES is a macro with the value of 100000.
Any help... |
Forum: C++ 16 Days Ago |
| Replies: 11 Views: 325 |
Forum: C++ 16 Days Ago |
| Replies: 11 Views: 325 When I try to compile my code, I get this error:
------ Build started: Project: SUD, Configuration: Debug Win32 ------
Compiling...
baseent.cpp
c:\program files\microsoft visual studio... |
Forum: C++ 19 Days Ago |
| Replies: 2 Views: 265 When I try to compile this:
void *BaseEnt::GetVar(char const *varname)
{
char name = *varname;
switch(name)
{
case "id":
return (void*)id; |
Forum: Python 22 Days Ago |
| Replies: 1 Views: 154 I tried to make a leet speak converter, but it outputs characters that I don't even tell it to..
This is what I mean:
(Test run)
Enter something to convert to L337 5P34K: Hi, how are you?... |
Forum: C++ 26 Days Ago |
| Replies: 3 Views: 161 What?
This is what I wanna do:
void print_something(const char *val, ...)
{
//the val part can have things like this in it:
//%1, %2 and so forth, and then those parts get... |
Forum: C++ 26 Days Ago |
| Replies: 3 Views: 161 How do I access the paramaters entered after param1?
Like this:
void foo(param1, ...);
How do I access the ... part? |
Forum: C++ 26 Days Ago |
| Replies: 3 Views: 443 I did that, and now it compiles, but now when I run it I get this:
Unhandled exception at 0x00419537 in TheAlienEngine.exe: 0xC00000FD: Stack overflow.
And it points to this:
... |
Forum: C++ 26 Days Ago |
| Replies: 3 Views: 443 When I try to compile this:
#define NODES_MAX 100000
extern node_t _nodes[NODES_MAX];
It gives me this error:
------ Build started: Project: TheAlienEngine, Configuration: Debug Win32... |
Forum: C++ 27 Days Ago |
| Replies: 1 Views: 197 I am trying to make a 3D Engine using OpenGL, I've got all the model loading, 3D nodes, all that stuff done, but I get linker errors when I try to compile, it.. these are the errors:
------ Build... |
Forum: C 27 Days Ago |
| Replies: 6 Views: 189 In C, the '\n' character is a special type of character called a control character, these are characters that do something other then just display themselves, here is all the ones that I know:
\n... |
Forum: C++ 31 Days Ago |
| Replies: 2 Views: 187 Alternatively, you could visit this:
http://www.cplusplus.com/doc/tutorial/
And look at the things in there like loops, arrays, variables and stuff that you are curious about :) |
Forum: Python 31 Days Ago |
| Replies: 1 Views: 212 I am wanting to create a program that everytime I run it, it gets the current playing tune in iTunes, and sets this as my Facebook status:
"I'm listening to current_playing_song, corrent_artist."... |
Forum: C++ 31 Days Ago |
| Replies: 2 Views: 187 int x[5] = {1,2,3,4,5}, y[5] = {5,4,3,2,1}, ... int x[5] = {1,2,3,4,5}, y[5] = {5,4,3,2,1},
result[5] = {0,0,0,0,0};
This creates 3 arrays of the type int, with the names x, y and result.
int i = 0;
while(i++ < 5)
result[i] = x[i]... |
Forum: C++ 34 Days Ago |
| Replies: 5 Views: 328 What i mean is to have to dst thing a char* array.
I want it to do this:
string str = "10-20-30";
char* buffer[3];
split_string(str, buffer, '-');
//buffer should now be {"10","20","30"} |
Forum: C++ 34 Days Ago |
| Replies: 5 Views: 328 Is there any functions that split a string?
Such as this:
string s1 = "lol-lol2-lol3";
string s2[3];
char spliter_char = '-';
split_strings(s1, s2, spliter_char); |
Forum: C++ Oct 10th, 2009 |
| Replies: 3 Views: 264 |
Forum: C++ Oct 10th, 2009 |
| Replies: 1 Views: 210 How would I be able to iterate through each character in a file? The file is of type ifstream. |
Forum: Assembly Oct 10th, 2009 |
| Replies: 2 Views: 353 How do you paint pixels in NASM, could someone tell me about it and mabey give me an example? |
Forum: C++ Oct 10th, 2009 |
| Replies: 3 Views: 264 I want to be able to extract the file info of music files(title, artist, album, genere, ect.) and then rename the file to the title of the music track. But I don't know anything about this and have... |
Forum: Assembly Oct 8th, 2009 |
| Replies: 5 Views: 368 I think it's because it's not converting the characters from their ascii codes to their actual value, is this right? |
Forum: Assembly Oct 8th, 2009 |
| Replies: 5 Views: 368 |
Forum: Assembly Oct 7th, 2009 |
| Replies: 5 Views: 368 What that did is after I inputed "tom" into it, it waited for me to input another peice of text and then still said that I had entered 7, this is what it looks like:
Please enter something: tom... |
Forum: Assembly Oct 7th, 2009 |
| Replies: 5 Views: 368 |
Forum: Assembly Oct 7th, 2009 |
| Replies: 5 Views: 368 I am trying to make a program that prompts the user for input then outputs it to them(back to the good old days :D). It all works, except it doesn't output what the user inputs, it outputs a bunch of... |
Forum: C++ Oct 3rd, 2009 |
| Replies: 7 Views: 391 |
Forum: C++ Oct 3rd, 2009 |
| Replies: 7 Views: 391 I am in no way trying to send this to someone to harm their computer, I am just curious about what the outcome would be. :) |