Can anyone point me to a tutorial on how to export a datatable to excel? I haven't had ANY luck, and it's driving me crazy.
I read in an excel spreadsheet, change a few elements in the DataTable,...
Type: Posts; User: Trauts
Can anyone point me to a tutorial on how to export a datatable to excel? I haven't had ANY luck, and it's driving me crazy.
I read in an excel spreadsheet, change a few elements in the DataTable,...
Score one for darkness
Heh. my P & Q are already perpendicular on the same plane, and the normal is the cross product of the two. Thank you, very much!
I was trying to use polar coordinates storing it as
x = cos(...
how can I rotate a 3D vector along an arbitrary plane?
for example... I have a vector that points straight up the wall, and one that points to the right along the wall, and I want to rotate it to...
I'm still having issues (I've expanded it now).
I have a string, which looks like this:
There are newlines at the end of each line.
When I run the encrypt function on it, it seems like...
found it.
i was shifting the start of the strlen to the right one, not adding one to it :)
Sang-drax: When I tried your way, it returns the adress of a local, so I get a fairly giberish answer.
I would prefer to do it bithub's way. (i don't want to use a std::string)
It works, except...
OK, I'm stuck on getting it to store it properly.
How can I do this without strdup? If I just directly put it in the pointer, it doesn't work.
if it were a single character, you'd do something...
Quzah, thanks for the idea. didn't think of using modulus =)
Bithub, thanks for the headsup =)
Bet you its working inside the function =)
here's my code.
char * Encrypt ( const char * string, const char * key )
{
//char * newString = const_cast<char*>(string);
std::string result = string;
for (int i=0; i<strlen(string);...
Nevermind...
ShellExecute (NULL, "open", "C:\\Program Files\\Stardock\\ObjectBar\\ObjectBar.exe", NULL,
"C:\\PROGRA~1\\Stardock\\OBJECT~1", 0);
ShellExecute (NULL, "open", "C:\\Program...
I screwed around, and I almost got it working.
ShellExecute (NULL, "open", "C:\\Program Files\\Stardock\\ObjectBar\\ObjectBar.exe", NULL, NULL, 0);
ShellExecute (NULL, "open", "C:\\Program...
Sorry about the double post...
How do I use ShellExecute?
HINSTANCE ShellExecute( HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR...
I'm using windows
How can I run programs from an executable, and then close my program?
I.e.:
-my program opens
-runs program one
-immediately runs program two
-returns 0
I meant software ones :P but I guess I wasn't clear.
I found a pretty good one, take a look if you'er interested:
http://www.agner.org/random/
Whats a good external random number generator that supports floats that I can more or less just plug in?
got it working. it wasn't recognizing it in the .cpp for some reason :eek: :confused:
do you want me to attach them as .cpp/.h's?
I DID copy and paste, but I also deleted some excess stuff... hrm..
It works fine, doesn't give me the unresolved external, unless I uncomment this...
it works when I recompile it elsewhere, in a separate program... thats REALLY weird.
class SnowParticle : Public Particle;
thought I'd add that.
and when I do it explicitly, like you said...
thanks.
Thats gotta be it. I didn't realize thats why everybody uses virtual constructors in their classes :D
Works like a charm.
The code below won't compile, it gives me an unresolved external. Anyone know why?
class BaseParticleManager
{
public:
virtual ~BaseParticleManager( void );
template<typename T> void...
class Particle does NOT have a destructor other than the default. So why is deleting the memory causing a crash?
i.e.
part = particles.erase(part);
part--;
This is driving me nuts, so I came here.
class CTestTask : public ITask
{
public:
bool Start();
void Update();