General C++ Programming - February 2013 (Page 29)

please help with my homework
 
B. Circle in a Square Write a C++ program that will ask the user to enter the area of a square. The...
[1 reply] : Using math.h library is not allowed. Can you use <cmath> then? :)... (by MiiNiPaa)
Do While and Repetition
 
Hello everyone! I need some help and hopefully I can find a few answers... I have this program wr...
[4 replies] Last: Thank you! (by squegles)
by bardia
Time and Date as Text File Name
 
Hello, I'm new to this forum, but I have been using it's advice and it's been great. Anyways, I've b...
[1 reply] : NVM, I'm sorry. Just solved it, with *cough cough* another forum. Her... (by bardia)
need help drawing a rectangle
 
hello i'm trying to create a rectangle in c++ using vectors that have a menu to select the size and ...
[2 replies] Last: it's telling me for needs a { and shapeSize isn't defined? i don't get... (by purplebud)
Need help with my beginners restaurant program.(mainly the tax)
 
Hello everyone I am working on my first C++ program ahead of schedule and I think I almost have it d...
[6 replies] Last: ^^ done thanks forgot about that =) (by Nonstickrudy)
by Jgwman
String to multidimensional char vector
 
Hello, today I was working on a program which compares sequences of characters, counts the differen...
[7 replies] Last: Sorry for taking so long, that's what it was supposed to do, but would... (by Jgwman)
Templates Mangling my Mind
 
For my data-structures class, I am attempting to create a binary search tree template to be used to ...
[4 replies] Last: (this is getting ridiculous common, ¿where is the FAQ?) http://ww... (by cire)
Help With Binary Tree Template
 
When I compile the program, I get errors I've never seen before. Any help to resolve this will be ap...
[2 replies] Last: Thanks ne555 (by BinaryGeek)
by virk
passing array as argument to function?
 
how can i pass an array as an argument to the function? in getCoin() fcn, I am supposed to pass co...
[4 replies] Last: THANKS a lot Smac89 and vlad from moscow. I appreciate your time guys.... (by virk)
by Bound
Pointer to an array of pointers
 
Hey guys, I'm just trying to get a handle on the uses of pointers here. Though clearly from my error...
[4 replies] Last: That was it, thanks a ton! (by Bound)
Downcasting without copying the whole thing
 
I have a non-virtual class (VectorT) with exactly the same data structure with its derived (Vector3)...
[2 replies] Last: > You can't "convert" it to another type. But you can treat it as you ... (by ne555)
How do I use the or "||" operator with a Char type in a loop?
 
I am trying to make this loop until a valid char is entered. while ( VALID =1) { cout << "E...
[3 replies] Last: Exactly what I needed. I am taking basic C++ right now so the toupper ... (by BrianDehn)
by hvigil
How to store data from a class into a container?
 
I'm having trouble understanding on how to actually store into a container from another class. Can a...
[9 replies] Last: I'm not quite there yet , maybe in a couple of days ill get into vecot... (by hvigil)
by aj3423
how to implement a class that support both default ctor and operator=
 
#include <iostream> #include <string> using namespace std; struct create_info { string text; }; ...
[4 replies] Last: At first I thought the wnd should have default create_info even if not... (by aj3423)
Printing IEEE 754
 
I'm working on an assignment but I'm stuck. For some reason I can't get this outcome: byte order...
[1 reply] : Uh, what is the program's purpose? (by greenleaf800073)
by cnoobs
How do you set color on inputs and outputs for C++?
 
I am new to C++ and I want to learn how to set color a particular color for the users input and outp...
[2 replies] Last: 5 stars for eklavya sharma 2! (by greenleaf800073)
by Chegy
Inserting math functions from GUI
 
Hi guys, I'm new to C++, so go a bit easy on me. I have a problem with entering math functions in...
[11 replies] Last: kewl (by greenleaf800073)
by Us5
Doubts and Errors
 
Hi everyone. This is my first post - so please go a bit easy on me :P - See , i've been learning c++...
[10 replies] Last: cout << "Enter 1 for function 1, etc..."; cin >> input; switch(input)... (by greenleaf800073)
Calling method of specialized template base class in sub-class
 
class IFoo { virtual void Bar() = 0; }; class FooAbstract { virtual void Bar() {} }; te...
[5 replies] Last: Line 33 is missing a void type. Simply qualify the call to Bar by ... (by AbstractionAnon)
Palindrome Program
 
I have an assignment where i have to make a palindrome program. As you can see i have already done t...
[6 replies] Last: This is a duplicate of a thread that is marked as solved: http://www.c... (by JLBorges)
February 2013 Pages: 1... 2728293031... 43
  Archived months: [jan2013] [mar2013]

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