First  |  Prev |  Next  |  Last
Pages: 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
newbie question: play a mp3 or wav
Would like to write a simple console app that plays a given mp3 or wav filename. How should I start? I want to use it with Task Scheduler to play an alarm. -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 8.04) Linux 2.6.25... 13 Jun 2008 04:39
So stuffed up
Hi, I've got a nasty Link time error here --------------------Configuration: try1 - Win32 Debug-------------------- Linking... Creating library Debug/try1.lib and object Debug/try1.exp try1.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?G... 12 Jun 2008 07:43
Template const pointer argument C2440
Hello, here is a simple example illustrating the problem that I am experiencing under visual c++ 6.0 : template <class t1> class a { }; template <class t1,const a<t1>* aPtr> class b { }; const a<int> c1; int main(int argc, char* argv[]) { b<int,&c1> c2; return 0; } It won't compile : C:\Te... 12 Jun 2008 14:54
Base class undefined
First off, please don't scream at me because I did not write this code :) Q: Then who wrote it? A: Discreet class IAssignVertexColors : public FPStaticInterface { public: DECLARE_DESCRIPTOR( IAssignVertexColors ); typedef enum { kLightingOnly = 0, // Store lighting only kShadedLighting = 1, //... 11 Jun 2008 06:10
get file size??
I am trying to retrieve file size in VC++ I read this article http://www.codeproject.com/KB/files/filesize.aspx but I need to write the code which works/compiles for both ASNI string as well as UNICODE string. Any suggestions?? the API GetFileSize requires handle to the file. How do I simply get handle to... 11 Jun 2008 05:39
memory degragmentation in VC++
Hello, I have a problem as follows. I use vector<map<int,double> > to represent a sparse matrix for assembly. Then I convert this structure to some other format that requires less memory and delete it. However, it happens that in VC++ after that process a contiguous space that I can allocate is for some str... 14 Jun 2008 09:42
Free SMTP implementation av
I am looking for a free SMTP implementation (without .Net). There are lots available out there...but I need a reliable one. Any suggestion??? Regards, Ashutosh ... 19 Jun 2008 06:31
Problem with using char* to return string by reference
I have a problem using char* in C++. My code looks like this: void ReadInitRegVal(char* a, char* b, float& c, float& d) { HKEY hKey; DWORD DataSize; BYTE temp[256]; RegOpenKeyEx(HKEY_CURRENT_USER, REGDATASTOREKEY, 0, KEY_READ, &hKey); DataSize = 256; RegQueryValueEx(hKey, "Data0", 0, NULL, temp, ... 17 Jun 2008 04:31
number of digits in integer value
How do I get the number of digits in a specific integer value using c/c++? Daniel ... 11 Jun 2008 14:22
get last char in a string
Using c/c++, how do I read the last char in a string and remove the last character from that string? Daniel ... 17 Jun 2008 10:38
First  |  Prev |  Next  |  Last
Pages: 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86