
please wait
by leashbomb69
Please help with "container" code
|
:116: error: invalid operands of types `int' and `<unknown type>' to binary `operator<=' #include <iostream> #include <iomanip> #include <cstdlib> // ... |
Feb 4, 2016 at 1:30am
[2 replies] Last: @chervil thank you SOOO Much. (by leashbomb69)
|
by NinjaCodeX
Help
|
It says ERROR:C4716 Vector::NormalizeInPlace': must return a value Im very new to C++ and i need help if anyone could help inline float Vector::NormalizeI... |
Feb 4, 2016 at 1:25am
[9 replies] Last: Does your code define function main() ? (by Chervil)
|
by Mavs25
Help me with my code?
|
1) const double taxrate = 0.0875; According to checkpoint 3 this must be "Use a defined constant for the tax rate" 2) Price for each item according to check... |
Feb 3, 2016 at 10:41pm
[2 replies] Last: how did you define the taxrate previously? #define works like search ... (by Jaybob66)
|
by CrypticA1
Silly question; maybe
|
Is it possible to have a variable type with several possible values. For example int = 8 || 5; string token_1; = '+' || '-'; |
Feb 3, 2016 at 10:06pm
[5 replies] Last: I know you marked this as solved, but did you see strtok()? http://www... (by Jaybob66)
|
Help with beginner problem |
So I'm trying to code this program but the code I keep trying is wrong or just doesn't give me the right answers. I need to code a program that will compute the... |
Feb 3, 2016 at 9:27pm
[12 replies] Last: sweet :) (by Jaybob66)
|
by bestday21610
Beginner Array Program Help!!!
|
I am confused on how to go about this adding in all the required rules...please help! Write a C++ program in a file called math.cpp that reads user val... |
Feb 3, 2016 at 9:12pm
[2 replies] Last: You should really make a start for yourself, but here's a little help ... (by Jaybob66)
|
by nj1995
Problem with resize function
|
Hi, my program appears to be working for the most part, except for when I want to resize my c3 object to 7, which doesn't work. I am unsure why this. Any help i... |
Feb 3, 2016 at 8:28pm
[3 replies] Last: when you call c3.resize(7) (which was previously 4, you decrement co... (by Jaybob66)
|
by bbunn77
Getting back into C++
|
Hey whats up guys, I have not done any programming for at least 3 years, im trying to get back into it. The problem I am having today is getting my user defined... |
Feb 3, 2016 at 7:32pm
[2 replies] Last: Wow, thanks haha (by bbunn77)
|
by ZahoorKhan
Why we use string library while using string data type?
|
According to book from which I am learning C++, you should add string library before using string data type, but suddenly when I missed adding string library th... |
Feb 3, 2016 at 5:29pm
[2 replies] Last: A little more informative: http://stackoverflow.com/questions/9539650/... (by cire)
|
// Creates and manipulates a person with a first name, last name and age |
Why am I getting the error of the argument has not been declared #include <iostream> #include <string> #include "Person.h" #include <cassert> using na... |
Feb 3, 2016 at 3:47pm
[1 reply] : Please post the EXACT text of the error message you're getting. You ... (by AbstractionAnon)
|
by tyrelg123
Issues with basic OOP Program
|
Hello I have recently created a basic OOP program for my college assignment but am experiencing a very tedious issue that I have been trying to solve. I have ... |
Feb 3, 2016 at 12:06pm
[11 replies] Last: @kbw Oh right okay I see, relatively makes sense, I guess that would b... (by tyrelg123)
|
by AliElsaid
Composition example error
|
I am trying to make a program which the user types the current date, user's name and birthday then the program calculates the age using 2 different classes whe... |
Feb 3, 2016 at 11:04am
[1 reply] : Your problem is pretty clear. This is your age function - age(int d... (by TarikNeaj)
|
by edge6768
Possible Linking Issue
|
Hello all, Firstly, let me apologize for anything out of the norm in this post; it is my first. I have to write a program that parses an input file and g... |
Feb 3, 2016 at 10:40am
[3 replies] Last: @Moschops I did not realize that the actual #include directive would ... (by edge6768)
|
by Adeelpak
gets(name) does not Invoke second time.
|
Dear Sir, I always get problem in getting strings by gets(name). It does not invoke second time. can you please check below code. //Static Data Mem... |
Feb 3, 2016 at 10:39am
[4 replies] Last: [quote=Thomas1965]It worked on my PC. http://www.cplusplus.com/refere... (by Peter87)
|
by kingpulse
Error using cout with char*
|
Hi, I cannot seem to understand why am I getting this error: \main.cpp(8): error C3867: 'Mammal::getName': non-standard syntax; use '&' to create a pointer t... |
Feb 3, 2016 at 10:11am
[2 replies] Last: Oh fail. Thank you c: (by kingpulse)
|
by rantiv
Factoring
|
How would i get this to print out in descending order? #include <iostream> using namespace std; int main() { int n,i; cin >> n; for(i=1... |
Feb 3, 2016 at 5:43am
[2 replies] Last: Yup that worked! Thanks so much!!! (by rantiv)
|
by Adeelpak
Error in Programme
|
Dear Sir, I dont understand the below error in following Program. I'm trying to return objects from member function. 35 C:\...\Untitled1.cpp no match f... |
Feb 3, 2016 at 5:16am
[2 replies] Last: Thank you.. I wonder when ill become expert in programming (by Adeelpak)
|
by stealthboy
Help to find the area under a curve
|
I need to write a code to find the area under this curve: f(x) = 5x^3 + 7x^2 – 3x + 4 and I've been trying to look at examples online to understand how but ... |
Feb 3, 2016 at 5:04am
[2 replies] Last: This assumes you understand some calculus, and the idea of a limit. Us... (by Duthomhas)
|
by Trigguy
calc issue
|
wew |
Feb 3, 2016 at 3:25am
[1 reply] : #include <iostream> #include <fstream> int main() { const int AR... (by JLBorges)
|
by adamnicholsr
i can't get printf to work inside any of my loops
|
I can't get printf to work in my loops.. all I can get to print is my extras to know that I am in fact reading from a file, and the initial 0. above my code is ... |
Feb 3, 2016 at 1:54am
[1 reply] : Is lab1.dat a binary file? (by JagerDesu)
|