Beginners (Page 124)

String Planet Program *URGENT*
 
Hey, I'm to write a program that outputs a user's weight on a planet they enter. The user must firs...
[7 replies] Last: You're entering the weight, which is an integer. The "\n" remains in ... (by justme2)
Debugging issue regarding fractions
 
The code below is designed to add, subtract, multiply, and divide fractions created in the class Rat...
[1 reply] : This function Rational Rational::addition(Rational y) // adds fracti... (by vlad from moscow)
My first program! :D Looking for constructive criticism. (1,2)
 
So i'm literally only a few days into learning c++ (I took about a semester of computer science in h...
[33 replies] Last: I actually spent some time making a Date class last night. The zero b... (by LowestOne)
by kiste5
Arrays very easy question
 
What's the difference between a and int a ? this a my hw question idk how to explain or the know th...
[4 replies] Last: The first, a , is an expression. The second, int a , is a declaration... (by vlad from moscow)
Problem with "=" operator in a problem regarding classes
 
Here is a bit of the code in question. the error is in line 13, "x = c.addition(d);" the problem ha...
[3 replies] Last: Thanks, That was the trick. There is another debugging problem now, b... (by KarateMan80)
calculate the number of prime numbers between two inputs
 
ive done the main parts... but i dont get how to calculate the number of prime numbers in between. f...
[9 replies] Last: http://www.cplusplus.com/doc/tutorial/arrays/ (by kinley)
by tpinon
Seekg and Seekp program
 
Hi guys, I'm trying to write a program that reads from a file using seekg/seekp. I'm just working o...
[8 replies] Last: unfortunately, i can't use arrays for this assignment. :( just learni... (by tpinon)
by jpe33
variables in system() function
 
Hi I haven't touched C/C++ for over 15 years and even then it was "hello world" What I would like ...
[6 replies] Last: Quincy 2005 looks a bit dated (the 2008 version uses MinGW 4.2 accordi... (by Catfish3)
Can I use a boolean as an index?
 
vector<int> myvec; myvec.resize(2); bool idx1 = false; bool idx2 = true; myvec = 123; myvec...
[4 replies] Last: Ok great, thanks :) (by ausairman)
Quick C++ Function Help
 
Hey everyone, I have done all of the assignment so far except for one part. Here is the assignme...
[1 reply] : Replied to you in other topic. Please do not cross-post one topic in s... (by MiiNiPaa)
Concept Question
 
I'm learning about operator overloading, and I've learned that when you overload the << and >> opera...
[6 replies] Last: Ok, thanks a lot for the help! (by INeedAHero)
GUI for matching game
 
I am writing a matching game using C++ GUI but I can't think a way of doing so. It is kind of games...
[no replies]
Help me!!
 
hello help me plz i'm a beginner, i don't know how to do this 1.Input value to array 2 element ...
[1 reply] : #include <algorithm> #include <iostream> #include <utility> int main... (by MiiNiPaa)
Help with 2D arrays?
 
#include <iostream> using namespace std; How can I print the whole rows and columns instead of on...
[2 replies] Last: The simplest way is to use the range-based for statement. For example ... (by vlad from moscow)
how to do vice versa operation? C
 
i wrote a program which can calculate numerical meaning of a word i type. now i want to type a numb...
[1 reply] : You can make a dictionary of words and their numerical meaning. After ... (by MiiNiPaa)
How would this template code run?
 
#include<iostream> #include<conio.h> using namespace std; namespace ns{ class A{ public: tem...
[1 reply] : I do not know where there is the line 19 because as all stupid guys yo... (by vlad from moscow)
Constructors giving me a hard time
 
I have a class Car that calculates speed and whatnot, but with the constructor im getting error mess...
[2 replies] Last: Oh i see. I had it like this before Class Car { Private: //all my ... (by Mobius1)
Need help with C2676: binary '['... ERROR
 
Anytime I try to access part of an array, ba for example, It gives me this error, even when I print...
[1 reply] : only predefined types have the operator built into the behavior. If... (by pogrady)
Random numbers and Vectors (1,2)
 
Ok, so I have an assignment, which is designed to see if I can implement the work into a class. That...
[25 replies] Last: Simple? This drove me batty for weeks! Heck, the next assignment, (lab... (by xanthian23)
why my inFile will insert extra 1 number after second loop
 
1 KEZN 2HITACHI HTC2011-500TB 2 1000 4 SAMSUNG ST-56/2-PLASMA 3 13500 6 PENDING m...
[1 reply] : editted (by Lim Boon Jye)
Pages: 1... 122123124125126... 132
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.