User Profile

Collapse

Profile Sidebar

Collapse
sam123456789
sam123456789
Last Activity: Apr 15 '12, 09:55 PM
Joined: Apr 15 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sam123456789
    started a topic Syntax error in code
    in C

    Syntax error in code

    keep getting error
    syntax error before


    Code:
    #include <stdio.h>
    #include <stdlib.h>
    #include <conio.h>
    
    void PrintMenu(char);
    int EnterNumber(int ,int );
    int FindMaximum(int ,int );
    int FindMinimum(int ,int );
    int IsEqual(int ,int );
    
    
    
    int main(int argc, char *argv[])
    {
    
      char choice;
      int number1, number2;
    ...
    See more | Go to post
    Last edited by Niheel; Apr 16 '12, 01:04 AM.

  • sam123456789
    replied to implicit declaration of function
    in C
    I tried removing them , but i m not getting the part where you tell me to "You need to tell the compiler a funtions exists before you call it.
    Use a function prototype for this:"

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


    int main(int argc, char *argv[])
    {
    char choice;
    int number1, number2;

    printf("======= =============== =============== =============== =====\n");...
    See more | Go to post

    Leave a comment:


  • sam123456789
    started a topic implicit declaration of function
    in C

    implicit declaration of function

    implicit declaration of function
    please tell me what im doing wrong.

    Code:
    #include <stdio.h>
    #include <stdlib.h>
    #include <conio.h>
    
    
    int main(int argc, char *argv[])
    {
      char choice;
      int number1, number2;
      
      printf("=========================================================\n");
      printf("* A (a):Enter two integer numbers
    ...
    See more | Go to post
    Last edited by Niheel; Apr 16 '12, 01:06 AM. Reason: you gotta do a better job explaining your code and using better titles, otherwise your questions will get deleted
No activity results to display
Show More
Working...