Search:

Type: Posts; User: scottmanc

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Matrices

    by scottmanc
    Replies
    0
    Views
    1,447

    Matrices

    ok here is my code for initialising a matrix to be solved.


    //All Header Files Used
    #include <iostream>
    #include <string>
    #include <cmath>


    //initialising matrix to the size of 100
  2. Replies
    1
    Views
    2,859

    oh and the method of solving the matrix used in...

    oh and the method of solving the matrix used in the program is by LU decomposition.
  3. Replies
    1
    Views
    2,859

    Initializing and Solving matrices

    here is my whole program. It will be used to solve bvp's (boundary Value Problems) using the finite difference method. The problem i have is initializing the matrix that needs to be solved and then...
  4. Replies
    1
    Views
    2,743

    LU decomposition

    Does anyone know how to program LU decomposition. I am currently having problems with my own code. If anyone knows how, i will post my code i have so far to see if you can help fix it.

    Thanks
  5. Thread: Password

    by scottmanc
    Replies
    15
    Views
    2,909

    you don't need to use command line arguments for...

    you don't need to use command line arguments for this case.
  6. Replies
    18
    Views
    3,958

    thanks for all the help you guys. The program...

    thanks for all the help you guys. The program now works flawlessly. I used mainly stringstreams to fix my problem but anyways all the loose ends are fixed and it's extremely user firendly.
    ...
  7. Replies
    18
    Views
    3,958

    here's an example: while(x) {...

    here's an example:


    while(x)
    {
    x = true;
    z = true;
    // Problem starts here
    string test;
    cout<<"Enter the Length of the beam (mm): ";
  8. Replies
    18
    Views
    3,958

    i decided it would be easier to use strings with...

    i decided it would be easier to use strings with stringstreams.

    Although now i have one problem. The isdigit call is not taking characters its taking integers! This is the first time i see this....
  9. Replies
    18
    Views
    3,958

    elad, for that to work i need to include the...

    elad, for that to work i need to include the header file climit?

    Correct?

    If so how do i determine the limit size?
  10. Replies
    18
    Views
    3,958

    oh almost forgot i have another small problem. ...

    oh almost forgot i have another small problem. Whenever i run through the program using a certain "path", when i chose the same path again (to enter different values) , the program just skips the...
  11. Replies
    18
    Views
    3,958

    well if you run the program you will see that...

    well if you run the program you will see that when you are supposed to enter an double, and you accidentally enter a character, the program will crash because i don't have a way of catching that. I...
  12. Replies
    18
    Views
    3,958

    i want to know how i can let the program know...

    i want to know how i can let the program know when the user inputs a character instead of the integer because it crashes if i don't avoid this.
  13. Replies
    18
    Views
    3,958

    posting code is bad i have over 1500 lines... i...

    posting code is bad i have over 1500 lines... i think ill just let somone dl it instead.

    the problem is when a user inputs a length or a width or any numerical value. I want this to be error...
  14. Replies
    18
    Views
    3,958

    any other suggestions?

    any other suggestions?
  15. Replies
    18
    Views
    3,958

    i know about the isdigit() and isalpha() but they...

    i know about the isdigit() and isalpha() but they take a character. I want to know if i can find out using the integer only.
  16. Replies
    18
    Views
    3,958

    Determining whether input is an integer.

    if i ask a user to input an integer, how would i go about stopping somone from entering a character because my program would crash?

    Thanks
  17. Replies
    2
    Views
    1,055

    but i can't get it to work. I keep getting an...

    but i can't get it to work. I keep getting an error because i don't have the wx/wx header file. I can't even find it!
  18. Replies
    2
    Views
    1,055

    GUI Programming

    Since i cannot get wxwindows to work, i thought i would try MFC since its built into the compiler. I have data taht ca easily be plotted on a graph using excel or even by hand. Does anyone know...
  19. Replies
    9
    Views
    3,026

    thanks for the help i got it working now

    thanks for the help i got it working now
  20. Replies
    9
    Views
    3,026

    i'll try the ignore call but why is it like this?...

    i'll try the ignore call but why is it like this? Isn't the compiler supposed to do this on its own?
  21. Replies
    9
    Views
    3,026

    #include #include #include...

    #include <iostream>
    #include <string>
    #include <cmath>

    #define PI 3.141592654

    using namespace std;

    class Column
    {
  22. Replies
    9
    Views
    3,026

    well here is the core problem at the moment ...

    well here is the core problem at the moment



    string answer, reply, result;
    cout<<"Does the Beam Have a Circular x-section or a Rectangular x-section ?"<<endl;
    cout<<"\t...
  23. Replies
    9
    Views
    3,026

    getline problem

    ok, this program has no errors and runs fine. My problem is that the second cal of getline doesn't seem to work. Does anyone know why it looks fine to me. Thanks for your time.



    #include...
  24. Replies
    2
    Views
    1,372

    everything is messed up its too hard to follow. ...

    everything is messed up its too hard to follow. It 's really annoying
  25. Replies
    2
    Views
    1,372

    Does anyone use wxwindows as a GUI

    If you do can you please aid me in setting it up because i can't get it hooked up to visual c++.
Results 1 to 25 of 60
Page 1 of 3 1 2 3