Hi all
I'm not sure if this question makes any sense, but I'm really stuck and had to ask...
I have some linking errors (mostly 2005) that I can't solve. One example is:
error LNK2005: "public: __thiscall play::play(void)" (??0play@@QAE@XZ) already defined in Ch10Ex3Doc.obj
Has...
I've tried following the help in Visual C++, but it's quite difficult to understand for a beginner (well at least for me, anyway).
Wondering if anyone could give me a 'dumbed down' explanation? Would be really grateful for any help, as always.
Thanks.
Hi all
I was a reading a MIDI Visaul C++ book and in one line it read:
'Globally define the conditional _MIDIIN'
Anyone know how I would globally define a conditional?
Would be most grateful for any advice given. Thanks alot.
Hi all!
I'm trying to recreate an existing file (copy old file to a new file). I'm using CFileDialog class to do this. I'm stuck as I get an error.
nameoffile = NewFile.GetFileTitle ();
The line above gives me the error:
error C2440: '=' : cannot convert from 'class CString' to 'char [260]'...
Hi everyone!
Please can somebody stop my heartache...
How do you convert a double type to a 32-bit character string (a LPSTR), without losing any data?
I can do this by using 'sizeof' but too much data is lost!
Here is my warning...
warning C4244: '=' : conversion from 'double' to 'char'...
Hi everyone!
I'm having trouble making a class template (I think this what I'm supposed to do).
I want to use the polar function in <complex>.
i.e Syntax of polar
template<class T>
complex<T> polar(const T& rho, const T& theta = 0);
How can I use the 'polar' function in my program...
Hi everyone!
I downloaded C++ code (FFT algos) and couldn't get it to work and got two link errors!
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/fftdom.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I tried looking up these errors in...
I am a beginner to Visual C++ (so I hope my question makes sense).
I have a 'DOS' based application (cpp and header files). The headers and cpp files uses cin and cout commands.
I have created an MFC application and want to call member functions from the DOS header files when the user clicks...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.