Search:

Type: Posts; User: alireza beygi

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,576

    Any one can help me?

    Any one can help me?
  2. Replies
    11
    Views
    1,576

    I think this errors are not related to my...

    I think this errors are not related to my problem! I mean, I have algorithm problem.
  3. Replies
    11
    Views
    1,576

    Thanks. I compiled it, NO error is taken, but...

    Thanks. I compiled it, NO error is taken, but Program still doesn't work.



    #include <stdio.h>
    #include <conio.h>
    void input (void);
    void change (void);
    void output (void);
    char a [80], b...
  4. Replies
    11
    Views
    1,576

    I know what you are saying, but there is a...

    I know what you are saying, but there is a problem. I'm an iranian physics student and because of sanctions I (We) do not have any compiler by myself. We should write our programs in Notepad and then...
  5. Replies
    11
    Views
    1,576

    I'm Confused! Please HELP!

    I should write a code to add up two 80 digits numbers. At first, program take numbers in form of strings.
    My code is here. Please Help me! what's the problem?



    #include <stdio.h>
    #include...
  6. Replies
    2
    Views
    2,341

    THANKS a lot!

    THANKS a lot!
  7. Replies
    2
    Views
    2,341

    Finding Prime Numbers

    Hello.
    The code that I wrote, should take n as an integer and find all prime numbers before n.
    with this definition:
    A numbers is prime that not be dividable to all last prime numbers.
    what's the...
  8. Replies
    10
    Views
    1,209

    You Are The Man!

    You Are The Man!
  9. Replies
    10
    Views
    1,209

    Global Variable!

    Hello Guys!

    I know that the initial value of a global variable is zero. Is It correct?

    But, What's the wrong with this code? x is defined as global variable but It's value in f1 is not zero!...
  10. Replies
    5
    Views
    1,125

    Multiplying Two Matrix!

    I'm Confused! What's the problem?
    Please Help; Thanks.



    #include <stdio.h>
    #include <conio.h>
    void input (int [][3], int, int [][4], int);
    int mult (int [][3], int, int [][4], int);
    void...
  11. Replies
    2
    Views
    1,596

    Oh! Thanks!

    Oh! Thanks!
  12. Replies
    2
    Views
    1,596

    Find Maximum!

    I want to find third maximum of five numbers and it's position.
    My code find Maximum correctly but it's position is wrong!
    What's the problem?
    Thanks!


    #include <stdio.h>
    #include <conio.h>...
  13. Replies
    3
    Views
    923

    Factorial

    Hello Guys!
    What's the problem with this simple code?!
    Thanks.


    #include <stdio.h>
    #include <conio.h>
    int main ()
    {
    int n;
  14. Thread: String

    by alireza beygi
    Replies
    1
    Views
    592

    String

    Why does this code do not inverse the input string?


    #include <stdio.h>
    #include <conio.h>
    #include <string.h>
    void inverse (char *);
    int main()
    {
    char s [1000];
  15. Replies
    1
    Views
    1,620

    Adding Long Integers!

    How can we add too long integers (for example 20 digits) with usage of Strings?
  16. Thanks!

    Thanks!
  17. What's the problem with this simple code?

    Why does this code only print zero?



    #include <stdio.h>
    #include <conio.h>
    int main ()
    {
    int n;
    float s = 0;
Results 1 to 17 of 23