Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for lakarr

Hello! So I have a program where I need to open a file, pass the reader into a method, and then within the method read from the file. Then when control shifts out of the method, I need the file reader to be able to pick up where the method …

Member Avatar for lakarr
0
212
Member Avatar for timbomo

what is a way to get numbers in 2 diff columns one column is whole numbers and the other are numbers with decimal places [CODE]int price=' '; // i am attempting to grab a number that has a decimal but its not the correct way int itemnum=' '; // i …

Member Avatar for Fbody
0
1K
Member Avatar for Jeff_5_7

ok i cam writing a class named fraction to add subtract multiply and divide fractions and it also compares them. This is my first time writing a class and also the operators are suppose to be overloaded. I think i did them right. I just need to figure out why …

Member Avatar for Banfa
0
252
Member Avatar for lllllIllIlllI

A couple of days ago i just got back from my first overseas trip. Where did i choose to go for this trip of mine? No other place than the fabled USA. As the first Paul to go there since Paul Hogan with Crocodile Dundee it was important to observe …

Member Avatar for lllllIllIlllI
0
716
Member Avatar for lakarr

Hey, Lakarr here. I'm an Engineering Physics major who fell in love with programming after taking a c++ class, and now I like to code games in my free time; my current project is a breeding game called Origins where the user starts off with a few wolves and from …

Member Avatar for lawrence1
0
106
Member Avatar for gregarion

Hey guys , i am trying to write an array into a textfile. Here is the coding... [CODE]int main() { ofstream myfile("report.txt"); int g = 0; int billy [] = {16, 2, 77, 40, 12071}; for (int n=0 ; n<5 ; n++ ) { g = billy[n]; myfile << g …

Member Avatar for Fbody
0
108
Member Avatar for smackdown164

so my project is due tomarrow and im stuck i need to some help. This is what i have it came up with some errors and i need to finish it. The conditions are TOTAL BALANCE and need to withdraw only multipule of 20 [CODE]// This is a program that …

Member Avatar for lakarr
0
604
Member Avatar for loadload

[CODE] using namespace std; int main(int argc, char *argv[]) { int item_weight; // ITEM WEIGHT IN GRAMS double item_unit_price; //ITEM UNIT PRICE ($) int quantity_required; // QUANTITY REQUIRED //ENTER ITEM WEIGHT IN GRAMS----------------------------------------------------- cout << "ENTER ITEM WEIGHT IN GRAMS: "; // prompt for input item_weight cin >> item_weight; // …

Member Avatar for loadload
0
130