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 Forums
Favorite Tags
c++ x 19
Member Avatar for chocl8drop

I am trying to write a C++ program that will list the perfect numbers between 1 and 1000. I also have to print the divisors to confirm the number is perfect. I started by trying to find the perfect numbers. Here is my code. Please help. #include <iostream> using std::cout; …

Member Avatar for sundas0068
0
624
Member Avatar for chocl8drop

I'm trying to implement operator overloading. I think I was successful with overloading the input and output function. Do I need to keep the current functions and add functions such as [code] bool operator == (const HugeInteger&, const HugeInteger&); [/code] My program is listed below. Please point me in the …

Member Avatar for Lerner
0
373
Member Avatar for chocl8drop

I am working on a program that implements a complex number class. I will include the main part of the code. I am getting the following error and can't figure out why. [code] error C2143: syntax error : missing ';' before 'namespace' [/code] Here is the beginning of the program. …

Member Avatar for chocl8drop
0
734
Member Avatar for chocl8drop

I am working on a program that will read a list of words from a file. For each word, I have to build a key which is basically the word with all of its letters sorted (i.e. dorw is the key for word). I need to build an array of …

Member Avatar for dougy83
0
124
Member Avatar for chocl8drop

I need some assistance in getting this program to perform correctly. It's suppose to take a sentence, break it up and return each word in pig latin. Right now, the program takes a sentence such as Jump start your morning and it returns Jumpay startay youray morningay. It should return …

Member Avatar for John A
0
110
Member Avatar for chocl8drop

I'm trying to write a solution to the 8 queens problem. I am trying to start with a empty board. I keep getting the following error "error C2664: 'SetQueen' : cannot convert parameter 1 from 'int' to 'int [][8]' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast …

Member Avatar for Dave Sinkula
0
122
Member Avatar for chocl8drop

I am a college student as well as a soldier. I have been in the Army for 17 years. I am currently majoring in Computer and Information Science.

Member Avatar for Michael_Knight
0
30
Member Avatar for chocl8drop

I am trying to write a program that will flip a coin 100 times and count the number of times it lands on heads as well as the number of times it lands on tails. I have a function, flip, that returns 0 for tails and 1 for heads. When …

Member Avatar for chocl8drop
0
610