Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
65% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
5
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
3
2 Commented Posts
~20.5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for gnarlyskim

Next project in my C++ course is to create a class Polynomial to add, subtract, multiply by a scalar, and multiply by another polynomial. I've written my code, and it works fine when I run it, but there's an application that is provided by our instructor to compare my .exe …

Member Avatar for Calista Flock
0
2K
Member Avatar for gnarlyskim

Having issues with this program. I've been trying to identify all the areas where data is created, then tried to destroy it likewise after using it. I've put a lot of delete[] coef (coef is a pointer double array to hold coefficients). The program will run half the time, then …

Member Avatar for gnarlyskim
0
125
Member Avatar for gnarlyskim

I'm working (well have been for the past few weeks) on a polynomial class to do different things between two polynomials: multiply, divide, get remainder, subtract, add. The coefficients are stored in a pointer to an array listed under private and the degree (also the amount of slots in the …

Member Avatar for gnarlyskim
0
85
Member Avatar for wittykitty

I have been trying to figure out for the life of me what I am doing wrong here, and I am coming up blank. My operator is returning the correct value in temp - as you can see highlighted in red, however, when I use the operator in main - …

Member Avatar for wittykitty
0
114
Member Avatar for allaboutdrew

I am recently new to C++ and I wondered if someone could show me how to modify my program below. I want the program to test if there is more than 1 day that has the highest rainfall and susequently to output those corresponding days. Than you :) [CODE]#include <iostream> …

Member Avatar for gnarlyskim
0
119
Member Avatar for miskeen

Hello, I have to use an array, but its length is unknown at the beginning of the program. Is it possible to create such array and after that give it the desired length? Thank you!

Member Avatar for miskeen
0
15K
Member Avatar for aroma7
Member Avatar for gnarlyskim
-2
100
Member Avatar for sana zafar

Hi all, I need to write a program that will first read a file and then 1. Output all the words that appear in a file. 2. Treat only sequences of letters and digits as words, i.e., all other characters such as punctuation marks should be used as word delimiters, …

Member Avatar for gnarlyskim
0
118
Member Avatar for gnarlyskim

I'm trying to clean up my coding a bit for a program I'm working on. Here's an example of my code (not my exact code, but I've adapted it to an example): [CODE]class Example { private: double* group; int number; public: Example() {group=new double[1]; number=0;}; Example(const Example& ex); Example& Example::operator=(const …

Member Avatar for gnarlyskim
0
125
Member Avatar for gnarlyskim

Say I have an array: array={1, 2, 3} but I want to be able to increase the size, and shift the data to the front, leaving 0's behind. So i want the array to turn into this: array={1, 2, 3, 0, 0} Where I added two to the size of …

Member Avatar for gnarlyskim
0
144
Member Avatar for gnarlyskim

I'm working on a project for my first use of classes and OOP. I've read all our slides (only provided examples though) and two tutorials on classes, but I confused about a few things. I'll show first the assignment then I'll post my specific questions after. [QUOTE]You will need to …

Member Avatar for gnarlyskim
0
137
Member Avatar for gnarlyskim

I'm looking for a few suggestions on different ways to input a polynomial into an array (coef[]) using a degree (double degree). I have one way that works, but my most recent project needs a new way to do the same thing (not sure why but it can't hurt to …

Member Avatar for venkat arun
0
97
Member Avatar for marshella

how to write a program in c++ for this type of question? Write a calculator program in c++ that allows the user to select which operation they would like to perform such as: Addition, subtraction, multiplication, division, modulus, Square, Square root, Convert Celsius to Fahrenheit (Fahrenheit = 1.8 Celsius +32), …

Member Avatar for nats01282
-1
316
Member Avatar for Mridula J

Hi All, Refer me a good C++ book, specially for Exceptional Handling. thanks mridula.

Member Avatar for gnarlyskim
0
69
Member Avatar for gnarlyskim

I have to be able to read text from a file then manipulate it to find the average value of an integral over a given bounds [a,b] from an input file, then export it to another file. I do not know how to store the information to process it. Say …

Member Avatar for gnarlyskim
1
170
Member Avatar for Robyy14

Hey I am pretty new to c++ and algorithmic , so please try explaining me what to do or give me a code for example don't redirect me to a site that already made a library for this because you only wasted your time telling me that. For example i …

Member Avatar for dusktreader
0
135
Member Avatar for gnarlyskim

So I've missed the past week of my C++ class due to the SEC swimming championships being a week long :@, and I've missed the whole topic on file processing. I've been reading the slides and a few tutorials via lovely google searching, but it's a little hazy. Can anyone …

Member Avatar for gnarlyskim
0
141
Member Avatar for gnarlyskim

trying to do input checking for an alpha character inputted where a numeric one is needed. I've implemented this function firstChoice() to allow a certain response is '2' or '3' was picked and then another certain response for anything other than '0 '1' '2' or '3'. I must add another …

Member Avatar for gnarlyskim
0
435
Member Avatar for AmigaCarolena

I do not have a clue here. I am floundering along but not getting anywhere. Any suggestions would be greatly appreciated. Thank you. /*This is a program that processes a loan for a car using appropriately named variables. It will use those variables in the input, calculation, and output of …

Member Avatar for gnarlyskim
0
327
Member Avatar for gnarlyskim

As you can see I am new here. I found this site from googling a question about a getChoice() function , and I was able to learn how to implement the function in my project to fit my needs from the post. ([url]http://www.daniweb.com/forums/thread162456.html[/url]). Well anyways, I have more issues that …

Member Avatar for gnarlyskim
0
1K
Member Avatar for MrYrm
Re: Oi

My name is Yoram, nick is easy: YRM.. Originally im a allround web developer but last couple of years only making ria's with flex flash php and sometimes some java. I'm a big fan of AS3.0 but DONT like flex, like php but LOVE the zend framework HATE HTML and …

Member Avatar for ArtphotoasiA
0
86
Member Avatar for gnarlyskim

I was lucky enough to find Daniweb via google on searching for explanation on a getChoice() function for C++. I'm excited to be a member of the community. I can see that there is a lot to learn on these forums, as well as some people extremely qualified to help …

0
40