Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!





i am relatively new to c++, and i am using version 5.02, with windows 95 as the OS. currently i am on strings and have encountered a few problems

the #include preprocessor does not work, and therefore the atoi, atol, and atof functions do not work.

also with c++ strings, some of the commands are not recognised by the compiler that i am using., string.erase and getline(cin,string1,'
') are all commands that are causing problems with my compiler.

any help would be greatly appreciated.




  • bikibiki Member Posts: 492
    "version 5.02" of which compiler ?
    #include ? try #include


  • abcabc Member Posts: 443
    : "version 5.02" of which compiler ?
    that would probably be borland
    : #include ? try #include

    cstdlib should be available - the c++ header corresponding to stdlib.h ... if it's not, then fall back to the c version (often enough it's just an "#include <***.h>" for the c*** header).

    for the rest of it ... you should probably post the error messages (maybe some code, too?)
  • Justin BibJustin Bib USAMember Posts: 0

    _____ | | free ebooks and video tutorials about || R Visual Basic MATLAB C++ C C# PHP Delphi Scratch Go PL/SQL Visual Basic .NET Objective-C Ruby Swift JavaScript Assembly Python Perl Java Crystal F# FoxPro Lisp ML Erlang Awk Lua Hack Fortran SAS Dart Scheme Ada Clojure LabVIEW COBOL Transact-SQL Julia Rust Scala Alice VBScript Apex Prolog ABAP D Logo Kotlin Bash || ______________

Sign In or Register to comment.