Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
~2K People Reached
About Me

Comp-Sci student

Favorite Tags
Member Avatar for kahaj

Before the sum is given, the program closes. What's causing this? [code] #include <iostream> //function main int main() { //var declarations int number1; int number2; int sum; std::cout << "Enter first number: "; std::cin >> number1; //read first integer from user into number1 std::cout << "Enter second number: "; std::cin …

Member Avatar for PRATS 1990
0
98
Member Avatar for mattwaab

hey, i am working on this project, and have made it to the end of the hard coding part. Now i need to work out the bugs / get the thing to compile. I am having some trouble though as i am getting error messages that i dont understand. here …

Member Avatar for StuXYZ
0
94
Member Avatar for pbwebdev

Hello, I'm writing a program that calculates payroll. I'm using an int array for the employee ID and a for loop for the hours and payrate. I have the code working with one exception. I must write a method for input validation that: Does not accept negative values for hours …

Member Avatar for javaAddict
0
117
Member Avatar for mtucker6784

Hi folks! I'm not a student, so this isn't a homework assignment, I'm just trying to learn C++ for my own benefit and my career. My question is: is it possible to call a function that's below another function? If not, how could I do this? For example, in the …

Member Avatar for mattwaab
0
96
Member Avatar for d4diaz

hey guys please help me out here.i really liked to know how to convert hexadecimal to binary

Member Avatar for Freaky_Chris
0
86
Member Avatar for odonal01

Overview: Compare average monthly temperatures to the temperature collect for the year specified. Store in a text file for each month whether there is a warming, cooling, or normal trend. A warming trend is apparent if the year being analyzed is three times the standard deviation above the average temperature. …

Member Avatar for VernonDozier
-2
154
Member Avatar for wolverinert68

This is my first attempt at coding. I am completely frustrated and need any help you can give me. I am supposed to take the values in the main method and in the next 2 (these are the ones i am trying to write from scratch) make the values in …

Member Avatar for mattwaab
0
117
Member Avatar for serkan sendur

i wonder if i create an object from a class using new operator, and if i dont delete that object when i am finished using it, does it still remain in the memory after the program reaches the and of the main function? Thanks

Member Avatar for Free_Classified
0
466
Member Avatar for Mattethington

Hey gang! I'm not sure if this is the correct place to talk about this, but if not I'm sure this will be redirected. So anyways, as my title says I am looking to create a homework submission folder for one of the teachers at my job so that he …

Member Avatar for mattwaab
0
112
Member Avatar for clutchkiller

is there a way to contain the text in a normal format when writing out to a text file? By this i mean, if i have cout output a million a's, instead of one long line if u open and view the txt file, it is many rows. Thanks

Member Avatar for clutchkiller
0
106
Member Avatar for Manutebecker
Member Avatar for Manutebecker
0
108
Member Avatar for littleson

Hi, i am new to programming.. i have a code like [CODE]#include<iostream.h> using namespace std; int main() { int x,y; int *p1,*p2; p1=&x; p2=&y; *p1=10; *p2=*p1; p1=p2; *p1=20; cout<< x << y; return 0; } [/CODE] I do not understand it.. output is x =10 and y=20.. But both x …

Member Avatar for Narue
0
86
Member Avatar for mattwaab

Hey, i am working on a project in which i am making a minesweeper game. The game part was written by my prof. all i had to do was make the class and header to run the background of the game. I have done so successfully, but i am having …

Member Avatar for mattwaab
2
250