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

Search:

Type: Posts; User: H aun

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    525

    Re: Why does this loop turn out negatives?

    for the gmp library, how would i install that into Dev C++, windows Vista?
  2. Replies
    6
    Views
    525

    Re: Why does this loop turn out negatives?

    so is that what caused it to be negative
  3. Replies
    6
    Views
    525

    Why does this loop turn out negatives?

    Ok so i am using a loop to make a large array of additions.

    the loop takes all of the values before it and adds them together, then saves them into the array.

    (in this case the short had would...
  4. Replies
    12
    Views
    2,664

    Re: Why does this matrix escape me?

    :D:D:D:D

    I FINALLY FIGURED IT OUT!!!!!!!!!!!!!
    Funny things happen at 11, like good ideas :cool:



    #include <cstdlib>
    #include <iostream>
    #include <cmath>
  5. Replies
    12
    Views
    2,664

    Re: Why does this matrix escape me?

    could you possibly post an output?

    My compiler doesn't like your code :blush:
  6. Replies
    12
    Views
    2,664

    Re: Why does this matrix escape me?

    this also sparked an interest:
    http://www.bleepingcomputer.com/forums/topic185872.html

    and if you are really curious here is an old forum about the same project (started by me)...
  7. Replies
    12
    Views
    2,664

    Re: Why does this matrix escape me?

    its not homework related at all. My highschool doesnt have a computer programming course. This is more of me watching Pi and reading some other stuff.

    In short im a bad programmer with a liking...
  8. Replies
    12
    Views
    2,664

    Re: Why does this matrix escape me?

    Any one?
  9. Replies
    12
    Views
    2,664

    Re: Why does this matrix escape me?

    Ok i removed the -1 (now its: pre = matrix[row][state_col] + pre;)
    but the reason i put that there was it seemed to be the only way for it to work :
    |1|1|2|4|8|
    |1|3|8|20|48|
    |3|10|31|88|...
  10. Replies
    12
    Views
    2,664

    Why does this matrix escape me?

    Ok. I have been working on a math program for quite a while now, with limited success.

    You may have seen my other project before, which involved a triangular Matrix. But that has changed.

    This...
  11. Replies
    4
    Views
    1,620

    Re: Matricies, internal math and variable size

    ever better animation, if this helps at all...
    http://www.bertolacciprod.com/Rule_animated_4_lines.gif
  12. Replies
    21
    Views
    1,229

    Re: Complies but doesn't run

    I dipped into Visual studios, always kicked my butt. might dip back in there
  13. Replies
    21
    Views
    1,229

    Re: Complies but doesn't run

    well with out the system("pauses") you need to go into command prompt, then navigate to the executibal and run it.

    You put the pauses in places (well at least for me) when something is read out...
  14. Replies
    21
    Views
    1,229

    Re: Complies but doesn't run

    no, it works in the program
  15. Replies
    2
    Views
    547

    Re: Why can't my compiler find a file?

    did you include the files in the actual headder? also the including a dir is a good idea.
  16. Replies
    21
    Views
    1,229

    Re: Complies but doesn't run

    any way i think its a good idea for a new programmer to get into the habit of commenting their code. but thats me.

    So! Rayman any other problems?

    Another thing you might want to do is use...
  17. Replies
    21
    Views
    1,229

    Re: Complies but doesn't run

    Thanks for settin down the law man. good job, wip those programmers into shape. No useless commenting! it clogs up your code
  18. Replies
    21
    Views
    1,229

    Re: Complies but doesn't run

    Most of them are (haha) but thats ok. I like to know every thing on the spot with good description. Mainly i do it so that people know what the heck they are looking at when i need help, or for when...
  19. Replies
    21
    Views
    1,229

    Re: Complies but doesn't run

    :o i think its a good idea to comment a fair ammont, i comment on every line most of the time. But if you do thats ok....
  20. Replies
    21
    Views
    1,229

    Re: Complies but doesn't run

    #include <iostream>
    #include <string>
    #include <sstream>

    using namespace std;

    bool StringToInt(const string &s, int &i)
    {
    istringstream myStream(s);
    if (myStream>>i)
  21. Replies
    21
    Views
    1,229

    Re: Complies but doesn't run

    haha i know how you feel

    what you need to do is figure out a way to make digit and number equal, right now nothing is being entered,

    I tried


    string digit;
    int number;
    cin >> digit >>...
  22. Replies
    4
    Views
    1,620

    Re: Matricies, internal math and variable size

    oh right haha, thats the thing, if the matrix data is trianglar and starts at the top middle. what size is it?

    Im thinking that i could do like matrix width/2 to get middle, the 0 for top.
  23. Replies
    4
    Views
    1,620

    Re: Matricies, internal math and variable size

    Here is a better example, just 2 lines, animated
    http://www.bertolacciprod.com/Rule_animated.gif

    If you want to see more lines, just ask
  24. Replies
    4
    Views
    1,620

    Matricies, internal math and variable size

    Hello! Obviously im new here, but my project is not.

    I have been working on a "universal machine" and now i am in the final stages of its coding.

    A universal machine requires a rule, and for...
Results 1 to 24 of 25


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center