Search:

Type: Posts; User: Finchie_88

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,568

    Perhaps I am missing something really trivial,...

    Perhaps I am missing something really trivial, and if that is the case, feel free to point it out to me, but in the code you have posted you say:

    "implementing this part is frustrating me
    ...
  2. Replies
    6
    Views
    1,568

    What is the following line of code missing? ...

    What is the following line of code missing?


    #include "Linklist.h
  3. Replies
    16
    Views
    6,765

    Isn't the problem with your original add function...

    Isn't the problem with your original add function that you are attempting to access private class members from outside the class (in this case, from another instance of the same class definition).
    ...
  4. Last night, I got my code to run smoothly without...

    Last night, I got my code to run smoothly without any errors and the SaveANN() method worked as it should. I realised that the error I made wasn't even in 'SaveANN()', it was in another method I...
  5. Ok, after playing around with the code a bit, I...

    Ok, after playing around with the code a bit, I think I've found one of the causes of the runtime error and as such, I no longer get runtime errors. That being said, that doesn't explain why the...
  6. The other versions of the save 'SaveANN' methods...

    The other versions of the save 'SaveANN' methods is just to provide alternative ways of calling the same function because it will be useful for later expansions I have in mind for this source code....
  7. I tried removing the spaces in the filename but...

    I tried removing the spaces in the filename but that didn't do anything.

    If I try replacing the filename argument in the io_file.open() method call with a constant string, e.g.


    io_file.open(...
  8. fstream open method causing me a few headaches

    Hello Everyone, I haven't posted here in a while.

    The problem I am having seems a simple one and I must be missing something quite basic but I just can't work out what. Below is some snippets of...
  9. how would you go about doing this in C rather...

    how would you go about doing this in C rather than using C++?
  10. How would one go about using the get function to...

    How would one go about using the get function to do it? I assume that it needs to be called 26 times because there are 26 letters in the alphabet (english one anyway), so presumably, the function...
  11. How would I get a certain character from a file, given the character number?

    I was wondering, how exactly do you go to a certain character number in a file? so suppose I was to open a file, and then wanted to obtain character number 26 from that file, how would I do it?
  12. How do you store very large numbers in standard form?

    I have tried using doubles and floats, but with no success. What data type would you use if you wanted to store a large number in standard form? The number I want to store is 2m/(hbar^2) which is...
  13. I've defined dx as a double, and yet it still...

    I've defined dx as a double, and yet it still does it.
  14. wow. You guys are quick to get back, lol. Cheers...

    wow. You guys are quick to get back, lol. Cheers guys. 1 more quick question (saves me from starting a new thread, lol). I calculate doubles k1,k2,k3 and k4 in my code, and i i want to calculate the...
  15. For some reason, this makes an infinite loop, but I can't see why

    For some reason, the following code generates an infinite loop, but I can't see why. Also, the output to the screen for values of x gives -1 for all values, which isn't right.



    #define a ...
  16. Replies
    2
    Views
    1,902

    Share Price monitor program

    Hi there. I haven't been hear in a while. I was hoping that someone maybe able to help me. I wanted to write a program which was able to get certain share prices off yahoo finance, and then save...
  17. lol, that wasn't the initial use of it, but good...

    lol, that wasn't the initial use of it, but good idea though...*Finchie_88 plots* (just kidding :P)
    As for the info. Thank you for giving me initial information. If I have more difficulties I will...
  18. Replies
    9
    Views
    2,035

    you need to include the cstdlib in the project,...

    you need to include the cstdlib in the project, so at the top of the code (just under the previous include), put:


    #include <cstdlib>

    I think that should solve the problem.
  19. lol, actually, I have no intention of using this...

    lol, actually, I have no intention of using this program to annoy people by sending them regular nudges, I was merely using that as an example to try and get my point across. What I Really want to do...
  20. Replies
    9
    Views
    2,035

    I think that the problem maybe that you need to...

    I think that the problem maybe that you need to include cstdlib when you compile, but I'm not 100% on that.
  21. How do you make a program to interface with another?

    In C++ (the programming language I am most familiar with), how easy or hard would it be to make a program which interacted with another program. Say for example, how easy would it be to write a...
  22. How exactly does the random number generator work?

    I was wondering. How exactly are random numbers generated, and by that I don't mean the method of seeding the random number generator etc, I mean "under the hood" as it were (I dislike that phrase...
  23. I couldn't get much information about the sound...

    I couldn't get much information about the sound card, the only information I could get was that it is a Realtek High Definition Audio card. But when I tried installing it with yast, it said "The...
  24. I installed OpenSuse to a partitioned hard drive, but I am having some sound problems

    I installed OpenSuse on my computer (having Windows on a separate partition), and it works fine, except that there is now no sound when I run linux, and I don't know how to configure it so that the...
  25. Replies
    6
    Views
    10,085

    Thank you for the replies. If I have anymore...

    Thank you for the replies. If I have anymore problems, I will post again. I was using the 2D array idea to start with (and I have a couple of classes to store the coords of the pieces). Thanks again,...
Results 1 to 25 of 160
Page 1 of 7 1 2 3 4