Search Results

Showing results 1 to 11 of 11
Search took 0.08 seconds.
Search: Posts Made By: CoolGamer48 ; Forum: C++ and child forums
Forum: C++ Aug 18th, 2008
Replies: 6
Views: 765
Posted By CoolGamer48
Oh, you're right.

But actually, I dropped the system of using different members for red, green, blue, and alpha. I'm just using a single hex value as a member to save space.

Edit:
Just...
Forum: C++ Aug 4th, 2008
Replies: 4
Views: 2,128
Posted By CoolGamer48
the string::c_str() method converts the contents of an std::string to const char*. For example:

string str1 = "Hello";
const char* str2 = "Hello";
str1.c_str();//would return a value equivalent...
Forum: C++ Aug 1st, 2008
Replies: 22
Views: 3,903
Posted By CoolGamer48
*sigh*

Okay, you want to know where to start. I've never written an AVI loader - but here are a couple of places to start (and I don't think where you start is going to be language specific).
...
Forum: C++ Jul 30th, 2008
Replies: 10
Views: 1,108
Posted By CoolGamer48
I'm writing a program for a contest (it's a demo, not the actual thing - so I'm not cheating by asking for help - and my question isn't directly related to the algorithm they want anyway). To submit...
Forum: C++ Jul 25th, 2008
Replies: 8
Views: 780
Posted By CoolGamer48
It doesn't matter if you're using Express. I had to do the same thing.
Forum: C++ Jul 24th, 2008
Replies: 6
Views: 742
Posted By CoolGamer48
A friend of mine recently asked me how one would convert a .bmp font to a .ttf. I said I was unsure, but it got me thinking to how I would code a program to do that. How would someone who wants to...
Forum: C++ Jul 23rd, 2008
Replies: 7
Views: 2,967
Posted By CoolGamer48
It isn't bogus crap. Learn to understand it and you'll begin to be able to solve problems on your own, though its understandable that at first you'll have no idea what it means.

The compilers...
Forum: C++ Jul 19th, 2008
Replies: 6
Views: 2,019
Posted By CoolGamer48
Trying using surfaces instead of textures. link (http://msdn.microsoft.com/en-us/library/bb172900(VS.85).aspx) I believe that surfaces are supposed to be used for backgrounds, like the one you're...
Forum: C++ Jul 14th, 2008
Replies: 5
Views: 2,923
Posted By CoolGamer48
If you'd like to link to a lib through the compiler's interface rather than using #pragma, right-click on your project's name in the panel to the left, go down to properties, expand linker, go to...
Forum: C++ Jul 14th, 2008
Replies: 6
Views: 578
Posted By CoolGamer48
Depending on how much of a beginner you are, you may want to stick with console apps for a while and get a handle around pointers, classes, inheritance, and polymorphism to some degree. But, you...
Forum: C++ Jul 9th, 2008
Replies: 1
Views: 395
Posted By CoolGamer48
You would actually name the file myFile.h, not myFile.cpp. When you #include something you are basically taking the contents of the header (*.h) file and dumping them into your current .cpp file. If...
Showing results 1 to 11 of 11

 


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

©2003 - 2009 DaniWeb® LLC