Search Results

Showing results 1 to 40 of 360
Search took 0.03 seconds.
Search: Posts Made By: tomtetlaw
Forum: Assembly 13 Hours Ago
Replies: 2
Views: 77
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
No, I can't as I do not have the Model class definition. (:
Forum: C++ 14 Hours Ago
Replies: 10
Views: 144
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
-1
bump C:
bump C:
Forum: C++ 1 Day Ago
Replies: 2
Views: 133
Posted By tomtetlaw
bump
Forum: C++ 1 Day Ago
Replies: 2
Views: 133
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
Making it static didn't work, I'll attach the project in a .zip.
Forum: C++ 15 Days Ago
Replies: 11
Views: 325
Posted By tomtetlaw
Bump, This is kinda urgent by the way.
Forum: C++ 16 Days Ago
Replies: 11
Views: 325
Posted By tomtetlaw
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
Posted By tomtetlaw
Bump.
Forum: C++ 16 Days Ago
Replies: 11
Views: 325
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
\n
Views: 189
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
How do I access them?
Forum: C++ Oct 10th, 2009
Replies: 1
Views: 210
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
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
Posted By tomtetlaw
Bump
Forum: Assembly Oct 7th, 2009
Replies: 5
Views: 368
Posted By tomtetlaw
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
Posted By tomtetlaw
Bump
Forum: Assembly Oct 7th, 2009
Replies: 5
Views: 368
Posted By tomtetlaw
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
Posted By tomtetlaw
Thanks for the answer :)
Forum: C++ Oct 3rd, 2009
Replies: 7
Views: 391
Posted By tomtetlaw
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. :)
Showing results 1 to 40 of 360

 


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

©2003 - 2009 DaniWeb® LLC