This takes 12 in dec, 2 is the base to be used (binary) and is then stored in the str array. int main(void) { char str[4]; printf("12 to...
My way :) #include<stdio.h> #define TRUE 1 #define FALSE 0 int main(void) { short int exitloop; while(1) { exitloop=FALSE;...
I have examined gamechoice in debug before the return(0) statement and all is as should be. There is nothing wrong with my code as i have re build...
Hi. I know about break. How do you break from a multiple loop. Look at my example again. :)
Can anyone tell me how to do as the title says? I'm told that using goto is a no no. Here is some sample code that i can't seem to be able to...
Thanks for the help but i can't see where it's going wrong. I'll have to stick with the exit(0) for now as i need to get this finished fast. So...
Hi all. Been pulling my hair out on this one. I keep getting the following error when my program hits return(0);. Run-Time Check Failure #2...
Thanks for the sound advice xpi0t0s. I think i'm going to carry on with the C. Once i have learnt that, if they don't want to give me a job then...
I work in the fruit machine industry and we use C to program our reel based products. I was kinda promised a job if I learnt C. Things have...
Thanks guys, you have pretty much said what i thought you were going to say. Cheers
Hi all. Due to changing times in my line of work, ideally I need to be learning C++. I have some knowledge of C so this is my problem. 1 Do...
He's changed his mind now and say's parallel would be better. I'll put the code up once he's altered it :)
Separate names with a comma.