Home » Community » Coffee corner » operation with ascii table character  (Pascal x C++/U++)  
	
		
		
			| Re: operation with ascii table character  (Pascal x C++/U++) [message #56806 is a reply to message #56799] | 
			Sat, 17 April 2021 10:23    | 
		 
		
			
				
				
				
					
						  
						Oblivion
						 Messages: 1241 Registered: August 2007 
						
					 | 
					Senior Contributor  | 
					 | 
		 
		 
	 | 
 
	
		Hello BetoValle, 
 
 
	for(int i = 32; i < 128; ++i) {
		Cout() << "\t0x" << FormatIntHex(i, 2)
		       << "\t0x" << FormatIntHex(i + 1, 2)
		       << "\t0x" << FormatIntHex(i ^ (i + 1), 2) << "\n";
	}
	
	// OR
	Cout() << "\t-------------\n";
	
	for(int i = 32; i < 128; ++i) {
		Cout() << Format("\t0x%02x`\t0x%02x`\t0x%02x\n", i, i + 1, i ^ (i + 1));;
	}
 
 
Something like this? 
 
You can use text formatting and/or formatters, as you can see in the above example. 
 
Best regards, 
Oblivion
		
		
  Github page: https://github.com/ismail-yilmaz 
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
		[Updated on: Sat, 17 April 2021 10:27] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 12:26:57 CET 2025 
 Total time taken to generate the page: 0.04965 seconds 
 |