Warning
Close
Confirm Action
Are you sure you wish to do this?
Cancel
Confirm
Active Topics
Newest Topics
Code of Conduct
7049
Online
Light
Dark
AR15.COM
Forums
AR-15
AK-47
Handgun
Precision Rifles
Armory
Training
Competitive Shooting
General
Outdoors
Archery
Hometown
Industry
Archives
Equipment Exchange
New EE Listings
Getting Started
Rules and Guidelines
EE Forums
Blog
Gear Deals
Store
Tools
Active Topics
Newest Topics
Code of Conduct
All Forums
Community List
General
Industry
AR-15
AK-47
Handguns
Armory
Equipment Exchange
Hometown
Training
Outdoors
Competition Shooting
Archery
Precision Rifles
My Account
AR15.COM
All Forums
Community List
General
Industry
AR-15
AK-47
Handguns
Armory
Equipment Exchange
Hometown
Training
Outdoors
Competition Shooting
Archery
Precision Rifles
Light
Dark
User Panel
Log In
Register
Forums
AR-15
AK-47
Handgun
Precision Rifles
Armory
Training
Competitive Shooting
General
Outdoors
Archery
Hometown
Industry
Archives
Equipment Exchange
New EE Listings
Getting Started
Rules and Guidelines
EE Forums
Blog
Code of Conduct
Gear Deals
Store
View Full Site
7049 Online
Active Topics
Newest Topics
Home
/
General
/
General Discussion
Modern
Classic
Introducing TNVC's NEW and Exclusive Filmed SuperGain (FSG) and Chimera Panoramic Goggle Giveaway!
The People of Virginia VS Grabigial BanBerger | ARFCOM News
ARCHIVED
[ARCHIVED THREAD] - Calling Computer programers with Visual C++
Posted:
7/15/2009 8:40:20 AM EDT
My girlfriend is taking computer classes and now she has to do visual c++ that has to do with Roots, randum numbers, and she is stuck, can somebody that knows what there doing HELP her out.
Thanks, Rick
Posted:
7/15/2009 1:18:59 PM EDT
[#1]
# include <math.h>
double root( double value, double root )
{
return pow( value, 1/root );
}
# iniclude <stdlib.h>
int my_random()
{
static been_here = FALSE;
if( ! been_here )
randomize();
return random();
}
ARCHIVED
[ARCHIVED THREAD] - Calling Computer programers with Visual C++
Home
/
General
/
General Discussion
Modern
Classic
Active Topics
Newest Topics
Code of Conduct