Question

Hello, I have a question about C Program. I have finished the code. And it can...

Hello, I have a question about C Program.

I have finished the code. And it can debug successfully.

However, when I run it for more times, it will suddenly say there is one error which says that can not open the file and give a "Link" word beside.

Can you tell me why it will happen to be it and what to do to avoid the problem.

Thank you!

0 0
Add a comment Improve this question Transcribed image text
Answer #1

It seems like to be a Linker Error.

A Linker Error can be risen because , if compiler of the language doesn't get access to the Hardware of the machine

->so that It fails to create an executable file to the program

->Generally it can be arise during runtime

->Sometimes it will be rise due to imperfect path (or) incomplete Loading

To Resolve this problem

-> Once go to Options

->Select Linker Option

->There Go to Libraries

->Check the Required/Necessary Library

Another way is:

once try this

1)Copy the program

2)Paste in New File and give getch() function So that,your code will be reloaded

3)Give unique name for file

4)Delete the Existing File

5)And Check by compiling and Executing the program

6)Aspect the code by seeing that correct Libraries have  given or not

Add a comment
Know the answer?
Add Answer to:
Hello, I have a question about C Program. I have finished the code. And it can...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hello everyone, say if I'm to have a "text.txt" file that has something like "Hello,world". Can...

    Hello everyone, say if I'm to have a "text.txt" file that has something like "Hello,world". Can you show me a program to read this file and then print it out? Thank you! Written in MASM x86 assembly language please!

  • Hello, I need help with these two functions blockPrint and wordPrint.The program is written in C....

    Hello, I need help with these two functions blockPrint and wordPrint.The program is written in C. Thank you. ent the prototype for blockPrint. a) Intextfunctions.h, uncon Write the function definition for block Print dentical characters on a separate line. (See example This function should print each group (block) of ident output below) Example: Example: Incoming string: "Tbeehiklssuy Output (to the screen): Incoming string: "Java Programming Output to the screen: ee POOH da al Edit vour main function.include test calls and...

  • Hello! i need a program in C that uses FILE*! The instructions are below! Please dont...

    Hello! i need a program in C that uses FILE*! The instructions are below! Please dont copy paste another chegg post! Thank you! Will leave positive review! I need a program that 1) Count all words in a file. A word is any sequence of characters delimited by white space or the end of a sentence, whether or not it is an actual English word. 2)Count all syllables in each word. To make this simple, use the following rules: •Each...

  • Hello! I desperately need help with this project for my computer science class c++. Please let...

    Hello! I desperately need help with this project for my computer science class c++. Please let me know if any clarification or additional information is needed. Compliance with the outlined project requirements is crucial. Thank you!!! and I'll rate you up too thank you! 1) Program must implement a minimum of 3 classes (which we will learn about in Ch.13). 2) You should make use of plenty of the concepts that we have learned or are learning in class (for...

  • I need help writing this C code. Here is the description: Let's say we have a...

    I need help writing this C code. Here is the description: Let's say we have a program called smart typing which does two things: The first letter of a word is always input manually by a keystroke. When a sequence of n letters has been typed: c1c2...cn and the set of words in the dictionary that start with that sequence also have c1c2...cnc then the smart typing displays c automatically. we would like to know,  for each word in the dictionary,...

  • Hello: Can anybody explain this for me question: I have 2 columns with vacation rentals yes...

    Hello: Can anybody explain this for me question: I have 2 columns with vacation rentals yes or no for 2 columns Winter 2000 Winter 2001 Winter 2000 - has 200 entries and 70 of it rental says "yes" hence proportion of units rented = 70/200 = 0.35 Winter 2001 - has 150 entries and 70 of it rental says "yes" hence proportion of units rented = 70/150= 0.467 Find 95% confidence interval for difference in proportions? Will Winter 2001 have...

  • C Language program. Please follow the instructions given. Must use functions, pointers, and File I/O. Thank...

    C Language program. Please follow the instructions given. Must use functions, pointers, and File I/O. Thank you. Use the given function to create the program shown in the sample run. Your program should find the name of the file that is always given after the word filename (see the command line in the sample run), open the file and print to screen the contents. The type of info held in the file is noted by the word after the filename:...

  • I need help with my javascript project, I've started on it but I can't seem to...

    I need help with my javascript project, I've started on it but I can't seem to get ym java scripts to work with my index.html. Can someone please help me fix my code? I need the main.js & scratchpad.js to work with my index.html .Thank you Directions: Go to the following link: https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics On that page, scroll down to "A 'hello world' example". Follow the step-by-step instructions to download their code and edit it in your text editor of choice....

  • c++ programming question! I have a string sentence. "Hello how are you" What the best way...

    c++ programming question! I have a string sentence. "Hello how are you" What the best way to Get each word from the sentence and assign it to a variable and then add that variable to a vector? I won't know how many words the sentence has, only that they will be separated by a space " " delimiter. I want each word push_front(word) to the vector. Thank you!!

  • (Mobile-Android Studio) Hello. Thank you for coming to help me:) I am using the Andriod studio...

    (Mobile-Android Studio) Hello. Thank you for coming to help me:) I am using the Andriod studio on mac. and using Java code to develop. and Please start with basic activity with constraints layout (not empty). (audio file is not given, let's say there any audio file). I just would like to see the codes how it works. Thank you very much. I would like to know how to write a program that includes two buttons called plays Play and Stop....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT