User Profile

Collapse

Profile Sidebar

Collapse
Ovserj1994
Ovserj1994
Last Activity: Mar 12 '15, 05:21 PM
Joined: Feb 11 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ovserj1994
    replied to Divide code on parts in C
    in C
    Okay. So, I created 3 different files:


    file 1:
    Code:
    #include<stdio.h>
    
    void function1(void);
    
    int num;
    
    int main (void)
    
    {
    
    num = 3;
    
    function1();
    print_string("DONE\n");
    
    return 0;
    
    }
    file2:
    Code:
    #include<stdio.h>
    
    
    
    void function2(char *str);
    void function3(void);
    ...
    See more | Go to post
    Last edited by Ovserj1994; Mar 11 '15, 11:09 PM. Reason: -_-

    Leave a comment:


  • Ovserj1994
    started a topic Divide code on parts in C
    in C

    Divide code on parts in C

    Hello,
    I am trying to divide the following code on three modules. I am sure I did everything correctly, however I got an error. I was wondering if there is something specific about this code that I did not take into consideration. Thank you.


    Code:
    #include<stdio.h>
    
    void function1(void);
    
    void function2(char *str);
    
    void function3(void);
    
    void print_string(char
    ...
    See more | Go to post

  • Palindrome identifierrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrr

    Hello, This is my code. I need to create a program where the user can enter a phrase (up to 100 characters), and the program will check if it is a Palindrome. I wrote the code and it works fine with 1 exception. It tells me that phrase is not a palindrome If I type: "Bob bob" "Lemon nomel", where first letter is upper case and last letter is lower case.DOnt know what to do. thats the code. Heeeeeeelp!


    Code:
    #include
    ...
    See more | Go to post
    Last edited by Rabbit; Feb 12 '15, 01:02 AM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Working...