General C++ Programming - December 2009 (Page 3)

GraphicsMagick C++ configuration (.dll not found)
 
I installed GraphicsMagick under MinGW on Windows Vista. After I try to compile and link the follow...
[no replies]
by woody
hello . C++ question need solve
 
Hello . pls who is can help me to solve this question 3*22+16+453 Insulation operations in the m...
[no replies]
How can I retrieve strings using getline and enter them into a 2 d aray?
 
C++. For example the user enters the name Fionna Issac as one whole string. This string is then to b...
[4 replies] Last: What's wrong with std::string? Your second snippet makes absolutely n... (by helios)
Header include at the bottom?
 
Hi all. Supposing I have two classes: class1.h: //header guard: #ifndef __CLASS1_H_ #def...
[3 replies] Last: Obligatory link: http://cplusplus.com/forum/articles/10627/ See ... (by Disch)
by dkaip
A vector of lists problem.
 
I have a difficult problem with code... #include <iostream> #include <vector> #include <list...
[2 replies] Last: Thank's a lot. (by dkaip)
by quant
jointing data from pointers to one
 
g'day, Could anybody help me with joinning data? struct data { union { struct {...
[7 replies] Last: Are you trying to make some kind of composite object? I'm not sure wh... (by moorecm)
System() causes an error
 
using system() in stdlib.h causes a linker error. why? what should I do? I use turbo c++ 4.5 tha...
[2 replies] Last: Or, don't use system(). See http://www.cplusplus.com/forum/articles/11... (by zuwaka)
strange problem...
 
Imagine the following: ... void f() { list<_Node*> list1; list<_Node*> list2; } ...
[12 replies] Last: You should avoid them on the global namespace. (by helios)
Weird .NET syntax
 
C++ .NET has a lot of types and classes that use the character "^" in their definition and declarati...
[1 reply] : That is C++/CLI not C++ http://en.wikipedia.org/wiki/C%2B%2B_CLI#Hand... (by Bazzy)
Problem regarding Huffman code program
 
Hi all, I have made a program to build Huffman codes for the characters that are input by the user....
[1 reply] : You don't appear to be initializing all of the elements of the node ar... (by jsmith)
C++ - strcmp() does not work correctly?
 
There's something really weird going on: strcmp() returns -1 though both strings are exactly the s...
[9 replies] Last: IIRC strcmp is more like this: /* strcmp: compare the C-strings ... (by chrisname)
Anything means "nothing" in c++?
 
#include <iostream> using namespace std; class arrayops { public: template <class T> T for...
[17 replies] Last: @helios, sorry :( @Disch Thanks. (by chrisname)
How to use boost::asio to implement a synchronous operation with timeouts?
 
I'm trying to develop some function that will block until the protocol exchange finished or some...
[4 replies] Last: You should spawn a thread to do the io_service::run() call. You can... (by JivanAmara)
can someone check if this is correct PLEASE
 
If the content of d0 is $30 state in words what each of the following numbered instructions will do ...
[2 replies] Last: oh yeah and what you posted so far dusnt look like code fyi (by CrimsonAngel)
by Minkai
how do I tell the class of an object?
 
Let's say I have base class and a derived class inheriting from it. Then I have a pointer to a base ...
[17 replies] Last: Ok, but in the Perform_Attack function, if we're not in range, can I j... (by Minkai)
Const Pointer and Const Value in Class
 
My Class: //H-File class My_Class { const QStringList const* returnReference(); }; ...
[5 replies] Last: Although the syntax of these two const is a little weird. It makes ... (by mcleano)
Deleting/Gathering Text from File
 
Hi, I have a file in wordpad that I need to delete a few strips. Its about 500 pages long so I cann...
[18 replies] Last: I can't get (.*)\<LastName\>.*\<\/SSNNA\>(.*) to work. (by gladiator99)
by ARWA
finding the divisors of an integer
 
hi,im studeing c++ know so; i have this question: i want to out put the positive divisors of...
[4 replies] Last: ya ,thanks any way. (by ARWA)
Class Sizes?
 
How come a class with an integer and boolean is of size 8, when a boolean has a size of 2 and an int...
[4 replies] Last: bool doesn't exist to save memory. It exists as a seperate type fro... (by kbw)
Employee Payslip Bokeeping Records.
 
So I have decided to try and make a programme, that allows me to enter 10 different emplyee hours a...
[1 reply] : We aren't going to write all the code for you. You need to do some wor... (by Zhuge)
December 2009 Pages: 12345... 16
  Archived months: [nov2009] [jan2010]

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