Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Fabii23

[CODE]; A NOR B = NOT(A AND B) ;NOT(A AND B) = NOT(A) or NOT(B) .ORIG x3000 LD R1,DATA1 ; load in data LD R2,DATA2 ; Load in data AND R1,R1,R2 ; AND THE TWO VALUES NOT R1,R1 ; NOT THEM HALT DATA1 .FILL #5 DATA2 .FILL #6 .END[/CODE]

Member Avatar for davio1
0
48
Member Avatar for Fabii23

An integer is loaded in from memory. ran through two loops to determine the tens place and the ones place. Integer is stored back to memory and displayed. Example #98 Tens place -->9 Ones place -->8 :)

0
401
Member Avatar for Fabii23

[code] #include "Object.h" #include "Entry.h" class Node: public Entry{ public: //constructors Node(); Node(int type,int size, Entry *entryArr[],Node *link); public: //abstract methods virtual bool isFull(); virtual string toString(); //public methods string toStringSimple(); Entry* insert(Entry *entry); StudentRecord* treeSearch(int searchKey); StudentRecord* leafSearch(int searchKey); void insertIntoNode(Entry *entry); //int getNumberOfInteriorNodes(); int splitIndex(); int depth(); //accessors …

Member Avatar for John A
0
67
Member Avatar for Fabii23

#include <stdio.h> #include <string.h> char* string(char *str); int main() { printf("%s\n ",string(" in this method ")); getchar(); return 0; } char *string(char *str4) { char str[25] = "How"; char str2[25] = " do I "; char str3[25] = " return a string"; strcat(str,str2); //append str2 to str and return str …

Member Avatar for WaltP
0
7K
Member Avatar for Fabii23

I am getting this error: .c:28: warning: assignment makes integer from pointer without a cast -any fixes thank you [code]#include <stdio.h> #include <string.h> void addValue(); void changeId(int data, char *name); int main() { addValue(); changeId(2, "Bill "); getchar(); return 0; } struct Node{ int data; char *name; }node; void addValue() …

Member Avatar for Ancient Dragon
1
86