Forum: C++ 8 Days Ago |
| Replies: 2 Views: 171 I know this is the C forum, but if it were the C++ forum, it would be a different forum.
I also know this thread is 1-1/2 years old, but if it were a new thread, it would be a different thread. |
Forum: C++ 13 Days Ago |
| Replies: 8 Views: 237 is this an assignment for a C++ class? or something you're really trying to do in real life?
if this is a real application, I'd say you're using the wrong language and you should seriously... |
Forum: C++ Jul 4th, 2009 |
| Replies: 8 Views: 1,099 if you want to round the number, then you use "setprecision(<n>)" or the format specifier "%.<n>f" for "printf()" where <n> is the number of digits you want to round to. E.g., the value 1.66667... |
Forum: C++ Jul 3rd, 2009 |
| Replies: 7 Views: 833 http://tangentsoft.net/wskfaq/examples/basics/select-server.html |
Forum: C++ Jun 27th, 2009 |
| Replies: 18 Views: 901 it's just LaTeX markup tags. any reference will describe the basics
http://en.wikipedia.org/wiki/Math_markup |
Forum: C++ Jun 27th, 2009 |
| Replies: 18 Views: 901 and you don't need a "Big Number Library". you dont even need a long int. 10,000 is easily represented by a regular integer
the way to approach this problem is by summation:
... |
Forum: C++ Jun 22nd, 2009 |
| Replies: 16 Views: 1,151 okay.
I'm calling it now (http://api.ning.com/files/c9uZEV94Dfl02UsMWOeU0mMYYuI3kIIIhJsKF-OM8rIDcZdAxqBg7eZkp47l2ccdOCN*tpI96VyrZW3g9MGVwR8QKg1wT-qR/waahmbulance2.jpg). |
Forum: C++ Jun 5th, 2009 |
| Replies: 2 Views: 263 (1) don't use conio.h
(2) do post your questions in the appropriate forum: this is C++ code, not C |
Forum: C++ May 26th, 2009 |
| Replies: 17 Views: 741 er.. i mean "distributive property"
thanks Dave :$ |
Forum: C++ May 26th, 2009 |
| Replies: 17 Views: 741 use the additive property:
(a * m) + (a * n) = a * (m + n)
example:
result = (a << 2) + (a << 4);
// result now contains the sum, 4a + 16a = 20a
cout << a << " times 20 = " << result <<... |
Forum: C++ Apr 28th, 2009 |
| Replies: 35 Views: 2,157 there's your problem: nothing is truly random. some things are just less predictable than others.
the fact is, you're never goign to generate truly random numbers, even if something like that... |
Forum: C++ Apr 24th, 2009 |
| Replies: 7 Views: 427 bull crap.
you did not just spontaneously "figure out" how to write the code for Q4, and yet still remain completely helpless to even begin Q1 - Q3. because Q4 combines all the elements of... |
Forum: C++ Apr 22nd, 2009 |
| Replies: 34 Views: 2,825 wait, what?
its been three days ... why haven't you guys finished helping this kid write his spyware program, yet?
who do i give neg rep to? |
Forum: C++ Apr 21st, 2009 |
| Replies: 7 Views: 402 hi everyone.. i have to build a satellite navigation and control system in any language.. i have no clues on how to begin this.. can anyone plz send me an algorithm on controlling liquid propellant... |
Forum: C++ Apr 20th, 2009 |
| Replies: 13 Views: 600 ahah. he doesn't know C at all and barely knows C++, and yet he just performed the impossible -- with proof! call the ACM journals! prepare the honorary PhDs!
seriously though, where DO these... |
Forum: C++ May 27th, 2008 |
| Replies: 4 Views: 936 okay...
someone's gotta give me a cookie for that bit of cleverness. |
Forum: C++ May 26th, 2008 |
| Replies: 9 Views: 3,521 you can call Perl scripts from C/C++, but it's not particularly useful if you plan on distributing your code to any other machines.
because you'll either need the full Perl installation (plus... |
Forum: C++ May 16th, 2008 |
| Replies: 4 Views: 521 yeah ... i'm just not seeing where the "Urgency" is here
i thought someone was bleeding on the floor. |
Forum: C++ Apr 16th, 2008 |
| Replies: 6 Views: 619 yeah, because as we all know, Napoleon loved to make puns in English.
...
and hey challenging dude. apologies that we're not all just peeing our pants with delight over the prospect of taking... |
Forum: C++ Mar 17th, 2008 |
| Replies: 4 Views: 736 If a train leaves the station @ 8:30 p.m. full of clowns named bob and larry and one named steve and it takes 1 hour to get there, the number of licks it will take to get to the center of a tootsie... |