LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 05-17-2012, 10:54 PM   #1
snoppy920
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
writing a program


I need help to writing a program that will print every Ascii code 0-400
 
Old 05-18-2012, 06:43 AM   #2
griffey
Member
 
Registered: Jan 2004
Location: East Central Illinois
Distribution: RHEL 4/5/6 and Fedora
Posts: 81

Rep: Reputation: 15
Do you have PHP installed?

<?php
echo "<p>";
for ($i = 0; $i <= 400; $i++) {
echo "$i : ";
echo chr($i);
echo "<br /> \n";
}
echo "</p>";
?>
 
Old 05-18-2012, 09:49 AM   #3
pgreninger
LQ Newbie
 
Registered: Apr 2009
Location: Boston, MA
Distribution: RHEL5
Posts: 3

Rep: Reputation: 0
The following post may have what you're looking for:
http://www.linuxquestions.org/questi...acters-286242/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help in writing a program with C in Linux anuzephyr Programming 5 11-15-2010 06:35 AM
Writing a batch program mrobertson Programming 12 02-19-2006 12:55 PM
Help writing shell program mral Linux - Newbie 6 12-29-2005 08:26 PM
CD Writing program? Which is best? nro Linux - Software 14 09-01-2004 10:19 AM
Writing and executing a program Russb Linux - Software 1 07-25-2004 06:49 PM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration