I gave that a try but it wasn't passing the class object through the function I couldn't check if the strings were the same.
Type: Posts; User: Soopafly
I gave that a try but it wasn't passing the class object through the function I couldn't check if the strings were the same.
I was wondering if someone could help I am getting these error message and I can't figure out how to fix them any ideas??
error C2228: left of '.string' must have class/struct/union type...
Is there anyway to pass an array of classes to a function in c++???
OK here goes I am making a simulator and trying to make an and gate work in the ALU(I have the same problems with or gates, nor, etc)
void main()
{
//ALU
char CRYOUT = '0'; //Carry...
If you declare a string 32 bits long after you put thirty two bits in it it should only print those 32 bits correct???? It shouldn't print all these null characters then another 32 bit string???...
void main()
{
//Registers
char Reggen [8] [33]; //General Register
char Regwrk [8] [33]; //Working Register: MBR = Regwrk[0], MAR = Regwrk[1], PC = Regwrk[2]
//32 bit variables
char...
I have a question passing string parameters into a function what am I doing wrong???? The code I have written allows me to store a char string the second time but the first time and anytime after...