Skip to content

C Programmers?

Featured Replies

Hello all,

Any C programmers on here? - I have got all confused and muddled with 'IF' statements of all things, would somebody mind having a quick look and putting me back on the right track please?

Mind... Blown.

Many thanks in advance,

Rob.

Happy to have a look if you like, Rob....

Chris

Post it up.

Hello all,

Any C programmers on here? - I have got all confused and muddled with 'IF' statements of all things, would somebody mind having a quick look and putting me back on the right track please?

Mind... Blown.

Many thanks in advance,

Rob.

Does the "C" stand for cute? :giggle:

The C Programming Language (in pdf format)

THE definative book by Kernighan & Ritchie

Chapter 3.2 should help, there is a shorthand version of if() else() but it is a bit abstract !

http://www.google.co...GMrcKiA&cad=rja

Edited by Spudhoolio

as above, post it up.....

  • Author

It's okay folks, Chris has this one covered. :whew:

In short I was a tool with the structure of the Else If statements mixed in with my While. Never ending loop!

Thanks for all the quick replies!

printf("Sorted Mate !\n"); :drunk:

Tip from my TP days at college , sometimes pays to put a getout "if " statement in .( or use stop as a fault finding measure , to see if program entering a never ending loop, move stop through program to see where it works/don't work) .If the "c" experts say it'll work.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.