The Interactive Animation - my first released C program

This is a discussion on The Interactive Animation - my first released C program within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I've made that change, checked it and didn't see those warnings when compiling. I ran the program to see if ...

  1. #31
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    I've made that change, checked it and didn't see those warnings when compiling. I ran the program to see if it worked or not and it did, at least for me. I zipped it up and reuploaded it. I happened to have spotted another bug so I've fixed it and the version is now 1.1b.

    The download link is still the same which is here. Does it now run or am I still missing something?

  2. #32
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    Works, but you didn't change the "version" value in Microsoft.VC80.CRT.manifest. After I changed it, the program launched fine.

    EDIT: if I remove the manifest I manually created, it doesn't work either. try including "Interactive Animation.exe.intermediate.manifest" with the app.
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  3. #33
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    Remove a manifest that you manually created? Could you please explain this and what you mean by it? I fixed the version (hopefully I did this time), and reuploaded the file. Since it now supposedly works, I just want to make sure, then I'll post a notice on my website that it now works and can freely be used.

  4. #34
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    When I was testing your app before, I wrote a manifest for it to figure out where the problem was. When I got rid of it from the most recent version, the app stopped working. That means you'll need to include "Interactive Animation.exe.intermediate.manifest" with the application, or use an embedded manifest by opening your project options->manifest tool->input and output, and set "embed manifest" to "yes".
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  5. #35
    C / C++
    Join Date
    Jan 2006
    Location
    The Netherlands
    Posts
    312
    It doesn't work in WINE either
    Operating Systems:
    - Ubuntu 9.04
    - XP

    Compiler: gcc

  6. #36
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    The "embed manifest" is already set to "yes" in the options. It's what apparently the default setting is. Does that mean I also need to add the "*.intermediate.manifest" file as well (where the * is the program's name)? Where would it go? In the "Microsoft.VC80.CRT" folder?

  7. #37
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    It would go in the same directory as the app.
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  8. #38
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    Well, there's another reupload. Is it correct now?

  9. #39
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    Sorry it took so long to get back to this.

    I had to change the version number in "Interactive Animation.exe.intermediate.manifest" to be the same as the version number in "Microsoft.VC80.CRT.manifest"

    I also had to rename "Interactive Animation.exe.intermediate.manifest" to just "Interactive Animation.exe.manifest". I'm not sure why, but that's the only way I could get it to work. I was sure it'd work with the "intermediate" part in there, but apparently not. Anyone else have any idea?
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  10. #40
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    I fixed the version number (hopefully - previously, I just copied it and forgot to check that). I also renamed the *.exe.manifest file as you specified. Does it work now as is? I reuploaded it and the link remains the same.

  11. #41
    C maniac
    Join Date
    Aug 2004
    Location
    Cyberwarping to Middle Earth
    Posts
    154
    What are the key controls? It's nice, but I must be missing something . . .

  12. #42
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    The key controls are in the bottom left corner. This screenshot shows an example. Note the bottom left corner that has "Controls" and the list of the 12 controls.

  13. #43
    C / C++
    Join Date
    Jan 2006
    Location
    The Netherlands
    Posts
    312
    Nice program (I tried it on another pc) Funny when you set the speed very high :P
    Operating Systems:
    - Ubuntu 9.04
    - XP

    Compiler: gcc

  14. #44
    C maniac
    Join Date
    Aug 2004
    Location
    Cyberwarping to Middle Earth
    Posts
    154
    Get'er going at +/-30000 with the city scale at 1 and the houses scale at 10 with the visibility set to 50 . . . I like it :P.

  15. #45
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    The speeds and accelerations are accurately to scale. The default scaling values are the most realistic. Thus, if you're going 180 mph, the speed NASCAR drivers go to, you can get sensation on just how fast that really is, for real. Even the speed of sound (~762 mph) or the speed of the space shuttle in low Earth orbit (~17,500 mph) can be accurately "felt". Double the scaling and the objects are twice as big but twice as far. The speed is in mph and acceleration is in mph per second. Scaling uses it's own unique values, determined by the field of view. A scaling of 1125 is 10 miles' distance which puts the field of view at exactly 90 degrees.
    High elevation is the best elevation. The higher, the better the view!
    My computer: XP Pro SP3, 3.4 GHz i7-2600K CPU (OC'd to 4 GHz), 4 GB DDR3 RAM, X-Fi Platinum sound, GeForce 460, 1920x1440 resolution, 1250 GB HDD space, Visual C++ 2008 Express

Page 3 of 4 FirstFirst 1234 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Totally confused on assigment using linked lists
    By Uchihanokonoha in forum C++ Programming
    Replies: 8
    Last Post: 01-05-2008, 03:49 PM
  2. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  3. Call a program & still capture cmds
    By Zuconta in forum C Programming
    Replies: 3
    Last Post: 07-23-2003, 03:54 PM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21