| | |
The Clear
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
>id like to ask if ever you could give me a very simple Array program.
A very simple program. I release it to you under the GPL license. You can knock yourself out
modifying it and making any kind of changes you see fit.
C Syntax (Toggle Plain Text)
/* * integers.c * display an array of integers in consecutive order * author: Aia */ #include <stdio.h> int main ( void ) { int integers[] = { 1, 2, 3, 4, 5 }; int i; for ( i = 0; i < sizeof integers / sizeof ( int ); i++ ) { printf( "%d ", integers[i] ); } return 0; }
modifying it and making any kind of changes you see fit.
Last edited by Aia; Dec 3rd, 2007 at 9:23 pm.
![]() |
Similar Threads
- Cannot Clear ARP Cache (Windows NT / 2000 / XP)
- Enable Clear Type (Windows tips 'n' tweaks)
- Clear System Restore Points for Performance (Windows tips 'n' tweaks)
- my internet cache won't clear... help! (Web Browsers)
- Clear getchar in a loop (C)
- Clear something up about my redo ... (DaniWeb Community Feedback)
Other Threads in the C Forum
- Previous Thread: help with program using structures and printing to screen
- Next Thread: save file names into char array
| Thread Tools | Search this Thread |
#include adobe ansi api append array arrays asterisks binarysearch changingto char character cm copyimagefile cprogramme creafecopyofanytypeoffileinc csyntax database directory dynamic execv feet fgets file fork framework frequency function getlasterror givemetehcodez global grade gtkgcurlcompiling hacking hardware highest histogram include incrementoperators infiniteloop input interest kernel keyboard kilometer license linked linkedlist linux linuxsegmentationfault list lists locate logical_drives looping loopinsideloop. lowest match matrix meter microsoft motherboard mqqueue number odf opensource overwrite owf pattern pdf performance pointer posix probleminc process program programming radix recursion recv repetition research reversing scripting segmentationfault sequential socket socketprograming standard string systemcall testing threads turboc unix user voidmain() wab windows.h windowsapi






