Search:

Type: Posts; User: zerokernel

Search: Search took 0.01 seconds.

  1. Thanks, you guys are quite fast.

    Thanks, you guys are quite fast.
  2. Haha, I just figured it out note x^2 term I...

    Haha, I just figured it out note x^2 term I accidentally put a -2 in front.

    Actual code looks like this now:


    #include <stdio.h>

    int main(void)
    {
    int x, polynomial;
  3. Program doesn't properly compute simple polynomial.

    The program will ask for the user to enter a value for x, then compute the following polynomial: 3x^5 + 2x^4 - 5x^3 - x^2 + 7x - 6.

    However, when I double check it with my calculator I get a wrong...
  4. Replies
    11
    Views
    1,958

    Wow, I guess I never thought of it that way. Your...

    Wow, I guess I never thought of it that way. Your absolutely right, if I continue this path I'll never be able to program. I'm cutting out the video games and movies. All my free time will go into...
  5. Replies
    11
    Views
    1,958

    I keep GIVNG UP!!!

    I have all the necessary tools to program even the free time. I've been trying to teach myself programming, but I keep giving up. It's not that I can't do it, I definitely can; but once I get to a...
  6. I just noticed something else weird with my count...

    I just noticed something else weird with my count when it reaches the null character. Is it wrong? Lets assume my entered test was "Hello World" and I set "i" initially to be 5. How is it that my...
  7. Why doesn't it properly display the string?

    The program should store a character array in reverse order then display the reversed array. I have also included in the code that will display the actual characters into the array as it loops...
  8. I solved it by using "%c" instead of "%s" stupid...

    I solved it by using "%c" instead of "%s" stupid me.
  9. Very very basic: How to display one character in a string?

    It's been about two years since I last program c, now I need to do it for a basic project. How would I print out one letter in a string?

    For example lets say I have a string called str=[Hello]. ...
  10. Replies
    1
    Views
    1,592

    The Father of C has Died Dennis Richie

    I thought everyone should know. Dennis Ritchie: The shoulders Steve Jobs stood on - CNN.com
  11. Replies
    7
    Views
    2,638

    Thanks for catching my mistake, unfortunately I...

    Thanks for catching my mistake, unfortunately I do that quite often.
  12. Replies
    7
    Views
    2,638

    I had no warnings I'm using gcc from linux. ...

    I had no warnings I'm using gcc from linux. Should I be concerned, should I report this bug? Is it a bug?
  13. Replies
    7
    Views
    2,638

    I changed it to 0.0 and it worked, but the weird...

    I changed it to 0.0 and it worked, but the weird thing was when I changed it back to just 0 with no decimal point it worked as well. What just happened?
  14. Replies
    7
    Views
    2,638

    Simple Program for the noobs

    Started C programming again, but I am stuck on a relatively very simple problem. The problem is stated in the comments.


    /* Programming Projects
    Problem 5
    Write a program that asks the user...
  15. Replies
    8
    Views
    1,056

    Yeah I needed that, I have put off programming C...

    Yeah I needed that, I have put off programming C for a while. Thanks.
  16. Replies
    8
    Views
    1,056

    Not looking for small pieces of code i'm talking...

    Not looking for small pieces of code i'm talking about one with hundreds of lines and a lot of functions, memory allocation, etc. I'm still new to C so I not exactly sure what can show up in C,...
  17. Replies
    8
    Views
    1,056

    Need a sample program.

    I would like it if some of you can post some sample C programs. I'm testing out some color-schemes. Keep in mind this isn't my homework so it doesn't exactly have to work. ;) The longer the better.
  18. Where can I find C problems and solutions?

    Just started getting into C programming again. Where can I find a good resource of C problems. It would be helpful If these problems also had solutions. Please provide links. For those that say...
  19. Replies
    3
    Views
    8,802

    Thank you. I was looking for quite some time, I...

    Thank you. I was looking for quite some time, I guess it never occurred to me to look up indent style.
  20. Replies
    3
    Views
    8,802

    Proper format/standard of C program?

    I've searched all over the internet looking for whats the most preferred format. I know C compilers don't care, but I want to make codes that look nice for others to edit, view over, etc. I guess...
Results 1 to 20 of 20