- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
I am a junior c++ developer
- PC Specs
- C++, QT
Re:
I don't understand what is wrong with this. This is the line with the error: `}while(playAgian());` Thank you :) #include <iostream> #include <string> class Ice { public: void hit(int playerLoco, int iceStrenth, int loco1, int loco2, int loco3); int strenth; class Loco { public: int location; bool hit; }; }; … | |
Re:
Hey Everone , I Wrote a Program To Enter The info and the given info would be saved to a text file . Here is The Program Itself : [CODE]/* Created By Hayzam Sherif Date : 11/7/11' */ #include <fstream> #include <iostream> #include <cstdlib> using namespace std; int main() { … | |
Re:
This program is to enter the scores, get the grades, and display the result. However, I get a [U][B]fatal error LNK1120: 1 unresolved externals[/B][/U] Does anyone know how to solve this problem? [CODE] #include <iostream> #include <iomanip> using namespace std; // Function prototype void letter(double score, double resultNum, char grade); … | |
Re:
the question asked me make a program that would find opens an read a txt file and calculate or display the following. - the number of numbers - sum of all the numbers in the file (running total) -average of numbers in file the .txt file just has 100,200,300,400,500,600,700 each … | |
Re:
I'm having an error "a value of type "double" cannot be used to initialize an entity of type "double *" Any tips? Thanks! [CODE]#include <iostream> #include <string> using namespace std; struct sample { string name; double *num; unsigned elements; }; int main () { sample x = {"Dude", [COLOR="Red"]{1, 2, … | |
Re:
I am currently working on a small project with Fibonacci numbers and it requires me to report an error when given a negative numbers. This is the assignment my professor gave me, "The program is not assured of receiving good data, thus if -2 is received as the number of … | |
Re:
Hello guys, I need some help with a program that finds all the prime numbers from 2 to 10000,here is what I have so far [CODE] #include <iostream> using namespace std; bool prime(int n ); void main () { int n,b; b=0; for (n=2;n<=10000;n++) prime (n); if () { cout<<n<<endl; … |