![]() |
| | #1 |
| Registered User Join Date: Nov 2009
Posts: 9
| about c Then difference between structured programming and non- structured programing Then what is the meaning for (#) which is used in #include<stdio.h> |
| britto116 is offline | |
| | #2 | |
| Registered User Join Date: Oct 2009 Location: While(1)
Posts: 368
| About Your question number one Quote:
Second one # means preproccesive directives i think the name suggest means before the processing means even before the compilation | |
| RockyMarrone is offline | |
| | #3 |
| Registered User Join Date: Jun 2008
Posts: 1,276
| Yes, # is used by the pre-processor, before the compilation. So when #include the compiler knows which files to look into. I think C comes from Common, but not 100% sure |
| C_ntua is offline | |
| | #4 | |
| Registered User Join Date: Oct 2009 Location: While(1)
Posts: 368
| Quote:
Or even all the stuff which starts with # | |
| RockyMarrone is offline | |
| | #5 |
| Registered User Join Date: Sep 2006
Posts: 3,141
| The C language was based on Ken Thompson's work on the B language. |
| Adak is offline | |
| | #6 |
| Registered User Join Date: Nov 2009
Posts: 9
| thank |
| britto116 is offline | |
| | #7 |
| Registered User Join Date: Sep 2008 Location: Toronto, Canada
Posts: 521
| Difference between structured and non-structured... The way I remember it, if a language has begin/end clauses, whether expressed in such key words, or punctuation like brackets, it's structured. That is, there are clear blocks of code which isolate execution to within them. Unstructured would be the old BASIC which had line numbers... It was allowable to GOTO any line from any line. There was no concept of structure. Unless the programmer imposes their own by keeping execution in segregated areas, vs. "spaghetti code". I don't know of any current unstructured languages in current use today. Maybe Perl ... I find it pretty awful, but that may be more in the way programmers are all over the place there. |
| nonoob is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|