dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Firs t cpluspplus

  1. #1
    Join Date
    Jul 2019
    Posts
    1

    Firs t cpluspplus

    I could go apply with the cv to the shops and restaurant but obviously in the longer termn the internet adn computer c++ or javascript can bring much more money than working in the retail I publish series first of the c++ hoping that somebody can publish tham or making working code also I will plan to copy the jabascript applications which I did it but did not publish as they were not shaped.

    The usisng namespace declaration :

    Code:
    // Preprocessor directive 
    #include <iostream>
    
    // Start of your program
    int main()
    {
         // Tell the compiler what namespace to search in 
         using namespace std;
    
         /*Write to the screen using std;;cout*/
         cout << "Hello World" <<end1;
    
         // Return a value to the OS
        return o; 
    
     }
    Last edited by 2kaud; July 21st, 2019 at 03:24 AM. Reason: Added code tags

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,423

    Re: Firs t cpluspplus

    Hi!
    you have posted to the Forum: C++ (Non Visual C++ Issues)
    This Forum is supposed to
    Ask or answer C and C++ questions not related to Visual C++. This includes Console programming, Linux programming, or general ANSI C++.
    So what is your question related to C or C++?
    Victor Nijegorodov

  3. #3
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    6,764

    Re: Firs t cpluspplus

    Quote Originally Posted by VictorN View Post
    Hi!
    you have posted to the Forum: C++ (Non Visual C++ Issues)
    This Forum is supposed to

    So what is your question related to C or C++?
    I guess it's to do with undefined variable as the code in post #1 doesn't compile...
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++17 Compiler: Microsoft VS2019 (16.2.2)

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,033

    Re: Firs t cpluspplus

    In C++, the 'o' character is very different from the number '0' character.

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,423

    Re: Firs t cpluspplus

    Quote Originally Posted by Arjay View Post
    In C++, the 'o' character is very different from the number '0' character.
    LOL!
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)