Closed Help with syntax Tags: Programming Apps Last response: July 8, 2011 3:04 PM in Applications Share bsnowman17 July 7, 2011 10:16:59 PM bit_X = ((byte_Y & 0x80) ? 1 : 0); Could someone explain what is happening here? X is a bit Y is a byte More about : syntax Best solution Ijack a b L Programming July 8, 2011 6:10:44 AM The expression on the right tests whether the leftmost bit of byte_Y is set. If so it sets bit_X to 1, otherwise it sets it to 0. byte_Y & 0x80 Is the test (0x80 is 10000000 in binary). (A ? 1 : 0) Is the conditional. bsnowman17 July 8, 2011 6:21:37 AM Best answer selected by bsnowman17. Can't find your answer ? Ask ! Get the answer SR-71 Blackbird July 8, 2011 3:04:40 PM This topic has been closed by Area51reopened Can't find your answer ? Ask ! Publish Related resources: ForumSynTax Errors ForumSyntax SV400 mb audio connection help please ForumAcer loptop error syntax SIF file ForumSyntax and command ForumWhat does syntax error in the SIF file that setup uses mean Forumcmd prompt not allowing for any syntax cmds to run ForumSyntax for Command Line with Spaces ForumSyntax for "sysopt noproxyarp" Forum"res://shdoclc/ syntax .htm#" Forumcorrect syntax for networking ForumInstallation ERROR, Syntax error in this manifest file: DX.. ForumCommand Line Syntax Forumcommand line option syntax error ForumCommand Line Syntax ForumAny info on txtsetup.oem syntax ? ForumWhat is the difference between Extended and normal version of a software? ForumNeed help with Graphics Drivers Forum[Solved] C++ help ForumHelp ForumProblem with Flash-based games More resources Read discussions in other Applications categories Graphics Internet Applications Multimedia Office Security CAD Distributed Computing Drivers Enterprise Software Firmware Programming Photoshop Skype Wordpress !