Search:

Type: Posts; User: ChaturBauka

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    652

    Thank You for your thorough input. I copied and...

    Thank You for your thorough input. I copied and pasted the definition of helper function that's why fancy colour.
  2. Replies
    6
    Views
    652

    I searched the term helper function and what I'm...

    I searched the term helper function and what I'm getting is that it is a function that performs part of the computation of another function and are used to make your programs easier to read by giving...
  3. Replies
    6
    Views
    652

    I did what you suggested, moved the code to a .c...

    I did what you suggested, moved the code to a .c file and the prototypes to header file, and it totally makes sense now(library and header files are different), but I'm getting linker error. Here you...
  4. Replies
    6
    Views
    652

    Help with execution of program.

    I am new at this, so probably a lot of mistakes, I tried to make a header file and pasted all functions, Here:


    /*linkedlist.h contains methods to delete, push, display Linked List*/struct Node{...
  5. Replies
    1
    Views
    444

    Help with program.

    So I was learning about linked list and I created a method to delete the list, I am getting run-time error(unusual flow of control) with the goto statement in main function which I'm using as a...
  6. Replies
    4
    Views
    594

    Oh how naive I am :biggrin:

    Oh how naive I am :biggrin:
  7. Thanks! Didn't noticed.:biggrin:

    Thanks! Didn't noticed.:biggrin:
  8. Replies
    4
    Views
    594

    Thanks for the help but I am still getting the...

    Thanks for the help but I am still getting the same error, here:


    main.c: In function ‘fac’:
    main.c:7:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
    int main(){
    ...
  9. Replies
    4
    Views
    594

    Help to run this problem.

    So I was trying to pass the address to a function and I'm getting some error I think which is not related to passing the address but with the function or something. Here:

    #include <stdio.h>

    int...
  10. The program runs after changing the format...

    The program runs after changing the format specifier but nothing prints on the screen, and thanks for the tip!
  11. Help, made a program to slice a string, not working.

    #include <stdio.h>int main() {
    char s[1000];
    scanf("%s", s);//input for string
    int a, b, i;//a is upper limit and b lower limit
    scanf("%d", &a);//getting a
    ...
  12. I won't do that again. I didn't wish to clutter...

    I won't do that again. I didn't wish to clutter here, that is why I did that. Anyway thank you again this forum is very helpful.
  13. Thank You for your feedback, it's crucial. Leave...

    Thank You for your feedback, it's crucial. Leave all other errors just explain me errors related to header file and linking of multiple .c files. Your help is much appreciated.
  14. Help, I am building my first project: A simple calculator.

    Correct me for any naivety or repeated questions. Here is the error:
    Error - Album on Imgur

    Relevant links:
    [C] Calc.h - Pastebin.com
    [C] UnusualFlow.c - Pastebin.com
    [C] menu.c -...
  15. Thank You, now it's running. Actually I was...

    Thank You, now it's running. Actually I was trying to compile it online so I used this option to beautify which added this extra spaces everywhere, I usually write a very condensed code.
  16. Thank You for your help, now its running.:cool:

    Thank You for your help, now its running.:cool:
  17. Help I am stuck with an unknown type of error.

    I'm a complete novice to C programming and also new to this type of online discussion so bear with me, help me and correct me if I'm wrong anywhere. Here is the code:


    //this program calculates...
Results 1 to 17 of 17