![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| tcsh I can't get script to work :( | Fred Goldman | Shell Programming and Scripting | 8 | 11-12-2007 05:44 PM |
| help in tcsh | mahendrakamath | UNIX for Dummies Questions & Answers | 3 | 11-12-2007 04:05 PM |
| Help me with this tcsh script.!!!! | kumarsaravana_s | Shell Programming and Scripting | 6 | 03-12-2007 06:10 AM |
| how to call a perl script from tcsh? | megastar | Shell Programming and Scripting | 1 | 10-22-2005 06:48 PM |
| tcsh | kartik | Shell Programming and Scripting | 1 | 10-20-2004 06:05 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hello Freinds
I have just started off with Unix (TCSH) although I have a pretty sound background with C-programming. Kindly convey any error in foll script. #include<stdio.h> #include<math.h> #define PI 3.142857 main () { float r, A; printf("Enter the value of radius: "); scanf(" %f ",&r); A = ((PI/4)*r*r); printf("Area of circle is %f", A); } I can compile it with gcc but when I run it in terminal, it returns nothing, guess it goes into a loop. Pls help |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|