User Profile

Collapse

Profile Sidebar

Collapse
metalgod4eva
metalgod4eva
Last Activity: Apr 24 '07, 12:58 PM
Joined: Mar 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • metalgod4eva
    replied to Recursion program
    in C
    Here is a great example of recursion without using any input and still have 12344321 as an output. This doesn't give it away nor will it work on your input variable but its a great way to break down recusion programs and theorize how to acomplish your goal.
    Code:
    #include <stdio.h>
    int factorial (int x)
    {
            printf("%d",x);
           if(x < 5){
           factorial(x+1)
           }
    ...
    See more | Go to post

    Leave a comment:


  • metalgod4eva
    replied to output of printf("%d %s"); ??
    in C
    %d is a place holder, you need to have a variable to send to the place holder.
    like printf("%d",x); .
    See more | Go to post

    Leave a comment:


  • metalgod4eva
    replied to to read 8 bit grascale image using C
    in C
    Well what is psuedo code so far? Post that and as a comunity we can work to create a clear idea in your head. What is your theory as to achieve this, what functions you want to use. Are you going to use structs? As you can see the questions could go on, what I am getting at is think and then post back.
    See more | Go to post

    Leave a comment:


  • Well most "online software" will be under the .net or asp, and sometimes java set up. Some servers do use pearl (a markup of C) but that’s rare to use it in that fashion. (Pearls job is to write terrible code that you can't read lol). Anyway I don't think that someone on a forum will just give you code, if you want something do it yourself. If you get stuck you ask for help. That’s the mantra all programmers should use, don't think...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...