Originally posted by zeitghost
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Is C a 'good' programming language?
Collapse
X
Collapse
-
+50 Xeno Geek Points
Come back Toolpusher, scotspine, Voodooflux.Pogle
As for the rest of you - DILLIGAF
Purveyor of fine quality smut since 2005
CUK Olympic University Challenge Champions 2010/2012 -
Originally posted by d000hg View PostNot that difficult in a text-mode display. No idea about embedded devices but back in my days of MS-Dos coding in C, I remember Bios functionality to interact with files, display, etc. Didn't you fire interrupts to access this functionality? Been a while...
MOV AX,4c00h
INT 21h
Comment
-
Originally posted by Zippy View PostUsed C some years ago for programming basic control system. I didn't dislike it but had to get my head round it quickly so we were natural enemies.
Complete sod to work out what was going on if it went wrong - compile OK, run OK, die on its arse a few minutes later. Grr (or possibly kaboom).
I think it toughened me up a bit and I'm sure I understood a lot more about programming and microprocessors then. Really miss it actually
Not a crap language - iz tools for the job innit?
int (*ptr2func)() = NULL;
Churchill - In "Blessed are the Geeks" mode!Comment
-
Originally posted by Churchill View PostBIOS? We're not talking about PCs.
MOV AX,4c00h
INT 21h
Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishingComment
-
Originally posted by Churchill View Post/* Churchill's favourite piece of C code */
int (*ptr2func)() = NULL;
while((c = fgetc(fp))!=EOF){
Why did anybody ever think that was a good idea?Will work inside IR35. Or for food.Comment
-
Originally posted by d000hg View PostSame difference, smartarse.
Code:mov si, 0115 mov di, 140 mov ax, b800 mov es, ax mov ah, 07 mov cx, 13 lodsb stosw loop 110 ret db 'd000hg blows goats!'
Comment
-
Typical arrogant geek. Can't have a technical conversation without feeling obliged to prove his superiority. You walking stereotype, you.
Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishingComment
-
Originally posted by d000hg View PostTypical arrogant geek. Can't have a technical conversation without feeling obliged to prove his superiority. You walking stereotype, you.
Last edited by Churchill; 27 August 2009, 10:25.Comment
-
Originally posted by d000hg View PostNot that difficult in a text-mode display. No idea about embedded devices but back in my days of MS-Dos coding in C, I remember Bios functionality to interact with files, display, etc. Didn't you fire interrupts to access this functionality? Been a while...
The BIOS routines were very handy for wandering through the File Allocation Table patching back together accidentally deleted filesComment
-
Originally posted by zeitghostNot to mention the style war over the positioning of the "{"...
It only became apparent we were working to three different standards when the first bit of maintenance work was needed.
What an abortion.
"Lining them up vertically is a waste of listing paper"
"But you follow the code more easily"
"Not when it is too long because of all the lines containing just one character"
Boss: "Doesn't that make the source code bigger? That'll slow down compilations, reduce productivity and require additional storage and that costs money. Both { and } should only occur on lines with actual code in future."
"What does K&R do?"
"Well sometimes this and sometimes that. Sometimes both in the same example."
"But that still doesn't tell me how to indent else if"
"Like this"
"Why aren't you indenting by 4 characters like we used to?"
"I changed BRIEF to use only three so the code lines up better under ifs"
"But I've been using two because otherwise the code goes off the right hand side of the screen"
"Eh? I thought you were using 8? You've been using bloody vari-tabs again, haven't you?"
"Well they only need one character in the source code and the editor displays them as 2, 3 or 4 as you want. You just never indent using space, that's all."
"Yes, but only you and your farking mentalist use of Wordstar 3 as an editor supports that functionality, you git."
"At least it's not called BRIEF, FFS."
And so on...
I thought alcohol had successfully wiped those memory cells long, long ago.My all-time favourite Dilbert cartoon, this is: BTW, a Dumpster is a brand of skip, I think.Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- How to answer at interview, ‘What’s your greatest weakness?’ Today 09:59
- Business Asset Disposal Relief changes in April 2025: Q&A Yesterday 09:37
- How debt transfer rules will hit umbrella companies in 2026 Nov 12 09:28
- IT contractor demand floundering despite Autumn Budget 2024 Nov 11 09:30
- An IR35 bill of £19m for National Resources Wales may be just the tip of its iceberg Nov 7 09:20
- Micro-entity accounts: Overview, and how to file with HMRC Nov 6 09:27
- Will HMRC’s 9% interest rate bully you into submission? Nov 5 09:10
- Business Account with ANNA Money Nov 1 15:51
- Autumn Budget 2024: Reeves raids contractor take-home pay Oct 31 14:11
- How Autumn Budget 2024 affects homes, property and mortgages Oct 31 09:23
Comment