[Wolves] c plus plus code

roundyz roundyz at hotpop.com
Sat Sep 17 17:41:08 BST 2005


I want to write this program and i need some help.
It's supposed to be a bitrate calculator.

could someone check it out....I have never wrote a program before....so it's 
bound to be wrong.




//
// C++ Implementation: maths
//
// Description: 
//
//
// Author: roundyz <roundyz at hotpop.com>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include <iostream>

init main ()
{
	unsigned short init number;
	std::cout << "enter disc size in kb: (eg 4.7gb= 4,700,000 no commas)";
	std::cin >> a;
	std::cout << "enter audio size in kb: (eg 70MB=70,000 no commas)";
	std::cin >> b;

	c=(a-b);
	
	std::cout << "length of video in secs";
	std::cin >> d;
	
	(d/c)=e;

	std::cout "bitrate needed " <<d;
}



-- 
Thanks, 
Matt 
(roundyz)

-=contact=-
skype:roundyz
mailto:roundyz at hotpop.com
-=sites=-
http://www.roundyz.com <-- Photography site.
http://teampink.roundyz.com <--fear the halo 2 clan



More information about the Wolves mailing list