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

Thread: a = b; Help?

Threaded View

  1. #1
    Join Date
    Mar 2009
    Posts
    5

    a = b; Help?

    Ok im a bit stuck with Operators. I have this code, but dont know what some parts mean.

    Code:
    #include <iostream>
    using namespace std;
    
    int main ()
    {
         int a, b=3, c=1, d=5;
      
         a = b;                     << What do these parts mean?
         c = d;                      << ???
      
         c+=1;
         d+=2;            
         cout << d;
      
        cin.get();
      
        return 0;
    }

    Thank you!
    Last edited by ovidiucucu; April 21st, 2009 at 01:49 PM. Reason: [CODE] tags added

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured