General C++ Programming - April 2011 (Page 31)

Including *.cpp files (1,2)
 
When I include a *.cpp file by other C++ source, can I interpret it as getting treated like "compile...
[21 replies] Last: Well, I derived this from a previous idea, called "Project Soul". It w... (by benjelly)
istream question
 
Is there a way that I can check to see if the user input an 'x'? I don't want my slope intercept for...
[1 reply] : Your best bet is to read a string from the keyboard and then parse it.... (by jsmith)
Not sure what this is asking for
 
I have an assignment that is asking for: 2) FullTime has its own private data member called salary ...
[1 reply] : void func_a() { func_b(); } func_a "calls" func_b. This an... (by jsmith)
isPrime function, which way is better?
 
I was thinking about how we test the "prime-ness" of a number, and it occurred to me that as I'm che...
[7 replies] Last: B will be orders of magnitude slower than A. The point of the array o... (by jsmith)
boost::filesystem Open all files in directory
 
I'm having trouble getting this to work, I've been beating my head against the wall for about two or...
[5 replies] Last: If it helps any, I tried using ostringstream fileName; fileName << it... (by ciphermagi)
While Loop Error
 
Why does this just keep looping? #include <iostream> #include <conio.h> #include <cstdlib> #...
[10 replies] Last: It's extremely easy to convert to an int. char character; int intege... (by pelotron)
C++ or Java
 
- I am beginner in this field. I want to learn programming. So suggest me where i can start? Java...
[11 replies] Last: horance89 you got some pretty legit English skills man. (by ceruleus)
Need help with GUI creation
 
As the title says, I'm fairly new to c++ and I'm looking to expand my knowledge and grow myself as a...
[4 replies] Last: Why you need it, it is the general flow of most gui programs out on th... (by Azagaros)
by W A
Check variable for value
 
I have declared a double without a value. Later on I give it the value of the solution of an equatio...
[4 replies] Last: You can use boost::optional for that purpose: http://www.boost.org/doc... (by coder777)
Need assistance not adding over a certain value
 
I'm currently writing an ATM program and it's only supposed to allow a maximum withdrawal of $300. F...
[6 replies] Last: if you are saying that 'savings' and 'checking', each should have the... (by skatingrocker17)
Calling API in C++
 
I have an API with below signature, GetNumAvail(const derUtil *,const Invnumfilter &,int); I...
[2 replies] Last: The problem is that GetNumAvail defines a constant reference to Invn... (by hanst99)
In trouble?
 
I am a student. In my first semester we taught C++. But i done my B.Com. I can't learn C++ a lot . N...
[1 reply] : C++ is a language and OOP is a paradigm. You can't really learn a para... (by hamsterman)
by ozzle
Write a compiler.
 
Hi guys! I'm currently writing a toy language. And I was wondering if it's possible to write a comp...
[5 replies] Last: There are many definitions for 'compiler', one of this says that it co... (by Bazzy)
XML Parser Needed
 
Hi Guys... Can anyone give a xml parser.. thanks in advance...
[2 replies] Last: google xerces or tinyXML. They may be what your looking for. (by ModShop)
by ms4800
need problems
 
hello i started c++ few months back.i have learned the concepts but i need some good problems(lik...
[1 reply] : Ever wanted to learn another spoken language like.. say.. german? Or f... (by imi)
by Sapath
Constructor problem
 
#include<iostream.h> class A { protected: int a,b; public: A() {} A(int x=0,int y) { ...
[4 replies] Last: I'm actually not well-versed enough in the C++ standard to tell you wh... (by jlamothe)
effective optimisation
 
Hi gang, I'm programming a game for the GP2X as part of my university course, and getting a decen...
[1 reply] : Statistically, the problem always lies "somewhere else" and not where ... (by imi)
Kerckhoff Principle / Cipher
 
I have a problem on how to encrypt a message or group of words. I have started the program and has b...
[no replies]
operator overloading & conversions
 
I am attempting to convert from an integer called day and translate it to a string consisting of a m...
[2 replies] Last: Im not sure what you when by "a number less than a total of sum of mon... (by onetwothreenewbie)
How to send Http Post request to Servlet using C/C++
 
Hello, I have fair knowledge of c and c++ and did some work on java servlets and jsp. I am working...
[no replies]
April 2011 Pages: 1... 2930313233... 37
  Archived months: [mar2011] [may2011]

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