Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~814 People Reached
Favorite Tags
c++ x 3
c x 2
Member Avatar for ndayala

Suppose that you have a structure defined as such. [CODE] typedef struct Deity { char name[80]; char religion[80]; int numAppendages; } Deity;[/CODE] And, suppose you have a pointer to a Diety structure. Deity* deityPtr; Assuming that at some point you allocate memory for a Deity structure, assign its address to …

Member Avatar for MonsieurPointer
0
105
Member Avatar for ndayala

Suppose you have a non-pipelined CPU that takes 5 steps to execute an instruction: Fetch, Decode, Operand-Fetch, Execute, and Store. Each step takes 1 nanosecond. How many 5-step instructions can be executed on this non-pipelined CPU in one second?

Member Avatar for Narue
0
48
Member Avatar for ndayala

i get this error every time i try to compile the code below. any suggestions --------------------------------------------------------------------------------------- Compiler: Default compiler Executing gcc.exe... gcc.exe "C:\Users\ndayala\Desktop\19266\main_random.c" -o "C:\Users\ndayala\Desktop\19266\main_random.exe" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" C:\Users\ndayala\Desktop\19266\main_random.c:9:22: sys/mman.h: No such file or directory C:\Users\ndayala\Desktop\19266\main_random.c: In function `main': C:\Users\ndayala\Desktop\19266\main_random.c:30: error: `PROT_READ' undeclared (first use in this function) C:\Users\ndayala\Desktop\19266\main_random.c:30: error: (Each …

Member Avatar for gerard4143
0
555
Member Avatar for ndayala

[CODE]#include <iostream> #include <list> using namespace std; template <typename T> class superlist : public list<T> { public: // squish() is a mutator that "squish" together adjacent duplicate // elements in a list. // // Example #1: // [3, 3, 4, 3, 3, 3, 2, 8, 8] // becomes... // [3, …

Member Avatar for ndayala
0
106