c++ help code

Discussion in 'General Off-Topic Chat' started by abdellbobo, Dec 21, 2016.

Thread Status:
Not open for further replies.
  1. abdellbobo
    OP

    abdellbobo GBAtemp Advanced Fan

    Member
    503
    144
    Dec 28, 2015
    France
    delete it
     
    Last edited by abdellbobo, Dec 21, 2016
  2. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    Well if it is C++ because it doesn't look like so then your whole code is wrong
    try to learn it before writing
     
    abdellbobo likes this.
  3. GerbilSoft

    GerbilSoft GBAtemp Addict

    Member
    2,081
    2,304
    Mar 8, 2012
    United States
    Are you seriously trying to compile FORTRAN code with Visual Studio?
     
  4. abdellbobo
    OP

    abdellbobo GBAtemp Advanced Fan

    Member
    503
    144
    Dec 28, 2015
    France
    yes
     
  5. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    If you are asking why here are few example: you don't fenish your lignes with the ";" symbol which is a syntax error
    you didn't included the libraries
    you use print instead of printf which even is a bad form on c++
     
  6. Omegadrien

    Omegadrien GBAtemp Advanced Maniac

    Member
    1,713
    530
    Nov 4, 2015
    France
    Pokéland
    XD
    It's not in C++, man!
    edit: i suppose it's normal since you try to convert it to miscroft dev blablabla, but why?
     
    Last edited by Omegadrien, Dec 21, 2016
    Alkéryn likes this.
  7. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    Whatever learn c++ before writing some gibberish and calling it c++
    it have nothing to do with FORTRAN
     
  8. GerbilSoft

    GerbilSoft GBAtemp Addict

    Member
    2,081
    2,304
    Mar 8, 2012
    United States
    Then why exactly did you use C++ in the thread title?

    Microsoft has never included a Fortran compiler with Visual Studio as far as I know. There may be third-party Fortran compilers available that work with Visual Studio; alternatively, gcc/mingw has the GNU Fortran compiler.
     
    abdellbobo likes this.
  9. abdellbobo
    OP

    abdellbobo GBAtemp Advanced Fan

    Member
    503
    144
    Dec 28, 2015
    France
    thank you for your precious time I am very sorry to waste it I'm just a man who wants to learn hopefully I can be better in the future thanks to GBAtemp community
     
    Alkéryn likes this.
  10. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,521
    1,909
    Mar 15, 2015
    France
    Albategnius, Moon
    If you want to learn C++ and have already programming knowledge i recommand you "accelerated C++" if you want to know like everything about the language and the standard library then go for "C++ Primer" the thing is the first one is 300 pages and the later one is 1400 pages so choose wisely

    — Posts automatically merged - Please don't double post! —

    Just keep in mind that in my point of view and many other those are the two best books to learn c++

    — Posts automatically merged - Please don't double post! —

    Plus if you want a good IDE i recomand you code::block which is one of the simplest and most intuitive still very professional ^^
     
    Last edited by Alkéryn, Dec 21, 2016
    abdellbobo likes this.
Thread Status:
Not open for further replies.