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

by rawr
Help with my program(errors)
 
Alright I have just started using C++ recently so am doing these sort of programs. I am not finished this one yet but there are a few errors I do not know how...
[4 replies] Last: Hello I am having problem with my code. I am working with VC 6.0 and ... (by manav316)
Double constructor
 
The math part is not correct. Can't figure out how to fix so that when you put in a decimal number, it gives you the LCD fraction. Here's the code: CRationa...
[no replies]
Need Help to parse the XML and extract the specified tag value..in C++
 
Dear Sir, I have a XML file like this below in test.xml file test.xml contains the content like this. <?xml version="1.0" encoding="UTF-8"?> <presence...
[no replies]
Random Access Array Processing
 
Program functionality: 1.) Design a rudimentary spread sheet. 2.) Provide provision for the entry of a formula, i.e. cell#?? = value, cell#?? = operation, cel...
[no replies]
Text File with multiple rows and columns
 
I completed a intro to C++ course this past fall and I am currently working on an assignment where I have been given the option to use a programing language ins...
[1 reply] : Assuming you are using an ifstream: #include <iostream> ... ... (by Duthomhas)
How do i write this program?
 
hey, I am a college stundent who was assigned to write a simple beginners C++ program and i needed some help. I am just starting out in the language and I didn'...
[1 reply] : it looks like you're learning the functions found in the cmath library... (by heyiamt)
Throw exception
 
Per my assignment, I have to use SeProperForm(void) that should throw an exception if the denominator is zero. Here's my code for that which works but it closes...
[no replies]
by louco
Project: Web 3.0
 
Hi! I'm planing to writhe a program that is a mashup of Community, MMORPG, thin client, file storige and much more. But my problem is that i can't do this...
[no replies]
by reilar
Indirection (dereference) operator overloading
 
Hi, I'm trying to overload operator*() for a class I have created but it doesn't work as I expect. This is how the implementation looks: #include <ios...
[2 replies] Last: Yes of course. I really didn't have a clear idea about what I was doin... (by reilar)
c++ trouble
 
trying to write a program to convert centigrade to fahrenheit using a loop. here is what i got so far: #include <iostream> using namespace std; int main...
[1 reply] : int choice; float temp,ctemp; cout<<"1.Fahrenheit to Celsius"; cout... (by Salu)
by Salu
how to use a multiple stack
 
Actually I need a multiple stack Plzz help me with cpp code
[no replies]
Stacks
 
Can anyone give me a code on stacks?
[1 reply] : class stack { int top,s ,i; public: stac... (by Salu)
C++ Calculator Help
 
I have already received help for this, thank you!
[no replies]
using division with in a else if statement
 
I need to be able to make a leap year calculater using a % function with in the if else statement or switch statement (the later im not as fimilar with). Im sor...
[1 reply] : I found the answer to my own question here it is for any one with simi... (by caperneoignis)
Advice or criticism of code below
 
I have been a C programmer for fun for a number of years and also programmed with C++ in the early '90s. I purchased the book "Accelerated C++" in an effort to ...
[1 reply] : It certainly looks like you know what you are doing. In fact, I'd say ... (by Duthomhas)
by mat76
question about new and delete
 
I am currently learning about new and delete objects on the heap. many of the examples are classes calling new in the constructor. i was under the impression yo...
[1 reply] : You are perfectly safe. If something goes wrong in the constructor ... (by Duthomhas)
by kaleem
help!
 
i wanna build a simple program that can tell the user the data type he has entered! can any body help me in my program i am new to programming!
[1 reply] : Be more specific. (by hackitsoft)
reading '\n'
 
How can I read '\n' as a char? I want to read character by character \n from a file and then to have a single char.
[1 reply] : '\n' is character like 'a', 'b', ..... you read it like any other cha... (by hackitsoft)
March 2008 Pages: 1... 678
  Archived months: [feb2008] [apr2008]

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