Activity Stream
48,167 MEMBERS
6986 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 9 of 9
  1.     
    #1
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com

    Default [C++] someone to compile this code asap

    hey guys, i don't know a shit about c++ and i need to compile this code, it's very urgent for me, i just need a 32bit executable. I tried to compile it, but i got hundreds of errors

    http://pastebin.com/J2KZfgpU

    note: comments and var names are in french.

    thanks in advance
    jokerhacker Reviewed by jokerhacker on . [C++] someone to compile this code asap hey guys, i don't know a shit about c++ and i need to compile this code, it's very urgent for me, i just need a 32bit executable. I tried to compile it, but i got hundreds of errors :blink: http://pastebin.com/J2KZfgpU note: comments and var names are in french. thanks in advance Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    snip.so xc.io lolblog.net forumvibe.com
    just had a look over the code. its an RSA encryption implementation?

    do you have mipr.h?


  4.     
    #3
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com
    yes, it's about rsa,
    check http://mpir.org (i really can't do anything here )

  5.     
    #4
    Member
    Website's:
    PasteBot.appspot.com
    Could you post the error log please.

  6.     
    #5
    Member
    Website's:
    snip.so xc.io lolblog.net forumvibe.com
    sorry its packed with bugs. i dont want to spend all my time debugging

  7.     
    #6
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com
    it says that some header files are missing, but many of then, and everytime i get the new header, it requires another one

  8.     
    #7
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com
    Quote Originally Posted by jay View Post
    sorry its packed with bugs. i dont want to spend all my time debugging
    jay, i'll buzz you once corrected the code, thanks for the help

  9.     
    #8
    Member
    Why are you using Precompiled header ? any good reason ?
    Also the code has some bugs..
    with all the needed header files, here's the log

    Code: 
    jokerhacker.cpp:34: error: ?Transcoder? declared as function returning an array
    jokerhacker.cpp:15: error: new types may not be defined in a return type
    jokerhacker.cpp:15: note: (perhaps a semicolon is missing after the definition of ?Class_one?)
    jokerhacker.cpp:39: error: return type specification for constructor invalid
    jokerhacker.cpp: In member function ?void Class_one::test_primalite(__mpz_struct*, __mpz_struct*)?:
    jokerhacker.cpp:140: error: expected primary-expression before ?p?
    jokerhacker.cpp:140: error: expected primary-expression before ?var?
    jokerhacker.cpp:140: error: expected primary-expression before ?e?
    jokerhacker.cpp:140: error: expected primary-expression before ?n?
    jokerhacker.cpp: In member function ?void Class_one::nextprime(__mpz_struct*, const __mpz_struct*)?:
    jokerhacker.cpp:196: error: invalid use of qualified-name ?Class_one::test_primalite?
    jokerhacker.cpp:200: error: invalid use of qualified-name ?Class_one::test_primalite?
    jokerhacker.cpp: In member function ?void Class_one::Genere_publicKey(__mpz_struct*, __mpz_struct*, __mpz_struct*, __gmp_randstate_struct*)?:
    jokerhacker.cpp:234: error: invalid use of qualified-name ?Class_one::PGCD?
    jokerhacker.cpp:241: error: invalid use of qualified-name ?Class_one::PGCD?
    jokerhacker.cpp: In member function ?void Class_one::Genere_nbPremier(__mpz_struct*, __mpz_struct*, int, __gmp_randstate_struct*)?:
    jokerhacker.cpp:326: error: invalid use of qualified-name ?Class_one::nextprime?
    jokerhacker.cpp:335: error: invalid use of qualified-name ?Class_one::nextprime?
    jokerhacker.cpp: In member function ?void Class_one::chiffre_Msg(__mpz_struct*, __mpz_struct*, __mpz_struct*, __mpz_struct*)?:
    jokerhacker.cpp:355: error: invalid use of qualified-name ?Class_one::puissance?
    jokerhacker.cpp: In member function ?void Class_one::dechiffre_Msg(__mpz_struct*, __mpz_struct*, __mpz_struct*, __mpz_struct*)?:
    jokerhacker.cpp:375: error: invalid use of qualified-name ?Class_one::puissance?
    jokerhacker.cpp: At global scope:
    jokerhacker.cpp:402: error: ?Transcoder? declared as function returning an array
    jokerhacker.cpp: In member function ?std::string Class_one::DeTranscoder(__mpz_struct*)?:
    jokerhacker.cpp:450: error: request for member ?size? in ?aux?, which is of non-class type ?__mpz_struct [1]?
    jokerhacker.cpp:452: error: incompatible types in assignment of ?void? to ?__mpz_struct [1]?
    jokerhacker.cpp:453: error: cast from ?__mpz_struct*? to ?char? loses precision
    jokerhacker.cpp: At global scope:
    jokerhacker.cpp:461: error: new types may not be defined in a return type
    jokerhacker.cpp:461: note: (perhaps a semicolon is missing after the definition of ?Cryptage?)
    jokerhacker.cpp:467: error: two or more data types in declaration of ?crypter_RSA?
    jokerhacker.cpp: In function ?int main()?:
    jokerhacker.cpp:630: error: invalid use of qualified-name ?Cryptage::crypter_RSA?
    Coding Horror Fan
    I don't read PM's frequently .

  10.     
    #9
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com
    desiboy, i'm not the one who wrote this, but if you can help me fixing these errors, i'd pay you for that.
    thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ProFTPd compile error
    By feronso in forum Server Management
    Replies: 10
    Last Post: 31st May 2012, 03:03 PM
  2. A script for Basic apache and php compile might be useful
    By Novaroot in forum Tutorials and Guides
    Replies: 0
    Last Post: 3rd Mar 2012, 04:15 AM
  3. How to: Compile FFMPEG, FlvTool2 ... etc on Ubuntu and Debian
    By Medow7 in forum Technical and Security Tutorials
    Replies: 0
    Last Post: 9th Dec 2011, 03:41 PM
  4. Replies: 1
    Last Post: 27th Aug 2011, 01:45 PM
  5. How do I compile Suhosin using VC6 (and php 5.2.14 source)?
    By NewEraCracker in forum Technical Help Desk Support
    Replies: 2
    Last Post: 21st Feb 2011, 11:47 PM

Tags for this Thread

BE SOCIAL