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
~7K People Reached
Favorite Forums
Favorite Tags
c++ x 28
java x 7
Member Avatar for rebellion346

So I managed to get everything working right except for one thing, when I enter the following input: a = 2 b = 2 c = 2 I should be getting this: Root 1 = -0.5 + 0.866025i Root 2 = -0.5 - 0.866025i But I get this: Root 1 …

Member Avatar for vencen
0
2K
Member Avatar for rebellion346

I'm just learning how to use templates so I don't really have any experience with them, and I can't seem to understand what I'm supposed to do ... there's apparently an issue with the showWeaponSpecs: error C2783: 'WS AssaultRifle::showWeaponSpecs(void)' : could not deduce template argument for 'WS' : see declaration …

Member Avatar for mike_2000_17
0
120
Member Avatar for rebellion346

So, when I run the program and try to list all the information I get an interesting error message that pops up: ----- Debug Assertion Failed! Program: ...ocuments\Programs\C + + Programs\Checkbook\Debug\Checkbook.exe File: f:\dd\vctools\crt_bld\self_x86\crt\src\tccpy_s.inl Line: 19 Expression: (((_Src))) != NULL ----- Though I have an idea that it probably has something …

Member Avatar for rebellion346
0
218
Member Avatar for rebellion346

This is a program my instructor wrote and I have to create a program that similar in format. My issue is I don't quite understand what main is doing or how it works, was hoping someone could explain it to me in detail. Rolodex.h [CODE] #ifndef _ROLODEX_H_ #define _ROLODEX_H_ #include …

Member Avatar for Shantari
0
528
Member Avatar for rebellion346

Im having issues trying to get this to work. I think the problem for my Meet and Join functions is its printing out the C array inititalized to all 0's and not the modified C array after all the calculations have been done. Also, I don't think my for loop …

Member Avatar for mitrmkar
0
2K
Member Avatar for rebellion346

I'm getting weird output from this program, its printing a bunch of huge negative numbers, they're all the same number in fact. I have no idea what's wrong with it. Heres what im trying to do: I'm taking ordered pairs and translating it into a boolean matrix so for example …

Member Avatar for rebellion346
0
153
Member Avatar for rebellion346

Hey guys, I'm getting a few errors I can't seem to figure out solutions for: (SalesEmployee Line 21) error C2248: 'SalariedEmployee::salary' : cannot access private member declared in class 'SalariedEmployee' (SalesEmployee Line 17) error C2664: 'SalariedEmployee:: SalariedEmployee(const SalariedEmployee &)' : cannot convert parameter 1 from 'std::string' to 'const SalariedEmployee &' …

Member Avatar for rebellion346
0
90
Member Avatar for rebellion346

Hey guys, so my assignment is making a program that takes 2 measure objects and multiplies them together and displays them in square feet. What I'm trying to do is convert the feet into inches for both of the measure objects, then multiply the added inches together. Then I'm trying …

Member Avatar for Nick Evan
0
144
Member Avatar for rebellion346

Im getting an error that says unresolved external and i have no idea what to do, does anybody have any ideas? by the way im not sure if my code actually does what its suppose to do, its still in the works [CODE] #include <iostream> using namespace std; class Measure …

Member Avatar for rebellion346
0
83
Member Avatar for rebellion346

I'm working on a prototype program for my class assignment. I didn't wanna jump into it quite yet until I understood how functions worked so I decided to make this. It's going pretty well and now what I'm trying to do is make it so the program takes user input …

Member Avatar for rebellion346
0
112
Member Avatar for rebellion346

[CODE] weather(sunday,fair). weather(monday,overcast). weather(tuesday,fair). weather(wednesday,fair). weather(thursday,overcast). weather(friday,rainy). weather(saturday,overcast). sky(blue):- weather(Day,fair). sky(grey):- weather(Day,overcast). [/CODE] If the weather is fair, the color of the sky is blue. If the weather is overcast, the color of the sky is grey. Birds are active on Sunday, Tuesday, and Thursday. Birders are happy on a …

Member Avatar for rebellion346
0
951
Member Avatar for rebellion346

I can't seem to figure out whats wrong with my logic for the is it a function or not area. I used the following given test with the correct output: f(1) = 1 f(2) = 4 f(3) = 3 f(4) = 1 f(5) = 1 This function is a valid …

Member Avatar for javaAddict
0
235
Member Avatar for rebellion346

Hey guys, wasn't sure where to post this but i posted it in both categories. Converting the for loop is probably the most confusing for me especially the arrays. Hope you guys can help me out, thanks. [CODE] #include <iostream> using namespace std; int main() { int Function[10][2] = {0}; …

Member Avatar for coil
0
144
Member Avatar for rebellion346

Hey guys, wasn't sure where to post this but i posted it in both categories. Converting the for loop is probably the most confusing for me especially the arrays. Hope you guys can help me out, thanks. [CODE] #include <iostream> using namespace std; int main() { int Function[10][2] = {0}; …

0
67
Member Avatar for rebellion346

Hey guys, I need some help with this code I have. I'm running into several issues at the moment. 1 - I don't know what bitwise operators to use for finding the difference of A and B 2 - When the Union and Symmetric Difference calculate, the outputs aren't displaying …

0
77
Member Avatar for rebellion346

Hey guys. I just signed up and was hoping someone could help me out here. So for this program that's an assignment for my CS 1410 class.There's 2 dices and im suppose to do 1 million rolls. The program is suppose to calculate percentage of how many times the following …

Member Avatar for rebellion346
0
489