I have a text file that has about a thousand pages # and I need a pseduo-code to test these page replacement algorithms for number of page faults they have.
Does anyone know where I can find the...
Type: Posts; User: Extrovert
I have a text file that has about a thousand pages # and I need a pseduo-code to test these page replacement algorithms for number of page faults they have.
Does anyone know where I can find the...
I come from a C++ background and recently obtain Visual Studio .NET 2003 IDE. Anyone of a good tutorial of programming using C# in VS?
Also, what's the difference between C# and C# .NET? Any...
How would I make it Str a new type?
typedef char[] Str;
Str name;
That doesn't work?
typedef char * Str;
int main()
{
Str name = "joe
name[1] = 'i';
cout << name << endl;
return 0;
}
Ok, in C++ I've been writing console/dos programs for years now. If I want to move into graphics, I can use WIN32 API, WTL/ATL, or MFC correct?
But for C#, is there a standard template library...
Suppose I have three parameters - Original Principal = 500, terms(in months) = 12, and Interest rate = 8.25. I want write a function that produce the following below. For that monthly payment, I can...
Thanks for the links. I'm writing a pseudo-code for it. I'm using a recursive method to write it (such that the operations cost is O(n^2.81) for n size matrix.
This is basically the algorithm...
Does anyone know of a good site for explanation of the Strassen Matrix multiplication (code)? Most I searched on the web were just research paper on it.
I'm currently a 4th-year CS major. This is not to say I took many CS courses, but I still need to take classes on Operating Systems, System programming, S/W Engineering, AI, Database, etc. So, far,...
http://perceptes.livejournal.com/46431.html
Download the video. Pretty cool.
Ok, this something which I can find on the web, but I'm kind of having trouble finding it. I'm learning about insertion in a binary search tree and rotation. This is where you have to rotate certain...
#include <iostream.h>
#include <stdlib.h>
#include <dice.h>
class Point{
public:
int x, y;
};
int main()
Ok, thanks for answering but I'm still a little unclear. You say a dangling pointer is dangling if it doesnt point to anything, but then you also said a pointer always point to something? huh?
Can anyone tell me what's a dangling pointer? An example? As a matter, I'm a little confused on the concept of pointer in C/C++.
Thanks for answering my questions.
"that is dynamic allocation, and the new variable is created on the heap not the stack."
I'm still unclear on what you mean by "heap"?
"When you manually...
Hi there, I was wondering what's a good CS site for tutorial to learn about the BASICS of "dynamic allocation" "garbage collection" "life-time varible" and "run-time stack" "heap" and "memory...