Search Results

Showing results 1 to 30 of 30
Search took 0.01 seconds.
Search: Posts Made By: Intel
Forum: C Feb 24th, 2005
Replies: 3
Views: 1,944
Posted By Intel
This book has the solution you want, it's also available online

http://images.amazon.com/images/P/0471250600.01._SCLZZZZZZZ_.jpg
Forum: C++ Feb 24th, 2005
Replies: 1
Views: 3,049
Posted By Intel
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...
Forum: C++ Feb 24th, 2005
Replies: 2
Views: 2,648
Posted By Intel
add this to the top of your file

#include <fstream>
Forum: C++ Feb 19th, 2005
Replies: 19
Views: 4,050
Posted By Intel
OMG, man you're so full of it.
Forum: C++ Feb 19th, 2005
Replies: 19
Views: 4,050
Posted By Intel
Yeah just like this
http://www.daniweb.com/techtalkforums/thread18857.html
and you call it 'in your experiance'???

maybe you should know we we are talking about. It's not our job to teach what...
Forum: C++ Feb 19th, 2005
Replies: 8
Views: 5,426
Posted By Intel
Oh man, you even don't know the down side of "goto" stmt in C++? Crab, well then i should not waste my time replying to your posts.
Forum: C++ Feb 19th, 2005
Replies: 19
Views: 4,050
Posted By Intel
Narue,
I have some respect for you, don't make me lose it. Goggle out the benchmark scores for all C++ compilers. It's been proven, I don't need to prove it again. Oh well,...
Forum: C++ Feb 18th, 2005
Replies: 8
Views: 5,426
Posted By Intel
tuskyballer ,
Never ever ever use goto stmts.
Forum: C++ Feb 18th, 2005
Replies: 19
Views: 4,050
Posted By Intel
The best
http://www.intel.com/software/products/compilers/cwin/

Good luck.
Forum: C++ Feb 17th, 2005
Replies: 3
Views: 4,838
Posted By Intel
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.
Forum: C++ Feb 16th, 2005
Replies: 6
Views: 6,408
Posted By Intel
You need both

#include <iostream>
#include <iomanip>

I/O ops defined in STD namespace .... I/O manipulators are deined in iomanip
Forum: C Feb 16th, 2005
Replies: 2
Views: 2,458
Posted By Intel
You need Microsoft .NET Framework installed on the other machine not VS. Download and install this on your second machine:...
Forum: C++ Feb 16th, 2005
Replies: 6
Views: 6,408
Posted By Intel
Man you've done most of the work, just call your function in main, here is the code with some changes:

#include <iostream>
#include <iomanip>

const float PI= 3.14;

float circle_area(float...
Forum: C++ Feb 16th, 2005
Replies: 8
Views: 5,649
Posted By Intel
My guess then is that rand is defined in the file space - glut.h, check it out and you'll see ....
Forum: C++ Feb 16th, 2005
Replies: 8
Views: 5,649
Posted By Intel
#include <cstdlib> is declared in glut.h so when u declare it first it wont be redefined in glut.h , [#ifndef ... #def ... #endif]
Forum: C++ Feb 16th, 2005
Replies: 8
Views: 2,187
Posted By Intel
Specify a problem, there are a lot of them, and will help.
Forum: C++ Feb 16th, 2005
Replies: 8
Views: 5,649
Posted By Intel
Try

std::rand();

Here is how i used it

#include <iostream>
#include <cstdlib>
#include <GL/gl.h>
#include <GL/glu.h>
Forum: C++ Feb 16th, 2005
Replies: 8
Views: 5,649
Posted By Intel
In C++, rand() is defined in

#include <stdlib.h>

I used rand() and all i included is

#include <GL/glut.h>
Forum: C++ Feb 15th, 2005
Replies: 8
Views: 5,649
Posted By Intel
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...
Forum: C++ Feb 9th, 2005
Replies: 9
Views: 1,888
Posted By Intel
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...
Forum: C++ Feb 9th, 2005
Replies: 6
Views: 7,066
Posted By Intel
Use

System::Math::Round(3.44, 1);

INTEL
Forum: C++ Feb 7th, 2005
Replies: 6
Views: 14,138
Posted By Intel
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...
Forum: C++ Feb 7th, 2005
Replies: 3
Views: 2,326
Posted By Intel
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...
Forum: C++ Feb 7th, 2005
Replies: 4
Views: 2,628
Posted By Intel
Borland SUX, sorry Borland but exe size is way too huge. USE ICL
Forum: C++ Feb 7th, 2005
Replies: 4
Views: 13,859
Posted By Intel
Pass arraycounter as a reference or pointer or do this

if( menuvalue == 1 )
{
addholder (holder, arraycounter);
++arraycounter
};

and remove the other one in the function.
Forum: C++ Feb 6th, 2005
Replies: 4
Views: 3,186
Posted By Intel
Forum: C++ Feb 6th, 2005
Replies: 4
Views: 13,859
Posted By Intel
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...
Forum: C++ Feb 5th, 2005
Replies: 2
Views: 2,355
Posted By Intel
If you're used to windows, use Cygwin or Dev-C++ to write C++ aps using GNU compiler under windows.
http://www.cygwin.com/
http://www.bloodshed.net/devcpp.html
Forum: C++ Feb 5th, 2005
Replies: 5
Views: 4,191
Posted By Intel
Use CodeWarrior Development Tools for Windows V8.0 to develop your project. It should be easy.
Forum: C++ Feb 5th, 2005
Replies: 4
Views: 3,186
Posted By Intel
HERE ................

#include <iostream>
#include <vector>

int main()
{
using namespace std;
vector< pair<int,double> > Dim;
vector< pair<int,double> >::iterator itr,largest;
Showing results 1 to 30 of 30

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC