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
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 52
Member Avatar for baconswife

I am writing a program that outputs whether or not a number is prime. Can anyone help me find where my syntax error is? Also, i get that i = 3; i <= num; i++ would be true for it being a prime number from the other forums I have …

Member Avatar for Mahfuz_1
0
192
Member Avatar for baconswife

Hello, for some reason I am having trouble remembering how to make it exit when they push the number 9. Can anyone help me? Also, I need it to repeat rather than at the end saying "press any key to continue" I know I will do this using while (choice …

Member Avatar for baconswife
0
247
Member Avatar for baconswife

Can someone help me on this? While considering the following function definition: [CODE]void defaultParam(int u, int v = 5, double z = 3.2) { int a; u = u + static_cast<int>(2 * v + z); a = u + v * z; cout << "a = " << a << …

Member Avatar for arkoenig
0
129
Member Avatar for baconswife

My program is supposed to open files, initialize variables, use the functions sumGrades, averageGrade and printResults. I am having some errors and was hoping someone could help me out. To begin with some errors I'm getting are: line 10- two few arguments to function 'void printResult(int, int, float, float, float, …

Member Avatar for VernonDozier
0
323
Member Avatar for baconswife

With this program I need to be able to find the circumference, area, diameter and radius of a circle. Here is what I have, please let me know of any advice you have: [CODE]#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main () { int x1; int x2; …

Member Avatar for Fbody
0
2K
Member Avatar for baconswife

I have typed this many ways into dev-c++ trying to figure out how to figure out the output but it always comes back with errors no matter what headers I have used and other things. Can anyone give me some ideas? I don't want the answer, just ideas on how …

Member Avatar for mike_2000_17
0
1K
Member Avatar for baconswife

Hello, I need some help figuring out which errors are syntax errors in this. Compared to what I started with this has come a long way but there are still some in there that I am having trouble spotting. I do know that they if statements are incorrect, i'm just …

Member Avatar for Fbody
0
120
Member Avatar for baconswife

Hello, I'm new here and not quite sure what it means by wrapping code in code tags so for my future posts can someone let me know how this should have been formatted so it would be a correct post? My question is I have a program I am writing …

Member Avatar for Grn Xtrm
0
124