Beginners (Page 82)

Dynamic Matrix
 
Hi,i want to delete from dynamic matrix the first row, where the sum of the elements is more than 10...
[2 replies] Last: thank you (by programmer0)
by HelenI
Postfix expression evaluation
 
Hello there!! I have to solve a postfix expression evaluation. e.g. : 7 4 -3 * 1 5 + / * the ans...
[no replies]
BMI help
 
I get an error at the return line can someone help? int main() { int feet; float inches, h...
[2 replies] Last: please use code tags <> (by anup30)
by Nis
Please help explain these errors
 
I cannot figure out where I went wrong here. Please help #include <iostream> #include <strin...
[4 replies] Last: if it has to be void It has to be int, not void. What is missing fr... (by MiiNiPaa)
by id10t
Stupid Class/Object Initialization Question
 
I have what I assume is a very stupid/simple question regarding arrays. Yes, this is a homework assi...
[4 replies] Last: Thanks again LB. I think I understand what I was doing wrong but I'm n... (by id10t)
by GilTea
Issue with IF statement / Array / While loop
 
Hi there, I am fairly new to C++ and am only asking for a bit of direction, not to have code create...
[4 replies] Last: You're a gentleman and a scholar, thanks Anon. (by GilTea)
Mean above mean
 
I need to make a program that reads in a list of floating-point numbers then calculates and displays...
[12 replies] Last: bump (by keltonfan2)
Wrong output
 
// t is the number of test cases. When I input t, I get a output of 0 first. Then I am asked to...
[4 replies] Last: How can I calculate the total number of characters entered into the s... (by MiiNiPaa)
Program not outputting correctly
 
I have to create a program that the user enters the input for three sides of a triangle and the outp...
[1 reply] : Never mind, I ended up figuring it out. It was because I didn't use ==... (by fukonashi)
Character string input
 
I want to input a string whose maximum length could be pow(10,5). And input into the string must be...
[no replies]
by Kernul
Put an element in a sorted vector
 
Given a sorted vector V and an element a, put the element a into the vector keeping the vector sorte...
[6 replies] Last: To find the position I have to find the first number that is bigger th... (by Kernul)
assignment operator overloading
 
class ABC{ int i; public: ABC(int ii):i(ii){} // copy-ctor ABC(const ABC& obj) ...
[4 replies] Last: > why does (i=j).modify(); work? > Also, ((i=j)=k); should not support... (by JLBorges)
Why constexpr template functions would work?
 
Hi guys, I had this question thrust into my head, why constexpr template functions would work? As sh...
[3 replies] Last: Thanks for your replies. Really appreciate it! (by glenjoker)
matrix vertically reconfigurated array elements
 
can somebody please fix it so as to output : a= 1 5 9 2 6 10 3 7 11 4 8 12 #include <ios...
[3 replies] Last: more array reconfigurations #include <iostream> #include <iomanip> ... (by mynicks)
Converting one character into another
 
Hello Guys I want to convert one character into another e.g. array has 10 characters like abc...
[1 reply] : Loop over all characters in your array check and replace them for(int ... (by MiiNiPaa)
by Nanyo
check if file is open and ask for password
 
Hi I am trying to make a program that asks for password when you try to open a file. Any Ideas? Tha...
[no replies]
Check my progs
 
Hey, I am a beginner, check my prog #include <iostream> using namespace std; class car { ...
[no replies]
Question
 
Hi; Plz tell me, why we use . operator when we are using classes ? Like Here: In this li...
[13 replies] Last: const after a function declaration means that the function is not allo... (by BillyBob)
Const keyword
 
Hi, Some times why we use const keyword at last, Like as: Fraction operator+( const Fraction &...
[4 replies] Last: void g() const When you create member function, aside from arguments... (by MiiNiPaa)
Temp conversion program
 
Hi, I want to write a program which asks me to enter temperature with unit, like 32F and then con...
[1 reply] : int temp; char scale; if(std::cin >> temp >> scale) { std::cout <... (by LB)
Pages: 1... 8081828384... 105
  Archived months: [jan2015]

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