Structure problem

This is a discussion on Structure problem within the C Programming forums, part of the General Programming Boards category; Hi,
Maybe someone can help me out a bit here.
I need to create a structure and program that asks ...

Structure problem

Hi,
Maybe someone can help me out a bit here.
I need to create a structure and program that asks the user to enters a line of text .
It the prompts them 1 for yes 0 for no, if they would like it to be displayed as bold then ask if they want it displayed as italics, and then underlined. I need to Keep track of the user's responses for a single line of text within a single structure. And use an array of structures to hold all the information for all lines of text entered.

I have tried to progress a bit and perhaps show some more of my work here. I know this is wrong but having trouble understanding how I can take my text that the user enters and assign it to the int value "BOLD" and pass ..just that to the function.

Anyway this is the error which I keep getting because im trying to assign the char type to an int.

First of all THANK YOU very much. It works perfectly. I need to make a few adjustments and I NEED to read up on some of the statements you used and understand them . Are you going to be online this weekend anytime?

Looping

Okay,
I have my program almost working. However, trying to do a loop and choose a do while loop. However, on the second pass through it has 2 major issues. One it does not allow text to be entered again and two it erases the first text and thus nothing passes through to the function. Please find attached code: