Thread: I need some help with a file editor

  1. #1
    Emotionally Unstable DarkViper's Avatar
    Join Date
    Oct 2002
    Posts
    343

    I need some help with a file editor

    see when i first compiled it, it was all good and worked DarkType and now ehen i tried to compile v2 of DarkType, it compiled but for some reason it pops up an error saying it couldn't create the file.

    something is awry and i cant figure it out.

    please help me. someone.

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708

    Angry

    Hmm, so you give us a link to the download page for your exe?

    Get to the point. Can you specify exactly where/why/when the bug occured? Perhaps you should show us a snippet of the code that might be the culprit?
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  3. #3
    Emotionally Unstable DarkViper's Avatar
    Join Date
    Oct 2002
    Posts
    343
    ok. the exe i linked to is the v1 of DarkType. now for some reason when i use v2, i can open files and save them as other things and junk, but it keeps popping up an error when i press "New" under file and "new" as the icon. it works fine in v1. but in v2 it wont work. i might have screwed something up. and i dont know where!

    as for the code snippet, youll hafta wait till i get home, im on a comp at school right now.

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    In general, you will find people will not download and run unknown .exe's, there are simply too many trojans, viruses and other stuff out there.

    The source is what matters anyway.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  5. #5
    Emotionally Unstable DarkViper's Avatar
    Join Date
    Oct 2002
    Posts
    343
    ill get the source today at home.

    dont worry, i hate viruses and plan to make an anti-virus software.

    the exe is totally explained on the pages. just click the name and youll go to an about page.

    viruses (eck!)

    its a text editor that i slapped together with a bunch of other tutorials and stuff and magically worked! i edited a few things and called it DarkType v1. i made WE (webmaster edition) with all kinds of typed of WebSite coding including HTML, PHP, PERL, PHP, CSS, JSS and everything easy to save as!

    as for AE (Authors edition) saves as txt and doc and rtf

    coming soon is CE (coders edition, saves as cpp, c h, and everything if you dont have a compiler just yet).

    its a standalone program in which it carries with you if you have multiple computers and unsername and passwords like a schools computer.

    no external files needed.
    ~DJ DarkViper signing out
    ----------------------------------------
    My Site:
    Black Jaguar Studios

    Languages:
    Fluent English, Starter German, HTML, Javascript, Actionscript, Intermediate PHP

    Verteran Despiser of: ASP, Java, BASIC, Pascal, Cobalt

  6. #6
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Eh? How can we have any idea what could be wrong if you don't supply some code, but give us the link to the EXE????
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  7. #7
    Emotionally Unstable DarkViper's Avatar
    Join Date
    Oct 2002
    Posts
    343
    not again....

    ok ill explain this once more:

    the exe i linked to is Version 1 of DarkType and that works fine. but i was frigging around with the source when i found out that all of a sudden the "new file" function seemed to not work.
    ~DJ DarkViper signing out
    ----------------------------------------
    My Site:
    Black Jaguar Studios

    Languages:
    Fluent English, Starter German, HTML, Javascript, Actionscript, Intermediate PHP

    Verteran Despiser of: ASP, Java, BASIC, Pascal, Cobalt

  8. #8
    Registered User
    Join Date
    Aug 2002
    Posts
    170
    well post your source and we can maybe help. They are trying to tell you that you are not giving them what they need to help you. Rehashing your problem is not helping, only souce will help.
    Best Regards,

    Bonkey

  9. #9
    Emotionally Unstable DarkViper's Avatar
    Join Date
    Oct 2002
    Posts
    343
    today ill post the code, than maybe you can help (thank god)
    ~DJ DarkViper signing out
    ----------------------------------------
    My Site:
    Black Jaguar Studios

    Languages:
    Fluent English, Starter German, HTML, Javascript, Actionscript, Intermediate PHP

    Verteran Despiser of: ASP, Java, BASIC, Pascal, Cobalt

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  3. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  4. PFE (prorgammers file editor, for Windows)
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 06-09-2002, 11:01 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM