CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Frederick Lenz

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    7,696

    Re: Pythagorean Theorum Code Help

    ok...i fixed that part
    but it says that 'c' is unintialized
    and i did initialize it

    Code:
    #include <iostream>
    #include <string>
    using namespace std;

    int main ()
  2. Replies
    3
    Views
    7,696

    Pythagorean Theorum Code Help

    I made this code to find pythagorean theorums...
    But it won't work right..
    any help?

    Code:
    #include <iostream>
    #include <string>
    using namespace std;

    int main ()
  3. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    yes, i know you can do it like that...

    i meant like this

    if a = 2
    a =b
    b = c
    c = d
    d = e
    then e =
  4. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    i'm getting off now but that second link is awesome...i wanted to learn about makingwindows...ty for all the help..ill probably end up talking to one of u guys again...bye
  5. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    ty . i'll get right on it
  6. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    i know...i was kidding about the whole 'overcoming' thing...my friend has a giant book on c++ im gonna use. i'd say by the end of this year i'll have a good bit of knowlege in my head...don't...
  7. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    thank you guys...you have been a great help..with the code and encouragement
  8. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    hahaha...ok
    i dont KNOW
    but i understand that they can't all equal themselves and stuff
    but one day i will overcome you
    and i will be all
    *boom chicka boom chicka boom*
    and you will be all...
  9. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    thats fine...i understand
  10. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    i understand now... you cant set a variable like 'a' to equal 'b' and 'b' to equal 'c'...i wanted to make a chain ~ where they all equaled 2...but i guess u can't
  11. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    the first error went away but now it says my variables are unitialized and that e = 0 when it e should =2
  12. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    // assignment operator

    #include <iostream>
    using namespace std;

    int main ()
    {
    int a,b,c,d,e;
    a=2;
    a = b;
  13. Replies
    29
    Views
    30,203

    Re: C++ Error...IDK what is wrong!

    it still says

    1>.\demo.cpp(9) : error C2106: '=' : left operand must be l-value
  14. Replies
    29
    Views
    30,203

    C++ Error...IDK what is wrong!

    I am a beginner at C++...
    I made this but I don't knowwhat it means
    when the error says " error C2106: '=' : left operand must be l-value "
    can someone help me???

    ~this is the code~

    //...
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured