i am a complete newbie to C programming language. i am trying to create an if statement with the following code but im not sure how to go about it. I need "producerHelper.SetPrefix("/myprefix1")" to do another command. Any help would be appreciated, thank you.
bool (producerHelper.SetPrefix("/myprefix")) = True;
if ( True )
{
producerHelper.SetAttribute("ContentDirectory", StringValue("/home/multimedia_testing/svc720"));
}
else
{
producerHelper.SetAttribute("ContentDirectory", StringValue("/home/multimedia_testing/svc360"));
}