Search Results

Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: dallin
Forum: C++ Apr 3rd, 2005
Replies: 2
Solved: Formating
Views: 1,481
Posted By dallin
Perfect, thanks.
Forum: C++ Apr 3rd, 2005
Replies: 2
Solved: Formating
Views: 1,481
Posted By dallin
when using #include <iomanip> ; what is the syntax for formating numerical values for currency - example 123456, format to $123,456. Using the cout << command.
Forum: C++ Mar 12th, 2005
Replies: 3
Views: 2,382
Posted By dallin
No need to reply to my question. I have been working on it feverishly and finally got it!! It works!! -- that is a wonderful feeling.
Forum: C++ Mar 12th, 2005
Replies: 3
Views: 2,382
Posted By dallin
It's a class assignment that requires me to use derived classes.
Forum: C++ Mar 12th, 2005
Replies: 3
Views: 2,382
Posted By dallin
I'm stuck, I have a base class String, derived class Pstring, and trying to develop another derived class Pstring2. Pstring2 needs a function called left. Main will call the function by...
Forum: C++ Feb 26th, 2005
Replies: 9
Views: 13,655
Posted By dallin
I have random numbers such as
1 6 8 5 7 3 9 2 4

in a 1 dimensional array

what for loop do I use to reorder the numbers from 1 through 9?

thanks.
Forum: C++ Feb 19th, 2005
Replies: 3
Views: 2,274
Posted By dallin
I agree, however, I believe its for my educational benefit only and my grade. I've tried it and like it, however, what additional code do I need to limit the digits displayed to 3? Found it, I...
Forum: C++ Feb 18th, 2005
Replies: 3
Views: 2,274
Posted By dallin
I'm using visual studio .net c++ and I'm looking for the easiest code to drop the 0 on 0.233 to .233 when displaying floating point variable on screen. Thanks.
Forum: C Feb 2nd, 2005
Replies: 4
Views: 2,785
Posted By dallin
I have a Distance Structure that includes Miles, Feet, and Inches. The user inputs these amounts 3 digits for miles, 4 digits for feet and 2 digits for inches. Not all of the time the user will...
Forum: C Jan 29th, 2005
Replies: 8
Views: 13,946
Posted By dallin
I'm using visual studio C++ I've run across ios class manipulators like set precision, left, right -- haven't used them yet though, wondering if these are the best/simplest approach I should be...
Forum: C Jan 29th, 2005
Replies: 8
Views: 13,946
Posted By dallin
I have a column of floating point data that I need to right justify and align the decimal points. Help.

Data looks something like this.

30.768
1.345
.430
Forum: C Jan 29th, 2005
Replies: 9
Views: 6,675
Posted By dallin
I'm using the abs() function in a probability calculation using float and int variables however I'm getting error messages. What I'm trying to do is get a decimal answer using abs() but it appears...
Forum: C++ Jan 28th, 2005
Replies: 2
Views: 26,162
Posted By dallin
perfect, thanks!
Forum: C++ Jan 28th, 2005
Replies: 2
Views: 26,162
Posted By dallin
In C++ visual studio .net, I'm dividing two integer variables and trying to put the answer in a double variable. How do I get two integers to divide and give me a double data variable answer? ...
Showing results 1 to 14 of 14

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC