General C++ Programming - January 2010 (Page 7)

Runtime Error R6003 integer divide by zero
 
I am getting a run-time error in my C++ application and I have tried to track this down in my code u...
[5 replies] Last: What is a code tag? (by mmcshane)
Problem with classes
 
So i have this Program: #include <iomanip> #include <cmath> #include <iostream> #include <fs...
[6 replies] Last: Thanks to that last guy a bunch and i do indent my code just so you kn... (by kenshin143)
Offline C++ Reference
 
Hi, I am looking for an Offline C++ Reference for Ubuntu 9.10. Please give me any reference that...
[1 reply] : http://www.fileden.com/files/2008/6/23/1971683/C%20%20%20Reference.7z ... (by helios)
by fofa
Who's ready to guid me in my Project ?! (1,2)
 
Hi guys,,, I'm having thics C++ project that ha to be done in two days. Who is willing to help me o...
[37 replies] Last: I haven't checked your links but unless a program is quite large in si... (by mcleano)
Return a reference to local object: operator overloading
 
Hi, C++ folks, It is dangerous to return a reference to a local object, such as the following: ...
[15 replies] Last: At some point you have to trust the users of your class to do the r... (by jsmith)
by codezy
find n sum in an array recursively please ..
 
hii ,, i have a sorted array x ={1,2,10}, and a "target" i want to search recursively for the sum...
[7 replies] Last: You should be able to do this with an OR. Let's say I have an array... (by jsmith)
by poet
extension of std::transform
 
Hi all! Does anybody know anything about extensions of the std::transform algorithm that take mor...
[no replies]
by jsmith
Using boost::ref on phoenix::closures using boost::spirit v1
 
Another boost::spirit question. The boost::spirit documentation gives the following example of pa...
[no replies]
by jsmith
Nested structures in phoenix::closure using boost::spirit v1
 
Suppose I have: struct Foo { uint32_t x; }; struct uint_closure : boost::spirit::closure...
[no replies]
by feyza
vector problem
 
Hi,I have a class contains a function member that takes a vector as a parameter but I cannot assign ...
[2 replies] Last: My header file is fixed, so I can not create unique classes. I want to... (by feyza)
by Alan
Java vs. C
 
Why is Java slower than something like C or C++? And also, is the JNI slower than C (though it is mo...
[8 replies] Last: Me john, big tree! what? (by blackcoder41)
by lehar
Problem in polymorphism
 
Hi guys, I have a class that contains a protected variable, a virtual function, and two other classe...
[7 replies] Last: thanx guys (by lehar)
by Nikhar
The Knapsack Algorithm
 
Hi guys, can you please describe the knapsack algorithm in English. I googled this, the first page w...
[no replies]
by Nikhar
Simplifying the following graph class
 
I have been studying graphs currently and came across a way to implement it. #include<iostream...
[2 replies] Last: I need an edge struct for a list of edges. Anyways, thanks. :) M... (by Nikhar)
instanceof() in java to C++
 
I am now programming a class with objects such that the objects won't touch each other. I have take...
[1 reply] : dynamic_cast (by kbw)
by raffos
Can I read the value of a private class member directly with its object name?
 
I can define a class like: class SpecialInt { int value; public: .... int getValue () {...
[8 replies] Last: tummychow .... But you can write a new operator overload where th... (by raffos)
very odd compile errors
 
Well there is not much to say but that my compile errors are: in function `int main()': Line 17...
[3 replies] Last: try creating a floating point variables or use doubles for values 365.... (by coolProgramer5)
Manipulation of Logic clauses using C++
 
i need help in evaluation of logical clauses(DNF and CNF) using c++. wat i wan is : user input a l...
[2 replies] Last: oh thx for ur reply. im new to programming, and i do not know what b... (by sigvald)
Random
 
Thanks.
[8 replies] Last: I'm not sure. You will probably need a network library such as WinSock... (by tummychow)
Question about floating point variables (1,2)
 
I'm new to C++ and had a problem with floating point variables. The Code: int main() { ...
[28 replies] Last: Oh. K. My mistake, then :l (by chrisname)
January 2010 Pages: 1... 56789... 17
  Archived months: [dec2009] [feb2010]

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