Search:

Type: Posts; User: samuelanonymous

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    1,784

    i commented out the entire command line argument...

    i commented out the entire command line argument part but still get the same error:


    Error while dumping state (probably corrupted stack)
    Segmentation fault (core dumped)
  2. Replies
    9
    Views
    1,784

    corrupted stack

    hi. i wrote this program:



    /*
    * A program to find prime number pairs, triplets etc.
    * Prime number pairs are two prime numbers which are an exact number apart.
    */

    #include <stdio.h>
  3. Replies
    5
    Views
    1,411

    wow thanks bob! i made the change to int...

    wow thanks bob! i made the change to


    int binary_array[MAX_ARRAY] = {0};

    but it still doesn't work. the first number i type in will give me a random 10 digit result, and the following outputs...
  4. Replies
    5
    Views
    1,411

    whats wrong?

    i wrote this program to sort and convert decimal integers into binary form.




    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>

    #define MAX_ARRAY 5
  5. Replies
    9
    Views
    3,358

    thanks for the help guys

    thanks for the help guys
  6. Replies
    9
    Views
    3,358

    format specifiers

    What is the format specifier for strings?
    Specifically, why does this not work?



    #include <stdio.h>

    char name;

    int main()
  7. Replies
    3
    Views
    1,112

    thanks alot MacGyver!

    thanks alot MacGyver!
  8. Replies
    3
    Views
    1,112

    doubles variable

    Hi. This is my first post, sorry if i seem a bit n00b.

    I just started learning C and I met a problem.



    #include <stdio.h>

    double oper;
    double a, b;
Results 1 to 8 of 8