Forum: IT Professionals' Lounge Sep 7th, 2006 |
| Replies: 81 Views: 15,795 #include <stdio.h>
int main()
{
char c[] = {4, 16, 2, 0, 68, 65, 77, 83, 21, 84, 89, 0, 71, 82, 81, 78, 77, 0, 106, 1, '\n'};
char * p = c;
char * tmp = "500 ways to print [1..10]!";... |
Forum: IT Professionals' Lounge Sep 6th, 2006 |
| Replies: 81 Views: 15,795 Don't use void main() instead use int main(). Never call main recursivly. Ok i can be static but why it's not just auto variable. For last you need one more }. After all forums are to improve our... |
Forum: IT Professionals' Lounge Sep 6th, 2006 |
| Replies: 81 Views: 15,795 I think you should edit this |
Forum: IT Professionals' Lounge Sep 1st, 2006 |
| Replies: 81 Views: 15,795 MIPS assembler. Using SPIM simulator
.data
str1: .asciiz "1 2 3 4 5 6 7 8 9 10"
.globl main
.text
... |
Forum: IT Professionals' Lounge Aug 21st, 2006 |
| Replies: 3 Views: 1,542 Yes there are. Embedded programming is hard without C. |