Press 'Ctrl+C', that should work.
(If not then try 'Ctrl+J')
Type: Posts; User: StickyGoo
Press 'Ctrl+C', that should work.
(If not then try 'Ctrl+J')
sorry ken, havn't read that policy :S
I'll remember for next time though.
{
int x;
double angofwed = 3.1415927, rad = 1738.3, surface;
cout << "Enter percentage: "; // prompt
cin >> x; // input
x = x / 10;
surface =...
Thanks for your help michaels... I think I'm getting a bit closer.
I've come up with this now:
#include <iostream>
using namespace std;
int main()
Change this:
cout << "The hypoteneuse is" << Hyp << ;
To this:
Thanks for your help, I made a new one which I think should work.
^The reason I put 'x==133745639' was because I wanted each number to be tested against eachother until it came to the factors, at...
Hi everyone, I'm trying out these programming challenges at www.osix.net, and I'm already stuck on... *sigh* Challenge 2.
Well here is the question:
I read somewhere that people have made...
I hope it's a good sign if I dont :( ...
The only thing I really see wrong with it is that there's no space between the while and (looper = 1)...But I dont think that matters too much.
EDIT!!!...
Why is my C++ binary so large?
C++ programs using the Standard Template Library (ie/ #include <iostream>) cause a large part of the library to be statically linked into the binary. The need to...
!!!
Of course!
Sorry for any time wasted, but thanks for your help...
I really should have seen that :(
just a little noob problem. I stopped learning C++ for a while but have just got back into it, so I thought I'd do a little program to check I'm ok with basic stuff.
Anyway here it is, it's just a...
I guess it must be this screwy PC... *Sigh*.
... As for all the other questions everyone else seems to have answered them before I could :p
But thank you for the replies :)
Thanks for the links and info Doug :). I realise that I have quite a while to go before I should be looking into GUI's, it's just a question which has been bugging me for a while.
Ok, well I attempted another exercise in the book. It was to 'Write a program that reads in a sequence of positive numbers and prints out the total and average value. The end of the sequence should...
Brilliant. Thank you very much for your help, I really appreciate it. :)
Have a good easter too!
So does that mean....
While Plusminus is not equal to '+' And It's also not equal to '-' Then....
Thank you all very much for your help! :)
ZuK:
Your solution worked (Thank your very much :D ). But the reason I did the '||' instead of the '&&' is because I read in the book that '&&'...
It's just a little nooby problem. In my book it said to try and design a program that would take two numbers and add or subtract them (With input from the user). Anyway this is what I tried to do:
...
Yup, I'm on windows. Thanks for your responses, I'll probably look into Windows API and C# (I got bored of VB when I tried it).
Thanks again :)
Hi everyone, I'm quite new to C++, but I am putting in 6 or 7 hours a day of learning (I have a lot of free time on my hands after being wrongfully expelled from school). But I am hoping to get a job...