General C++ Programming - May 2011 (Page 5)

Please help, default constructor error
 
I'm in a basic C++ programming class and I am looking for some help on my final program. It is a basic parent, child class. I have 4 errors, but I believe th...
[1 reply] : 1) NorthLot has no appropriate default constructor available A defa... (by shacktar)
Linker error: Undefined reference to member function for class with template parameter
 
Hi everyone, I have a small implementation for a doubly linked list. The linked list class takes a template parameter. I'm hitting the following linker error...
[4 replies] Last: Thanks all. Your solutions fix my issue. I tried helios's suggestion b... (by itnovice)
Runtime terminated in an unusual way?
 
I'm having a problem running a simple program I made to read Gcode. When I try to run the program it freezes up and windows says the program terminated itself...
[no replies]
by LANman
Link List
 
If you have 2 link list list1 and list2 how do you write a function to merge them. I need to do this using nested loops
[2 replies] Last: the problem I'm working on call for the function to have a nested loop... (by LANman)
Which is the fastest BST-balancing algorithm?
 
Since the questions about BST's are frequent around here, I made a small exercise of balancing a tree by hand in a piece of paper. I hadn't done BST's myself b...
[19 replies] Last: I think mine might be faster plus it requires a lot less memory. ¿d... (by ne555)
AutoRun help
 
I have created a program in Delphi 7 and I wish it to autorun, but whenever I put the autorun on the disk, everything works. but it tells me it can not find the...
[2 replies] Last: How are you constructing the path string? And where is the file you ar... (by Duthomhas)
by bzz77
Xcode problem: where/how to set dynamic library and license paths?
 
I am an Xcode newbie (version 3.2.2; Mac 10.6.7). I have written C++ code that needs to be used in combination with commercial code. I can run the code in ...
[3 replies] Last: I mean, why did you name one variable LD_LIBRARY_PATH and the other DY... (by helios)
by leo818
Word Count....Need Help Please
 
My program is able to count the words in the sentence, however when you space twice or even three four times, it adds another word, how can I fix this? please h...
[18 replies] Last: You said, "I wonder where you thought C was a good idea for a C++ foru... (by Duthomhas)
Help needed in C++/CLI with error C2512: no appropriate default constructor available
 
Having this issue with C++/CLI that's troubling me for a real long time and almost everything I've tried has failed. The problem is when I'm trying to create an...
[1 reply] : Have you tried: Den = gcnew Instruction::Gen( Slots::Slot8 ): ... (by kooth)
Access USB with C or C++
 
Due to a computer engineering project I wanted to know if there is a way to send a voltage signal down a USB and then receive data back using a C or C++ program...
[3 replies] Last: If he's just looking for a way to talk to a USB device with C++ then i... (by cnoeval)
Can I have some help anyone?
 
I have this program and I can't figure it out. Help please!
[15 replies] Last: What exactly is the error the compiler is giving you (copy and paste),... (by LB)
question about template function overloading
 
Hi, I created two functions as template<typename A, typename B> static void func(A& a, B& b, string s){} template<typename A, typename B> static void...
[1 reply] : never mind. my bad. thanks (by chrisben)
List<>
 
I want to create a class X with 2 proprieties: -string -list but i want to define the list items type when creating the new X object. object1 name: "items" l...
[2 replies] Last: Thank u a lot!! it really helped ;) (by FranciscoDias)
Unique timestamp for different datafiles
 
Hello guys, :) I have a question which is a little bit far from C++ programming. But I didn't really know where I could post it. I have a few data files w...
[4 replies] Last: Thanks guys! I think 2 good ideas are present here! I'll try them both... (by TheDestroyer)
From where can I download log4cpp.dll?
 
I need doumnetation and DLL for log4cpp ,please suggest some good and trusted sites.
[1 reply] : Google? (by kbw)
Comparison of double with int value
 
I have function like this void MyLocationClass::setLocation(QString lat, QString lon) { double mLat = lat.toDobule(); double mLon = lon.toDouble(); ...
[2 replies] Last: Thanks for the reply... My mistake was there... Actually I need to cal... (by narendardiscover)
Dll Instances?
 
Ok, I have a dll that is a COM plugin for an audio workstation control surface. For each control surface unit I must load another instance of the plugin. ...
[2 replies] Last: Thank you for your reply. The audio workstation exe lets us load a dl... (by bitman2112)
sound in c++
 
i need know how can to play sound in console c++ ? (i using visual studio 2010 and y windows is "7"). Thanks
[5 replies] Last: What is your mean? Sound in console. ahhhhhhha!!! (by jonhylever)
where to go forward for freelance programming
 
ok so ive learnt a reasonable amount of basic c++, at least i think so, i.e the one presented on this site as a tutorial at "http://www.cplusplus.com/doc/tutori...
[2 replies] Last: thanks for the reply. hmm... ok so i guess id go for specialization i... (by death relic0)
Linker error while connecting static library with DLL
 
0I have a static library in which class with log4net is defined.something like this - public ref class CustomLog { public: static log4net::ILog^ m_l...
[no replies]
May 2011 Pages: 1... 34567... 32
  Archived months: [apr2011] [jun2011]

This is an archived page. To post a new message, go to the current page.