Jump to content

32bites

Active Members
  • Content Count

    13
  • Joined

  • Last visited

Everything posted by 32bites

  1. Yes but to do that I would need 2 constants pulled out of my ass. What I am trying to trying to figure out how to figure out what Pi is. Over the weekend my dad helped me do this (and while doing it decided to rewrite all my code). It now gives out the numbers every 100000 points. It now evens out to about 3.141522, I think this is due to the to the fact that rand() is not that random or some how the numbers are wrong. // I will foo your bar #include <iostream> using namespace std; #include <cmath> #include <time.h> #include <stdio.h&am
  2. I am working on trying to generate Pi with C++. How it should work is it gets the ratio of area in a circle to the area outside a circle within a square where the diameter of the circle is the same as the width of the square (it seems to be about 3.66:1). I want to know if there is formula to find Pi using this. // I will foo your bar #include <iostream> using namespace std; #include <cmath> #include <time.h> int main () { cout << "Setting variablesn"; int range = 32768,pointamount = 259499, z = 0; cout <&l
  3. Thanks you your help I found a friend of mien to help me with this he came up with this: // I will foo your bar #include <iostream> #include <cmath> #include <cstdlib> using namespace std; int main () { float x1, x2, y1, y2, x, y, d; float midordist; cout << "nDo you want to find the midpoint (1), the distance (2), or both (3): "; cin >> midordist; if(midordist < 1 || midordist > 3) { cout << "nThe option you have enterd is not valid"; return 0; }
  4. A am learning C++. I am currently trying to figure out a way for a user to have an option to do both A and B in addition to A or B. So far i have put in an option to to A and B but I dont know the best way for it to actually do both. // I will foo your bar #include <iostream> #include <cmath> using namespace std; int main () { float x1, x2, y1, y2, x, y, d; float midordist; cout << "nDo you want to find the midpoint (1), the distance (2), or both (3): "; cin >> midordist; if(midordist < 1 || midordist
  5. What you can do is buy an upgrade version install ti without putting in the serial number, it gives you 30 days to put it in. After that is done you can put the installer in again and chose to preform an upgrade and you just got vista for cheaper. You could also just find a copy of XP or something lying around and put that on first.
  6. If you cant install firefox you may want to try firefox portable, it is a copy of firefox that keeps itself and settings on a USB drive. http://portableapps.com/apps/internet/firefox_portable And if you just want to go to a website try: http://yxorp.32bites.com. I run it on my server and hasn't been blocked anywhere I know of yet.
  7. http://32bites.com/desktop.jpg[/img]
  8. They just have 3d model that moves with animations for each syllable. And for using any picture, the image's head wont turn much so its not that noticeable with the textures on the sides of the cheek and under the chin get stretched a bit.
  9. Not for this way, it installs Flash 8 to the local machine.
  10. I have recently spend a few hours trying to make a guide on how to rip songs from Pandora on Vista and XP. You will need: PandoraRip Any version of firefox. http://getfirefox.com Flash Player 8 1.) Download ripping client The only one that i found that gets ID3 tags and album art is 'PandoraRip' You can get it from http://www.geopacket.com/PandoraRip/. There is more information on it at http://forums.hak5.org/index.php/topic,8024.0.html. 2.) install FLASH 8 I got it from http://kb.adobe.com/selfservice/viewConten...rnalId=tn_14266 (adobe). Close all browsers. uninstall
  11. Thanks of the help, that answers my question.
  12. I have only written PHP and basic perl on web servers. I wanted to got in to C but I don't understand exactly what a complier does. And what the advantage of compiling code over giving source code to be interpreted.
  13. I'm going to get some. But i was wondering how many stickers come in a 'pack'.
×
×
  • Create New...