Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
[SPOILERS] LogicalTautology is Pindicator's DD

(May 5th, 2015, 14:47)NobleHelium Wrote: Answer this question!

Write a C program that can detect whether the current machine is big endian or little endian. neenerneener

Something along the lines of:

int x = 1;
char *c = (char *) &i;

If c is 0 then we're big endian; if it's 1 then we're little endian.


Now I'm off to fight with a TA. He says my php assignment didn't do any of the things it was supposed to do and displayed a bunch of debugging code. I run it and get none of the behavior he described. God I hate TAs.
Suffer Game Sicko
Dodo Tier Player
Reply



Messages In This Thread
RE: [SPOILERS] Pindicator placeholder - by Krill - January 23rd, 2015, 18:00
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 24th, 2015, 00:13
RE: [SPOILERS] Pindicator placeholder - by Krill - January 24th, 2015, 10:41
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 24th, 2015, 13:22
RE: [SPOILERS] Pindicator placeholder - by Krill - January 24th, 2015, 13:26
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 24th, 2015, 13:44
RE: [SPOILERS] Pindicator placeholder - by GermanJoey - January 24th, 2015, 16:27
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 24th, 2015, 16:58
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 25th, 2015, 16:23
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 25th, 2015, 16:28
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 25th, 2015, 19:02
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 28th, 2015, 19:58
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 4th, 2015, 21:26
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 25th, 2015, 19:29
RE: [SPOILERS] Pindicator placeholder - by Krill - January 25th, 2015, 19:32
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 25th, 2015, 20:09
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 25th, 2015, 20:06
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 26th, 2015, 11:11
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 26th, 2015, 20:39
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 27th, 2015, 11:02
RE: [SPOILERS] Pindicator placeholder - by NobleHelium - January 29th, 2015, 02:26
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 29th, 2015, 14:45
RE: [SPOILERS] Pindicator placeholder - by Ichabod - January 29th, 2015, 14:54
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 29th, 2015, 21:48
RE: [SPOILERS] Pindicator placeholder - by NobleHelium - January 30th, 2015, 02:18
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 30th, 2015, 02:36
RE: [SPOILERS] Pindicator placeholder - by pindicator - January 30th, 2015, 17:47
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - January 30th, 2015, 22:01
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - January 31st, 2015, 13:57
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - January 31st, 2015, 22:22
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 2nd, 2015, 10:59
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 2nd, 2015, 11:02
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by AdrienIer - February 2nd, 2015, 12:14
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - February 2nd, 2015, 12:53
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 2nd, 2015, 13:02
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by GermanJoey - February 2nd, 2015, 19:34
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 2nd, 2015, 19:21
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Ichabod - February 2nd, 2015, 19:27
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 2nd, 2015, 21:06
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 3rd, 2015, 09:23
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 3rd, 2015, 13:52
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 3rd, 2015, 21:55
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 4th, 2015, 10:59
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 5th, 2015, 10:03
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 5th, 2015, 20:21
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 5th, 2015, 21:13
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 7th, 2015, 11:36
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 8th, 2015, 11:53
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 9th, 2015, 10:55
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 9th, 2015, 21:59
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 11th, 2015, 20:08
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 13th, 2015, 00:15
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 13th, 2015, 23:20
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 14th, 2015, 15:34
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 14th, 2015, 23:19
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 15th, 2015, 22:03
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 16th, 2015, 20:53
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 18th, 2015, 02:23
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 22nd, 2015, 00:26
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 23rd, 2015, 02:22
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - February 27th, 2015, 01:05
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - March 14th, 2015, 16:34
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - March 14th, 2015, 19:33
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - March 19th, 2015, 20:56
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - March 19th, 2015, 21:08
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - March 19th, 2015, 21:22
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Thoth - March 19th, 2015, 22:02
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - March 19th, 2015, 22:08
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Qgqqqqq - March 29th, 2015, 02:32
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by reddog - March 29th, 2015, 05:01
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - March 29th, 2015, 11:22
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Qgqqqqq - April 4th, 2015, 23:25
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - April 7th, 2015, 13:38
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Ichabod - April 7th, 2015, 14:03
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - April 7th, 2015, 15:30
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - April 7th, 2015, 16:27
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Krill - April 7th, 2015, 16:43
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Qgqqqqq - April 7th, 2015, 21:19
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by pindicator - May 5th, 2015, 22:05
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by SadGit - May 13th, 2015, 18:42
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by Thoth - May 13th, 2015, 20:30
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by SadGit - May 16th, 2015, 17:09
RE: [SPOILERS] Pindicator PBEM Pubcrawl - by DTG - May 26th, 2015, 17:23

Forum Jump: