help with if then else

can someone convert this pascal program part in c++ :
if a = 's' then
begin
c = a+b; ?
if (a == "s")
{
c = a + b;
}

But for the most part:

http://www.cplusplus.com/doc/tutorial/control/
Topic archived. No new replies allowed.