Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: TimeOut
  • Content: Threads
  • Order by date
  1. TimeOut

    Already defined functions?

    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...
  2. TimeOut

    Adding Bitmaps to Buttons?

    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.
  3. TimeOut

    'Globally define a conditional'?

    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.
  4. TimeOut

    Creating a new file dialog

    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]'...
  5. TimeOut

    Converting double type to 32-bit character string (LPSTR)

    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'...
  6. TimeOut

    Class Templates Question

    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&amp; rho, const T&amp; theta = 0); How can I use the 'polar' function in my program...
  7. TimeOut

    Linking Error 2001...Newbie Question

    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...
  8. TimeOut

    How do I call member functions from header files?

    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...

Part and Inventory Search

Back
Top