Alphaplus Posted July 28, 2016 Posted July 28, 2016 I am looking for the program. Not the name of it. It would be nice to see the program behind some app that is simple yet useful. (Also please help me figure out how to thank replies to queries on this forum).
Yvtq8k3n Posted July 28, 2016 Posted July 28, 2016 (edited) Nope, however because im nice and i have no ideia what are you talking about, just download visual studio:D. Edited July 28, 2016 by Yvtq8k3n
Strange Posted July 28, 2016 Posted July 28, 2016 I am looking for the program. Not the name of it. It would be nice to see the program behind some app that is simple yet useful. Are you looking for the source code for some applications? In which case, I suggest you look for some open source applications that do what you are interested in. Then you can download the source. Or if you are looking for simple examples, I'm sure there are plenty of tutorials out there for whatever platform you are interested in (Windows, Android, Linux, etc.) 1
bimbo36 Posted July 28, 2016 Posted July 28, 2016 #include<stdio.h> #include<math.h> main() { float x; /*defining variables*/ float y; float h; float targetx; puts("This program will solve the differential equation y' = y - x \nusing Euler's Method with y(0)=1/2 \n\n"); puts("Please enter the desired constant step size. (h-value)\n\n"); scanf("%f", &h); /* Defining step size*/ puts("\n\nNow enter the desired x-value to solve for y.\n\n"); scanf("%f", &targetx); y = 0.5; x = 0.0; puts("\n\nX Y"); while ( x != targetx ) { printf("\n\n%f %f", x, y); y = y + ((y - x)*h); x= x+h; } printf("\n\n%f %f\n", x, y); printf("\nThe value of y at the given x is %f.\n\n", y, h); system("pause"); } ?? like this ?? 1
kisai Posted July 28, 2016 Posted July 28, 2016 C and C++ code is compiled into executable files. That is, the original program goes through several passes where it is basically changed to assembly code, then into machine level code. Once it is transformed into a bunch of ones and zeroes, it is impossible to go back to the original code (although you could reverse engineer it back to the assembly code). You cannot casually see how a software application is running in C without the original code. 1
Alphaplus Posted July 30, 2016 Author Posted July 30, 2016 (edited) Are you looking for the source code for some applications? In which case, I suggest you look for some open source applications that do what you are interested in. Then you can download the source. Or if you are looking for simple examples, I'm sure there are plenty of tutorials out there for whatever platform you are interested in (Windows, Android, Linux, etc.) Thanks. "Source code" was the word I was missing. Edited July 30, 2016 by Alphaplus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now