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.
User avatar
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: The Official Programming Dictionary

Post by codestation » Wed Jun 26, 2013 4:48 am

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..

User avatar
pspfanMOHH
Posts: 660
Joined: Sat Jun 11, 2011 9:16 pm
Location: Grand Line, New World

Re: The Official Programming Dictionary

Post by pspfanMOHH » Wed Jun 26, 2013 9:49 am

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

User avatar
JMQMOfficials
Posts: 648
Joined: Mon Sep 24, 2012 9:56 pm

Re: The Official Programming Dictionary

Post by JMQMOfficials » Tue Jul 02, 2013 4:54 am

I may sound like a total idiot because I am a programmer but, isn't 'null' ... nothing? Is it not blank?

User avatar
Acid_Snake
Retired Mod
Posts: 3099
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: The Official Programming Dictionary

Post by Acid_Snake » Tue Jul 02, 2013 6:22 am

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

User avatar
pspfanMOHH
Posts: 660
Joined: Sat Jun 11, 2011 9:16 pm
Location: Grand Line, New World

Re: The Official Programming Dictionary

Post by pspfanMOHH » Tue Jul 02, 2013 10:58 am

@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

User avatar
Acid_Snake
Retired Mod
Posts: 3099
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: The Official Programming Dictionary

Post by Acid_Snake » Tue Jul 02, 2013 11:08 am

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

User avatar
hgoel0974
Retired Mod
Posts: 2153
Joined: Mon Jul 23, 2012 11:42 pm
Location: Maia, Pleiades Nebula

Re: The Official Programming Dictionary

Post by hgoel0974 » Tue Jul 02, 2013 4:33 pm

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"

User avatar
pspfanMOHH
Posts: 660
Joined: Sat Jun 11, 2011 9:16 pm
Location: Grand Line, New World

Re: The Official Programming Dictionary

Post by pspfanMOHH » Tue Jul 02, 2013 5:07 pm

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)

User avatar
Acid_Snake
Retired Mod
Posts: 3099
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: The Official Programming Dictionary

Post by Acid_Snake » Tue Jul 02, 2013 5:47 pm

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

User avatar
pspfanMOHH
Posts: 660
Joined: Sat Jun 11, 2011 9:16 pm
Location: Grand Line, New World

Re: The Official Programming Dictionary

Post by pspfanMOHH » Tue Jul 02, 2013 5:50 pm

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?

Post Reply

Return to “Programming and Security”