General C++ Programming - May 2010 (Page 10)

Build error cstdlib
 
Hi, Until yesterday, my projects were working fine (using Visual studio express 2008). Since then I have a "small" problem, it seems that I can't build anyth...
[3 replies] Last: But reinstalling Visual Studio shouldn't overwrite all header files? ... (by kbw)
Templates, specialization and compilers C++ conformance
 
After some hours of experiments with template specialization, I came to these conclusions: /* Conclusions: (at least with GCC:) 0. must #inclu...
[5 replies] Last: Standard compliance has always been an issue. There is always some fe... (by kbw)
by Noxer
Linked list and infinite loops
 
For a piece of code I'm writing for a class, I keep getting an infinite loop with the console output of the program during execution as soon as I enter the sent...
[3 replies] Last: We all do it. If you stare at a problem too long you can get code blin... (by Galik)
by Rejoks
Separating char input
 
Greetings, I'm still in the process of learning rather basic C++. I am trying to code a program that performs equations with chemical formulas. I am using ch...
[4 replies] Last: Actually this is a much safer way to read in characters: std::st... (by Galik)
by indigo
unresolved external symbol
 
Hi everyone, i've got an error that i can't solve myself... This is it: 1>server.obj : error LNK2019: unresolved external symbol "void __cdecl HandleConnec...
[2 replies] Last: You actually were right! :D I had HandleConnection2 prototype, but the... (by indigo)
Calling The Base Class Method Inside The Derived Class overrided Method
 
I have a class called Object which declares and defines a virtual method toString(); another class MyClass inherits from class Object and overrides the metho...
[3 replies] Last: FYI, this isn't overriding the function, it is hiding it. (by firedraco)
by rince
Class design, for a binary tree.
 
I have a class that implements a node in a binary tree. It is based on http://en.wikipedia.org/wiki/Binary_search_tree and looks something like this: class I...
[7 replies] Last: hhmm, actually thats a pretty good solution, thanks. but like you sai... (by rince)
Make pop-up window appear in C++ GUI
 
Hi guys, I've made a GUI for my program as a resource file, and have created a button to display the instructions on how to use it. However, I do not know how t...
[8 replies] Last: Hi there, thanks a lot for your help, I am able to get the pop-up to a... (by meepokman)
Threaded Binary Tree
 
I just have a general question. How would a threaded binary tree output in the three transversals: inorder, postorder, and preorder? I know in a regular bina...
[2 replies] Last: Yes. You need a check if a key is repeated and so it would test and kn... (by CuddlyBear)
fstream library error
 
Ok i am making an encryption and decryption program using fstream.h so that i can encode and decode files. This is the line with an error: while(ToCode.get...
[no replies]
Building a path / filename string and using it as a ofstream fout argument
 
Yeah, so the title says it all. I can't figure out the syntax. The idea is that it prompts the user for a filename and destination, builds the string (str) a...
[2 replies] Last: Thanks Helios. Knew I was missing something. :) The book I'm workin... (by alecsloman)
How to use complex numbers in C++?
 
C++ have native suport for integer and real numbers, but not for complex numbers. All operations must be implemented or we should use the library <complex>. I...
[7 replies] Last: I found the solution: parameters::parameters(): variable(2.0,3.0)... (by nunodsousa)
reference to unresolved external symbol error while using COR/DOR
 
Here is a piece of my code class FDatasource : public BDatasource { public: //constructor FDatasource(std::string sFilename,unsigned int uiBlocklength,...
[7 replies] Last: [quote=souptik]PS:For some reason , in the main.cpp project window onl... (by Galik)
Link List Search
 
Im not too sure what i am doing wrong here. It seems to be a problem in my getIndex; however, I am unsure of what is wrong... It is compiling with out any error...
[3 replies] Last: you are also using 2 variables which you don't use: int curNode and ... (by dionisis)
STL problem
 
Im introducing in the STL programmnig, but i have some problems while compiling it. Look at this small part of code, and the compile error. Maybe you can help m...
[4 replies] Last: try calling it like transform (m.begin(),m.end(),m.begin(),to_re... (by RedX)
Project in c++
 
Hi everybody, I've to write a project, that contains 4, 5 (or more classes). My problem is not to write it, but to figure out a program, that would be intere...
[2 replies] Last: @Seraphimsan, rly appreciate it ;). (by mtweeman)
by ibwood
Using windows forms in C++
 
Hi, I am currently designing a program for a complex robot. Does anybody know how I can implement a windows form file in my c++ program (The form is already ...
[7 replies] Last: Awesome I will try that. Thanks a lot for the help guys! (by ibwood)
Any design pattern for this case?
 
Hi, folks, I am looking for a multithreading design pattern for my C++ project. My project is in the domain of machine automation. It contains three p...
[1 reply] : You might find this helpful in passing your information from the input... (by Galik)
Math parser conversion to c++ from c
 
Hello, today I found a great mathematical expression parser at http://www.yann-ollivier.org/mathlib/mathexpr.php But there is a problem, it is written in C. I ...
[4 replies] Last: Here is what I *think* is going on: double x; // this is your va... (by Galik)
by squ
c++ problem
 
Hello every 1 ! How u do? I hope everything going well.. I hv c++ homework and I start to do it but we faced some problems and couldn't solve it! I will u...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by kbw)
May 2010 Pages: 1... 89101112... 22
  Archived months: [apr2010] [jun2010]

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