- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Comp-Sci student
Re:
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 … |
|
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
hey guys please help me out here.i really liked to know how to convert hexadecimal to binary |
|
Re:
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. … |
|
Re:
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 … |
|
Re:
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 |
|
Re:
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 … |
|
Re:
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 |
|
Re:
Which is in higher demand in the job market right now??? |
|
Re:
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 … |
|
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 … |