Search:

Type: Posts; User: solidusMGS

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    475

    What's 'read'? Is that like a definition c++...

    What's 'read'? Is that like a definition c++ uses?
  2. Replies
    11
    Views
    475

    You poppin' cough medicine or something? I fixed...

    You poppin' cough medicine or something? I fixed line 3, still wasn't it yo!
  3. Replies
    11
    Views
    475

    Ya 'n now it say it due to sin not being defined.

    Ya 'n now it say it due to sin not being defined.
  4. Replies
    11
    Views
    475

    T'was not a semicolon me lord!

    T'was not a semicolon me lord!
  5. Replies
    11
    Views
    475

    Can't read int

    #include <iostream>#include <cmath>
    using namespace std;
    const double g=9.8


    int main()
    {


    cout<<"Enter two Numbers"<<endl;
  6. Is codeblocks not reading the while statement or am I not doing it...

    ...the right way?


    #include <iostream>using namespace std;
    int main()
    {
    int sum = 0, value = 0;
    while (cin>> value)
    sum += value;
    cout << "Sum is:"<< sum<<endl;
  7. Is it 13?

    Is it 13?
  8. None. They enter a value for v and then the...

    None. They enter a value for v and then the equation does the rest.
  9. Attempted to do assignment, can't figure out where it is wrong.

    So this is my terrible code. I thought it appeared decent, but it won't times a number and then it won't divide that number.



    #include<iostream>
    #include<cmath>
    using namespace std;
    const...
  10. Laserlight, you are too kind for this world. I...

    Laserlight, you are too kind for this world. I figured it out. And now I can run files on cygwin using g++. Pretty neat.
  11. I am talking about a file saved on the computer.

    I am talking about a file saved on the computer.
  12. How to use cygwin to run code from codeblocks?

    Does anyone know how to do this? I tried saving the file on my desktop then I entered it into cygwin. And it said it didn't recognize the file?
  13. Replies
    3
    Views
    196

    Yes, you were right. But why is the book I am...

    Yes, you were right. But why is the book I am using have that code that I wrote? It changes frequently. Out of curiosity is all code written in c++ suppose to #include and the like?
  14. Replies
    3
    Views
    196

    Not working code

    intmain()
    {
    cout<<"please enter your first_name and age\n";
    string first_name;
    int age;
    cin>> first_name;
    cin>> age;
    cout<< "Hello," << first_name << "(age " << age << ")\n";
  15. Replies
    1
    Views
    201

    Question about compilers?

    Is notepad c++ the same as codeblocks c++?
  16. Got a question for you. Deos that mean you only...

    Got a question for you. Deos that mean you only need to enter namespace std; once?
  17. trying to write a code where I can enter a name and then it says hi, your_name?

    Here is the code and codeblocks is saying cout was not declared in this scope. What does that mean?


    #include <iostream>int
    main()
    {
  18. Replies
    28
    Views
    674

    Thanks. Uh, how do you use pow? Can it be...

    Thanks.

    Uh, how do you use pow? Can it be written as sumoftwonumbers= pow(4.0,3.0)?
  19. Replies
    28
    Views
    674

    Code for "Hello world" #include...

    Code for "Hello world"


    #include <iostream>using namespace std;
    int main()
    {
    cout << "Hi Taco!";
    return 0;
    }
  20. Replies
    28
    Views
    674

    Hey, I can solve it when I right it down. I...

    Hey, I can solve it when I right it down. I can't write it in code that is what is causing me the problem.

    EDIT: Obviously, I misspelled "write".
  21. Replies
    28
    Views
    674

    From the way he explained it it appears to be a...

    From the way he explained it it appears to be a unix machine.
  22. Replies
    28
    Views
    674

    Ok. What is also making me freak out is that how...

    Ok. What is also making me freak out is that how do I enter my saved C++ files and put them on ares? That is just boggling my mind!
  23. Replies
    28
    Views
    674

    I was able to do that. But I used int instead of...

    I was able to do that. But I used int instead of double. Is double and int the same thing?
  24. Replies
    28
    Views
    674

    I mean I do understand basic math. Just right...

    I mean I do understand basic math. Just right now, am very confused about C++ and it is spilling all over. Chaos.
  25. Replies
    28
    Views
    674

    How do I write that in C++? Like this?: ...

    How do I write that in C++? Like this?:



    #include<iostream>
    #include<cmath>

    constant double g=9.8;

    int main()
Results 1 to 25 of 46
Page 1 of 2 1 2