General C++ Programming - March 2008 (Page 6)

by jj1o87
I NEED HELP!
 
Hi guys, i'm desperate for an answer here i cant figure this crap out. What i have to do is make a simple calculator that by pressing a number itl do a type of ...
[2 replies] Last: THANKS! That was a big help! (by jj1o87)
by tzuch
Why won't this if else statement work?
 
I can't understand why the if else statement does not work to let the user choose no and end the program. It will always respond by running main again. Anyone...
[2 replies] Last: Thanks ogranatw! Woops! Syntax oversight! Tzuch (by tzuch)
last thing for this program.
 
Here is the problem I'm suppose to figure out: Write a program that asks the user to enter today's sales for five stores. The program should then display a bar...
[7 replies] Last: const int arraySize = 6; int myArray = {0}; cout << "H... (by Jeff HS)
Need help with an easy program
 
I can't find my error in this: Here's the problem: ------------------------------------------------------- You should then leave one blank line and prompt fo...
[6 replies] Last: #include <iostream> int main() { char day; std::cout <... (by closed account z05DSL3A)
help me now
 
IS THERE SOMEONE THAT CAN GAVE ME A CODE IN VISUAL C++ ABOUT BINARY TREE AND MATRIX RELATION.....HOPE YOU CAN HELP ME I NEED THIS CODE NOW PLEASE SEND IT T...
[no replies]
Please i need help!!!
 
IS THERE SOMEONE THAT CAN GAVE ME A CODE IN VISUAL C++ ABOUT BINARY TREE AND MATRIX RELATION.....HOPE YOU CAN HELP ME I NEED THIS CODE NOW PLEASE SEND IT T...
[no replies]
by stulo
bubbledown function
 
I'm a little stuck on this. For this program, we're asked to make a revision to the standard bubbledown function of the textbook in order to sort employee data ...
[3 replies] Last: Hi. Lets start with this: I don't see the definition nor the declara... (by Jeff HS)
by g0dwyn
Designing Pretty GUIs
 
Hey all, So I'm looking towards making a pretty menu and GUI for a project of mine. I'd like to be able to have a fair amount of control over the layout - i...
[3 replies] Last: Thats one nice list Duoas. I like Qt too, its really good. Jeff (by Jeff HS)
by Epoch
Comparing 2 strings from a I/O file.
 
OK...i want to be able to compare 2 strings from a .txt file. My program is like a account creation page. The user inputs his name and password in, it then save...
[no replies]
Calculation
 
I am a beginner and I need help writing a calculation program. The program should be able to handle at least 8 operators, square, sin, cos, tan, powers, +, -,...
[5 replies] Last: Thanks for your help, you've been vary helpful. (by ogranatw)
c++ game problem
 
were making a game in c++ i got questions 1. why is it the graphics we make is so lame??up to 16 bits capacity is the limit of c++? 2. can someone help me ...
[2 replies] Last: There no limits in graphics in c++ because it doesn't have any graphic... (by Jeff HS)
displaying sine/cos/tan in a program
 
I'm in a programming class and we're using Starting out With C++ by Tony Gaddis (5th Ed.) as a text. I haven't had any form of a math class in like 3 years and ...
[2 replies] Last: #include <iostream.h> #include<cmath.h> void main(){ double angle; ... (by slyval)
Friend Classes / Operator Overloading
 
I have 2 classes, Student and Teacher. First we have to set grades for the students (in the student class), then using friend, the Teacher class adds up the p...
[3 replies] Last: One more thing: In the code you posted, the id field on both the st... (by ropez)
by aande
Help with an assignment question.
 
i'm having problems creating and implementing the final requirment:void remove_message(int i) const; This is my question: You have to create a class call...
[1 reply] : The code makes sense. The vector class lets you add messages to the en... (by ropez)
by cppcub
error in mingw, dirent.h, or my programming?
 
Hi all, I am using PC AMD Athlon, WinXP Home SP2, and mingw32: g++ (GCC) 3.4.2 (mingw-special). Problem: *My program traverses a directory ("./BB"; cou...
[4 replies] Last: Thank you, Mythicwolf! std::string AllFiles ; works great :-) ... (by cppcub)
Mystery Error
 
Okay we have this simple school project where we take several XML northwind documents and do cout for specific information. Anyways for the OrderDetails and Pro...
[no replies]
by ness
[resolved] Vector data insertion from C functions
 
Hello, I'd like to fill my vector<unsigned char> with a low level "C" function that has this kind of proto : getData(unsigned char* buffer, unsigned int s...
[4 replies] Last: sorry. (by Jeff HS)
is a true Singleton possible with c++?
 
hello forum, i am very new to c++; but not new to oop. i am a java programmer by profession. teaching myself c++ as my latest "hobby project". please, ca...
[3 replies] Last: // this shouldn't be allowed Singleton* doubleton; doubleto... (by ropez)
Quick Array Problem
 
New to using arrays, and C++ all together for that matter but heres my problem. I've created a program that asks the user to give 20 numbers then to search f...
[2 replies] Last: In C++, you normally declare variables where you first need them. Decl... (by ropez)
constness of vector of pointers
 
Hello, I have some doubt regarding my code below class A { public: ...... const vector<B *> *getB() const {return bval;} private: ve...
[2 replies] Last: This is equivalent, and might be more efficient: #include <vecto... (by ropez)
March 2008 Pages: 1... 45678
  Archived months: [feb2008] [apr2008]

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