Articles Tagged 'C / C + +'

From Actionscript to Objective-C

I thought it might be useful to those who have recently approached the development of applications for Apple iPhone, compare Adobe ActionScript - the language used in Adobe Flash and Adobe Flex, more common among the neo-programmers - and Objective-C language used by Apple to develop its applications. Objective-C is in effect an object-oriented language in the pure sense, not that it is not actionscript, but Objective-C is definitely a plus because it is an extension of ANSI C and its syntax is a mix between C / C + + and Smalltalk, is a true OO (Object-Oriented Language).

Continued ...

Hi Phone

iphone From today inaugurated a new section (category to be corrected) dedicated to developing applications on Apple iPhone! I state now that many of the items that will publish a "cut" in line with the spirit of this blog, that will be mostly for advanced users. However, as I have done for other topics, I'll try to be as clear as possible and, where necessary, to insert some "basic concept" useful to a wider audience.

Continued ...

Shop for considerations on the evolution of languages: AS2 vs. AS3

Reading the article by Julius ActionScript 2 or ActionScript 3? Let's clear!   I would like to make some considerations on the evolution "inverse" of some development tools for those who, like me, is the programming C / C + +.

Continued ...

Development languages

I "revived" this article of mine wrote a little 'of years ago. I slightly revised, updating a little bit here and there, but I think it is still relevant and interesting.

INTRODUCTION

What is a development language? A computer, aka PC (Personal Computer), has a personal language. This language is called machine code, to mean that every machine, so any computer (PC compatible, Apple, Unix, etc ...), has a unique and proprietary. The programs that we see "run" on our PCs are mainly carried out by the mysterious object called a microprocessor. This is the heart, the intelligent module, each computer. In fact, only one application is not running but is supported by the microprocessor, so to speak, to what is called an operating system: a software layer supplied by the manufacturer of the machine (see, for example, the Apple Macintosh).

Continued ...

Tips & Tricks: generator 0 / 1 with the ternary operator

Who is the programming C / C + + can not know the ternary operator, ECMA, and then used in PHP, Javascript and ActionScript. Hence a simpatca "line of code" (in this case PHP) useful, for example, to generate alternate rows in an HTML table, for example, but significant for many other applications:

1
= $t == 0 ) ? "even" : "odd" ) (($ T = $ t == 0)? "Even" "odd")

I remember seeing the first time this "magic" code on a Commodore 64 (year 1984) proposed by Compute! Gazette - Basic course in the form ;)

cg.jpg

Continued ...