For my SIC assembler written in C++ , I need a hexadecimal integer as the location counter. That is if LOCCTR=A and LOCCTR++ should store B in LOCCTR. Is there such an variable in C++? If so how do I make it Hexadecimal?? I know how to Initialize an int variable with Hex value , int var=0x0
But my question will it remain a hexadecimal integer after increment operation? If not, how to convert it to hex
jeevsmyd -2 Junior Poster
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
jeevsmyd -2 Junior Poster
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.