No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
19 Posted Topics
Re: Man you've done most of the work, just call your function in main, here is the code with some changes: [code] #include <iostream> #include <iomanip> const float PI= 3.14; float circle_area(float &radius); float circle_area(float &radius) { using namespace std; float area= PI*radius*radius; cout<< "The area of the circle with radius … | |
Re: Lazy way to do it: First strore the file name and location in a string. Append to this string 'del ' at the beginning. Execute the 'System' stmt on that string. | |
Re: This book has the solution you want, it's also available online [IMG]http://images.amazon.com/images/P/0471250600.01._SCLZZZZZZZ_.jpg[/IMG] | |
Re: Round robin(RR) - Are you taking an OS class? This is not hard man, just think a little about it. You've got 10 processes, and you wanna slice the time to 2 units and switch between them to make it look like all the 10 processes are executing concurrently. Run … | |
Re: add this to the top of your file [code] #include <fstream> [/code] | |
Re: The best [url]http://www.intel.com/software/products/compilers/cwin/[/url] Good luck. | |
Re: tuskyballer , Never ever ever use [code]goto[/code] stmts. | |
Re: You need Microsoft .NET Framework installed on the other machine not VS. Download and install this on your second machine: [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=d7158dee-a83f-4e21-b05a-009d06457787&displaylang=en[/url] This is an issue Microsoft is working on as they failed to build the 2006 Windows on .NET technology. I dont need to say more, i dont need any … | |
Re: Specify a problem, there are a lot of them, and will help. | |
Re: Oh boy, Make sure you include the .h files in your project - add them to your project. Copy "glut32.dll" to your C:\WINDOWS\system\ Copy "glut32.lib" to your C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Lib Create a directory called "gl" under C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ and copy glut32.h to it, … | |
Re: Dave, Be nice to people, either answer their Q's or simply dont make fun of them, please. ----------------- Save this in a file called Rationall.h #include <iostream> using std::cout; using std::cin; using std::endl; class rational { public: rational(); ~rational(); int setrat( int x, int y); int getnum(); int getdenom(); private: … | |
Re: Use System::Math::Round(3.44, 1); INTEL | |
Re: Easy, 1. You have 'front' defined as pointer and you're using the '.', think of '->' 2. You are accessing name, but name is defined in class 'info' i could fix it but it looks like you'll get it. INTEL | |
Re: Use CodeWarrior Development Tools for Windows V8.0 to develop your project. It should be easy. | |
Re: HERE ................ #include <iostream> #include <vector> int main() { using namespace std; vector< pair<int,double> > Dim; vector< pair<int,double> >::iterator itr,largest; int Rooms(0), W, H; cout << "Rooms of a house :>"; cin >> Rooms; cout << "Dimensions format : W * H" << endl; for (int i=1 ; i <= … | |
Re: eventPtr[0] is a variable associated with a memory address. Pointers store the address of some other variable associated with a memory address. We dereference the pointer to get the value that is stored at the memory location in the pointer, ie using '->'. | |
Re: Borland SUX, sorry Borland but exe size is way too huge. USE ICL | |
Re: USe do-while look like this: do { cout << "Select a option\n"; cout << " 1 Enter a new holder\n"; cout << " 2 Print holders information\n"; cout << " 3 Find holder\n"; cout << " 4 to quit\n"; cin >> menuvalue; if( menuvalue == 1 ) addholder (holder, arraycounter); … | |
Re: If you're used to windows, use Cygwin or Dev-C++ to write C++ aps using GNU compiler under windows. [url]http://www.cygwin.com/[/url] [url]http://www.bloodshed.net/devcpp.html[/url] |
The End.