Advertising (This ad goes away for registered users. You can Login or Register)

The Official Programming Dictionary

Discuss about your favorite (gaming...or not) devices here. The most popular ones will end up getting their own categories
Programming discussions for your favorite Device
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: The Official Programming Dictionary

Post by codestation »

Decompiler: A program tha converts machine code back to an assembly language to be read or modified.
That wouldn't be a dissasembler? Or maybe you want to change that "assembly language" for something else more related to a decompiler.
Advertising
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
pspfanMOHH
Posts: 661
Joined: Sat Jun 11, 2011 9:16 pm
Location: Grand Line, New World

Re: The Official Programming Dictionary

Post by pspfanMOHH »

codestation wrote:That wouldn't be a dissasembler? Or maybe you want to change that "assembly language" for something else more related to a decompiler.
Done, placed the wrong word in the wrong definition.

EDIT: 6/27/2013 my 3rd year anniversary since I followed wololo
Advertising
Last edited by Acid_Snake on Wed Jun 26, 2013 12:56 pm, edited 1 time in total.
Reason: fixed quote
10 years young!
JMQMOfficials
Posts: 649
Joined: Mon Sep 24, 2012 9:56 pm

Re: The Official Programming Dictionary

Post by JMQMOfficials »

I may sound like a total idiot because I am a programmer but, isn't 'null' ... nothing? Is it not blank?
Acid_Snake
Retired Mod
Posts: 3100
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: The Official Programming Dictionary

Post by Acid_Snake »

JMQMOfficials wrote:I may sound like a total idiot because I am a programmer but, isn't 'null' ... nothing? Is it not blank?
yeah that's what NULL means
pspfanMOHH
Posts: 661
Joined: Sat Jun 11, 2011 9:16 pm
Location: Grand Line, New World

Re: The Official Programming Dictionary

Post by pspfanMOHH »

@Jmqm NULL means nothing yes your right, but to me 0 means nothing, if its NULL its suppose to return 0; so... If I am wrong you can correct me
10 years young!
Acid_Snake
Retired Mod
Posts: 3100
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: The Official Programming Dictionary

Post by Acid_Snake »

exactly, NULL is nothing more than 0, here's what C++'s stddef.h has for NULL:

Code: Select all

#if defined (_STDDEF_H) || defined (__need_NULL)
#undef NULL		/* in case <stdio.h> has defined it. */
#ifdef __GNUG__
#define NULL __null
#else   /* G++ */
#ifndef __cplusplus
#define NULL ((void *)0)
#else   /* C++ */
#define NULL 0
#endif  /* C++ */
#endif  /* G++ */
#endif	/* NULL not defined and <stddef.h> or need NULL.  */
#undef	__need_NULL
so it's either 0 or 0x00000000, depends on the compiler
hgoel0974
Retired Mod
Posts: 2155
Joined: Mon Jul 23, 2012 11:42 pm
Location: New York

Re: The Official Programming Dictionary

Post by hgoel0974 »

pspfanMOHH wrote:@Jmqm NULL means nothing yes your right, but to me 0 means nothing, if its NULL its suppose to return 0; so... If I am wrong you can correct me
now I never really thought about it before because it never really mattered but therefore void is just a constant NULL type?
"If the truth is a cruel mistress, then a lie must be a nice girl"
pspfanMOHH
Posts: 661
Joined: Sat Jun 11, 2011 9:16 pm
Location: Grand Line, New World

Re: The Official Programming Dictionary

Post by pspfanMOHH »

hgoel0974 wrote:
pspfanMOHH wrote:@Jmqm NULL means nothing yes your right, but to me 0 means nothing, if its NULL its suppose to return 0; so... If I am wrong you can correct me
now I never really thought about it before because it never really mattered but therefore void is just a constant NULL type?
yes, cause you are terminating using NULL value (Returning 0 so its NULL, empty/nothing)

Code: Select all

#define NULL ((void *)0)
10 years young!
Acid_Snake
Retired Mod
Posts: 3100
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: The Official Programming Dictionary

Post by Acid_Snake »

hgoel0974 wrote:now I never really thought about it before because it never really mattered but therefore void is just a constant NULL type?
void means undetermined type
pspfanMOHH
Posts: 661
Joined: Sat Jun 11, 2011 9:16 pm
Location: Grand Line, New World

Re: The Official Programming Dictionary

Post by pspfanMOHH »

Acid_Snake wrote:
hgoel0974 wrote:now I never really thought about it before because it never really mattered but therefore void is just a constant NULL type?
void means undetermined type
:geek: if its undetermined its supposed to terminated, in other words it is NULL?(No Values) Right?
10 years young!
Locked

Return to “Programming and Security”