I have a problem, im wanting to type in a value, but the value needs to be limited in size.
the only way i have found to limit the size of the string you enter is by useing "keypress = getch()" in...
Type: Posts; User: paulroseby
I have a problem, im wanting to type in a value, but the value needs to be limited in size.
the only way i have found to limit the size of the string you enter is by useing "keypress = getch()" in...
Does anyone know how to pass structures to and from a funtion in miracle c? this is the code for turbo C++ i think but it not work because of the diffrences in compiler. any ideas?
cheers
...
does anyone know how to use coloured text in Miracle C?
i dont accually think it can be done
thankz paul
o yeah, Silly me, i think ive lost my brain today lol
:confused:
Thankz :D works sound
<code>
for(i=0;i<2;i++)
{
printf("\n");
for(j=0;j<3;j++)
{
printf("%s\t\t",StringArray[i][j]);
}
how do i make a 3 Dimentional string Array in miracle c?
i want to store 3 lists of names:
eg
bob,fred,jeff
sid,paul,carl
|
|
V
sorry still didnt get the code thing right
:(
this is a bit of my code
i use a loop in the main menu
*/
void main()
{
i need to write a exit screen on my program, i have one nicely layed out etc.. but i want it to ask the users if there sure they wanna quit.
this is a quick sample of my existing code
<code>...
SORTED!!! :):D THANKX PEOPLE, WHAT DOES THAT CODE DO ? I NEED COMMENTS IF POSS :D
void surfacearea()
{
pcrr=0;
pcrh=0;
void surfacearea()
{
redraw:
pcra=0;
pcrb=0;
pcrc=0;
pcrs=0;
pcrarea=0;
pcrr=0;
cheers, al hav a go, wat duz it accually do?
i have made a program that allows u to enter a number, if the number is less than or equal to zero then it will goto the start and ask to enter numbers again, im using miracle c - using the scanf...
any ideas of anything else i cud try?
http://www.mess.be
there are some good examples and stuff on there. hope they help you
I have to use Miracle C at college, but there is no way i can see of having coloured txt :(.
The compiler doesn't come with conio.h and so i added the conio.h file from Turbo C to try and make it...