| | |
C language problem
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
C Syntax (Toggle Plain Text)
void foo(int a[6][6]) { int i, swap[6]; for (i = 0; i < 3; ++i) { memcpy(swap, a[i], sizeof swap); memcpy(a[i], a[5 - i], sizeof swap); memcpy(a[5 - i], swap, sizeof swap); } }
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
![]() |
Similar Threads
- Encoding problem (Java)
- when clic, it should show the equvelant english to the tamil(a language india) wrd (Visual Basic 4 / 5 / 6)
- Tools or language recommended (Computer Science)
- Assembler language problem (Assembly)
- Windows 98se language problem (Windows 95 / 98 / Me)
- IE Language Problem (Web Browsers)
Other Threads in the C Forum
- Previous Thread: Sorting Not In Order
- Next Thread: Link List of a type structure using classes
| Thread Tools | Search this Thread |
adobe ansi api array arrays asterisks bash binarysearch calculate centimeter char convert copyanyfile copyimagefile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic fflush file fork frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators infiniteloop initialization interest km linked linkedlist linux linuxsegmentationfault list locate logical_drives match matrix meter microsoft motherboard multi mysql number open opendocumentformat opensource owf pattern pdf performance pointer pointers posix power problem probleminc program programming pyramidusingturboccodes read recursion recv repetition scanf scheduling scripting segmentationfault send shape socketprograming stack standard string strings structures suggestions system systemcall test testautomation unix user variable voidmain() wab win32api windows.h






