Sponsored Content
Full Discussion: please help with C
Top Forums Programming please help with C Post 302494127 by decent on Saturday 5th of February 2011 11:25:17 AM
Old 02-05-2011
For question number one:

T is substituted by t in the code-part so

PHP Code:
char T = `T`; 
becomes
PHP Code:
char t = `T`; 
and

PHP Code:
printf("%c %c",T,t); 
becomes
PHP Code:
printf("%c %c",t,t); 
Then I hope it becomes obvious.


For question two there is no real condition test to care about as I see it.
++a makes a = 1.. tested against the value 11 but the result ain't used anywhere.
Same for ++b == 11 as I see it.

The change scottn suggested makes no difference as I tested it either.

Guess the style of coding should be avoided if we have no idea what it's about Smilie
 
php-config(1)							Scripting Language						     php-config(1)

NAME
php-config - get information about PHP configuration and compile options SYNOPSIS
php-config [options] DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration. OPTIONS
--prefix Directory prefix where PHP is installed, e.g. /usr/local --includes List of -I options with all include files --ldflags LD Flags which PHP was compiled with --libs Extra libraries which PHP was compiled with --man-dir The directory prefix where the manpages is installed --extension-dir Directory where extensions are searched by default --include-dir Directory prefix where header files are installed by default --php-binary Full path to php CLI or CGI binary --php-sapis Show all SAPI modules installed on the Debian system --configure-options Configure options to recreate configuration of current PHP installation --version PHP version --vernum PHP version as integer SEE ALSO php(1) VERSION INFORMATION
This manpage describes php, version 5.4.4-14+deb7u14. COPYRIGHT
Copyright (C) 1997-2010 The PHP Group This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available through the world-wide-web at the following url: http://www.php.net/license/3_01.txt If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to license@php.net so we can mail you a copy immediately. The PHP Group 2010 php-config(1)
All times are GMT -4. The time now is 06:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy