Comments (9)
Hi Priyash, Sorry to hear this code gave you some trouble. Can you say a little bit more about how you compiled it? Which OS? I just recloned and ran:
gcc -o hite hite.c -lm
and it worked fine for me.
from hite.
I'm using CodeBlocks (https://www.codeblocks.org/) on windows 10 for compilation.
from hite.
Hello Prof. the command "gcc -o hite hite.c -lm" works fine, but hite earth.in gives an error stating "Command 'hite' not found", seems like hite is been treated as linux command
PS: I am using Linux Mint
from hite.
Did you try
./hite earth.in
? I haven't used Mint before, but maybe it requires being very clear about the path?
from hite.
Hello sir, when i run 'hite earth.in" i got some problem like "ERROR: Expected option NumPlanets, found option α↕@.
Line: 66", can you help me with this problem?
from hite.
It's not obvious to me what the issue is from your comment. The first option in earth.in is NumPlanets, so I don't know why it would be reporting an error on line 66. Did you modify earth.in in some way? Does running 'hite kepler452b.in' produce a similar error?
from hite.
Yes, running hite kepler452b.in
I following this flow
- Download source code in githubg
- Install GCC on my windows
- Open cmd
- Hit "GCC hite.c"
- And then hit "a earth.in", or "hite earth.in"
- And three is an error like i send before
Please tell me if i forget some step to use your code, i hope you can help me for this problem, thankyou before
Best regard
from hite.
For note, i use originaly file from your file .tar
from hite.
It looks like you're running from a Windows prompt, which is something I haven't tried before. For scientific computing I strongly recommend using the freely available Windows Subsystem for Linux. From there, you may need to install gcc. Once you've confirmed gcc is installed, the commands should be
tar xvfz HITE.tar.gz
gcc -o hite hite.c -lm
./hite earth.in
(I think.) Let me know if that works for you and if so, I will update the README. Thanks for your interest in this code!
from hite.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hite.