Beginners (Page 86)

by ferrad
string copying
 
Could someone please explain why: errormsg = "error loading dll"; makes a copy of er...
[1 reply] : Could someone please explain why: errormsg = "error loading dll";... (by MiiNiPaa)
My program won't calculate the average.
 
So my teacher gave us this assignment today and he wants us to use functions to be able to pass valu...
[3 replies] Last: Thanks a ton kemort and keene! Something so simple that just slips thr... (by rddscalif)
Why does my calculator code work when I run it improperly?
 
Write your question here. I was trying to make a calculator program, and while this code works when...
[3 replies] Last: Thanks for your help guys. Any suggestions on how I could make the pro... (by Jansel3)
Smallest & Second largest
 
I want to write a program that prompt the user enter a number continuously, until the user enter zer...
[12 replies] Last: oh men, theres a lot people commented in this thread (by Lorence30)
Invalid Input Check....
 
Heres the Problem: Write a program to gauge the rate of inflation for the past year. The program ask...
[3 replies] Last: #include <iostream> #include <cstdlib> using namespace std; int main... (by shadowCODE)
by csharp
vector array function question
 
came back with other question about vector array function I am writing. I need some hints on how to ...
[17 replies] Last: Thanks, I hope this will work even if the interesting function is deal... (by csharp)
by bea456
how to put addition,sub,multiply, and division
 
Hello, I need help adding, subtracting, multiplying, and dividing two fractions. It should show ...
[7 replies] Last: I need help adding, subtracting, multiplying, and dividing two fracti... (by cire)
can't seem to find the error...in the code
 
after entering the roll no i have to press enter twice to get the program to ask me for my id. Why ...
[1 reply] : The problem was with the cin.ignore(); after entering the roll no. (by omkarborkar95)
Help with Functions!!!
 
Can someone help me with my code, I keep having issues in several lines. This is what I wanted to ...
[2 replies] Last: You need to remove "return 0" from line 85, it doesn't belong there. ... (by art1986)
OS-X Xcode Question, as well as code.
 
I have to write a program as an assignment homework that outputs from a textfile as infile, the Low ...
[2 replies] Last: Thank you, that was the issue. For some reason XCode compiles the exec... (by sparkler17)
Calendar for the year
 
I have made the code to where it makes the calendar for a month, now I need to find a way to loop it...
[2 replies] Last: It's been a long day, lol. Thanks for the help, man. I literally had t... (by Joshcannon)
Help Formatting
 
Write your question here. #include <iostream> #include <cmath> #include <iomanip> using n...
[2 replies] Last: You can't return more than one variable ._. use reference or pointer p... (by LendraDwi)
c language split my zip code
 
my project want me to create 10 random zip code and convert the sum of each digit in zip code this i...
[2 replies] Last: thanks that works every well! (by qingcheng)
size of array being inserted into array contents
 
I am trying to sort an array from smallest to largest. When the program runs, it sorts the array co...
[2 replies] Last: ahhh thank you. (by pilotnate)
Operator overloading
 
Hello guys! I am learning operator overloading. I am kinda confused on how to define an operator...
[2 replies] Last: #include <iostream> using namespace std; #define NUM 10 class A { ... (by mobotus)
IDK whats wrong...? Help please
 
#include <iostream> #include <ctime> #include <algorithm> using namespace std; class ...
[1 reply] : Fixed it... :) The random_shuffle paramters needed to be passed by ref... (by coltehrman)
Euler's number
 
Hi guys i just have a quick question this is my homework. "Write a C++ program that will calculate ...
[1 reply] : as you did in the previous program that calculated the value of pi W... (by keskiverto)
Format the output from cout
 
Write your question here. ISBN Title Author Price Qtty ...
[2 replies] Last: #include <iomanip> #include <iostream> using namespace std; cout<<se... (by shadowCODE)
by Zion93
String Subscript out of Range
 
Hey there. I'm fairly new to C++ and I've encountered an error that I'm not certain how to solve. Th...
[3 replies] Last: No "should be". Make your program show the true length. That is one ... (by keskiverto)
Help me translate this very simple if function to C++
 
My function needs to go like this: if x is not equal to y and z is above(>) 1 I tried to writ...
[2 replies] Last: You need to use the logical operator && instead of the bitwise opera... (by Keene)
Pages: 1... 8485868788... 122
  Archived months: [sep2014]

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