General C++ Programming - February 2010

Call java class from c++
 
Hello every body!! can any body lead me, how can i call Java class from c++ code ?? I just want to...
[4 replies] Last: R0mai, my understanding is that JNI provides access from Java to nativ... (by PanGalactic)
value too big for double
 
Hi all, Here's my problem. I'm making an app that draws functions. When I try to draw x*x (or anyth...
[6 replies] Last: Yes, I know I could do this, but I don't think I will.. It would be n... (by hamsterman)
What's the difference between...
 
What's the difference between... Foo bar(); //and Foo bar = Foo(); I've noticed ...
[19 replies] Last: While that may seem the case with std::stringstream x = std::stri... (by closed account 1yR4jE8b)
Function scoping
 
I'm having problems with the scope of some functions. I'm creating a dictionary class that uses an e...
[2 replies] Last: I don't get it :( class Dictionnaire{ class Entry{ public: ... (by Swiftle)
by Noxer
Power function on other os and compilers.
 
What types of data values are accepted by the power function on os and compilers besides windows and...
[4 replies] Last: because floating points are lossy, so his statement is sketchy. (by Disch)
overloading casting operators
 
If I have the following code class A { int m_i; public: operator int(){return ...
[3 replies] Last: @guestgulkan: had no chance to try it "yesterday"... yep, it does ... (by Incubbus)
by ALB
C++ array problem
 
Count the number of elements in the array when you read the file and fill the array. Loop through t...
[1 reply] : Can you give more information ? or more code which you have done . (by bluecoder)
by nz8202
C++ functions HOMEWORK!!
 
pls help me its my homework but im not enough in this subject. İf P is the population on the ...
[6 replies] Last: if you are not "enough in it"... go to the documentation and read abou... (by Incubbus)
Compiler error on using Boost --- config problem ?
 
I'm trying to use boost (debian lenny, boost installed via debian repos) I wrote a toy program: #...
[8 replies] Last: Yes. The manual pages for gcc will go into further detail. ;) (by moorecm)
merging two wav files
 
i'm trying to merge two wav files. i have been trying to do this for around 5 hours, but i havent be...
[2 replies] Last: sorry about that .. i didn't know there was something like that .. i w... (by anurupr)
typedef cause no global operator found error
 
hello, here is the stuation typedef vmml::Vector3<float> vec3 vec3 a; vec3 b; a += b; ...
[10 replies] Last: Or better yet: template < typename T > Vector3< T >& Vector3< T... (by closed account 1yR4jE8b)
Question on long division using C++
 
Taking an introduction class for C++ and have an assignment to write a program that emulates long di...
[1 reply] : Post you're code first so we can actually suggest an answer :D (by Seraphimsan)
by jt1991
struggling now!! (1,2)
 
ok i am suppose to write a nested loop which prompt the user to input how many list and how many num...
[20 replies] Last: I hope your still checking this thread so that you may find my advice ... (by moorecm)
by Amer
Print the value of Pi
 
Hello every one! I've got a project to print the value of pi ie.; 22/7 using simple c. I tried har...
[2 replies] Last: One of the two values should be a double (add .0 on one of the numbers... (by Warnis)
Static Casting in C++
 
Hi, I am looking for the answer for the following questions, please: What will return if the sta...
[2 replies] Last: How does no one get that... (by Seraphimsan)
Linked list problem using g++
 
Hello everyone, I am new to programming with cpp. I am having issues with a program when compili...
[2 replies] Last: Do exactly what the error message says. Remove LinkedList:: from the ... (by jsmith)
Short question
 
As a math/econ student i spent most of last year making some pretty neat c++ programs, i mean we did...
[2 replies] Last: In the book I'm sure there is source code for nr.h so you go to your s... (by foobarbaz)
problem using accumulate()
 
Hi , when I try to run my program an error message appears: Error 1 error C2440: 'initializing' : ...
[2 replies] Last: thanks, I completely forgot about that. But now it says Error 1 er... (by evanescence)
A Function for Input/Output
 
I am trying to make an Input function and an output function for this: #include <iostream> #inclu...
[7 replies] Last: It is possible to ask the user to input game names without specificall... (by Duthomhas)
How to compile this with g++ (compiles with Visual Studio)
 
I've been practicing polymorphism and using abstract classes lately by writing different implementat...
[4 replies] Last: Technically G++ is correct to the standard - typenames are not carried... (by guestgulkan)
February 2010 Pages: 123... 21
  Archived months: [jan2010] [mar2010]

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