I agree MK... But I don't wish to be banned before day two..it's just not stylish :D
Do you just try to determine whether they're doing it for a class and make a judgement call or...
Type: Posts; User: Spazmotic
I agree MK... But I don't wish to be banned before day two..it's just not stylish :D
Do you just try to determine whether they're doing it for a class and make a judgement call or...
Good point as well..and I believe I'll follow that...should i develop an open source app, I'd like to see people improve on it by editing the source code..but if I did my job right there's no reason...
Hey again,
Good job man, It's all about order , i'm learning that alot, C++ can be both forgiving and a cruel mistress at times, she'll call out your mistakes, but if it's the order or math...
Lol, you're making this very difficult on me, because i'm new the forum and know they don't like giving away the direct answers because this forum does not condone cheating on homework and I agree.....
So generally it comes down to if you're working alone, and realize you need to make a change to the STD or whatever namespace, and you can just run through in 10 minutes in (we'll say regedit) fix...
Actually..I do know why now.
Look at your code carefully and consider the EXACT order of things that are happening.... remember C++ reads from the top down..open up kwrite or kate or notepad...
I don't have the experience to tell you "WHY" but i know "HOW"..
Follow the directions in my previous post regarding clarity and you will get 27 exactly.
Good luck mate :)
EDIT:...
Hello,
I'm not sure if i'm misunderstanding you, but 31.5 should be correct. You could just round up and change the result from double to int to 32 I think.
B = 5.75
A = 4.25
C...
Either way,
As someone fairly new to C++ ( I took several classes in school but it's been quite some time, so it's learning syntax all over again), I do greatly appreciate the patience and...
Lol, now that I think about it more in depth..i'm not sure how that's any different from just including ing the using in the first place...sigh..sorry.
Mk27,
My mind was trying to grasp that concept as an idea but my conclusions kept coming up a conflict , your way makes sense though.
My original way of thinking..I guess because of...
Ahh...the things I didn't know could fill the congressional library :D Thanks much for the explanation!
Sorry the question within a question, but could you supply a link to one of these posts that describes why? And this to mean you include the std:: etc for every call within a header file?
HK_mp5,
That was an incredibly concise and helpful answer, thank you very much. I was under the assumtion that as there no actual value stored into 'n' but an equation, that every time 'n' it...
Hello,
I have been beating my head against this problem for some time now, and figured I would see if i could get some fresh eyes, the code is:
int main(){
cout << "Enter as...