Search:

Type: Posts; User: Ripper1

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    3,031

    Linux editors and compilers

    Hi, I was wondering what a good compiler and editor for Linux would be to code in? I have just finally installed Linux and I would like to start programing in Linux instead of Windows. I assume for...
  2. Replies
    3
    Views
    2,184

    Storing values in arrays

    Hi, I was wondering if it is possible to store strings in a different array element. for example variable[1] = some_string. If that is possible, I was wondering if you can store any variable in an...
  3. Thread: String woes

    by Ripper1
    Replies
    11
    Views
    1,257

    Thanks for the extra help, but I finished it last...

    Thanks for the extra help, but I finished it last night, I still appreciate it though!
  4. Thread: String woes

    by Ripper1
    Replies
    11
    Views
    1,257

    thank you, I need to read up more before I...

    thank you, I need to read up more before I attempt harder problems on this string of contests, I generally know a lot about core language C++ coding but I lack a lot of little things such as that. ...
  5. Thread: String woes

    by Ripper1
    Replies
    11
    Views
    1,257

    Ok, I feel bad because I am trying to get better...

    Ok, I feel bad because I am trying to get better at contest programs and this was crashing windows but here goes, certain members might recognize it.


    #include <iostream>
    #include <string>...
  6. Thread: String woes

    by Ripper1
    Replies
    11
    Views
    1,257

    I've had code similar to that all night and all...

    I've had code similar to that all night and all that happens when I run it is that Windows crashes. I just copied yours to make sure, Windows crashed as well. I have no idea why, that's why I...
  7. Thread: String woes

    by Ripper1
    Replies
    11
    Views
    1,257

    yea if str[0] == 0 str[0] = 1 something like...

    yea
    if str[0] == 0
    str[0] = 1
    something like that, sorry for all the pseudocode.
  8. Thread: String woes

    by Ripper1
    Replies
    11
    Views
    1,257

    String woes

    Hi, I am working on a program that deals with strings. Basically, I want to check the integer value of each string and if the char's value is null, I want to make it one. Checking the value of the...
  9. Thread: Blast

    by Ripper1
    Replies
    14
    Views
    2,936

    how can I check if I have it?

    how can I check if I have it?
  10. Replies
    4
    Views
    1,669

    Oh dumb me for forgetting to realize rand returns...

    Oh dumb me for forgetting to realize rand returns an int. Thanks Salem.
  11. Replies
    4
    Views
    1,669

    Making some random numbers..

    Hi, I'm trying to generate the same random numbers(i.e. no srand() function needed) but I can't seem to figure out how to get it to work for the range I am in. I want it to be in the range of .5 to...
  12. Replies
    6
    Views
    1,061

    I would be using getline() but I have to do...

    I would be using getline() but I have to do numerical calculations with the numbers...sorry if I didn't say that.
  13. Replies
    6
    Views
    1,061

    File Input Question

    Hi, I have a text file that looks like this:
    <file>
    POV Scene Description File
    Starting value of t:
    0
    Ending value of t:
    6.28
    Number of balls:
    200
    </file>
  14. Replies
    17
    Views
    2,681

    I was told by a certain poster here that "Salem...

    I was told by a certain poster here that "Salem would come. Salem would fix your problem". Thank you man, I really appreciate it. I'm going to study this in depth tommorow to really understand what...
  15. Replies
    17
    Views
    2,681

    Ok, I pretty much give up, I hope to hear from...

    Ok, I pretty much give up, I hope to hear from any of you that might be able to help, here is some more fun output..
    I edited the while loop again so it gives me even more results, what I have isn't...
  16. Replies
    17
    Views
    2,681

    well fabs is like abs but for floating point...

    well fabs is like abs but for floating point numbers, it sort of helps, but I need to sort more things out with this loop and the conditional statement..
  17. Replies
    17
    Views
    2,681

    Think I solved it with a fabs instead of abs.....

    Think I solved it with a fabs instead of abs..
    Edit: No I didnt, heh
  18. Replies
    17
    Views
    2,681

    well, after a test, I found something...

    well, after a test, I found something interesting, you have all been saying it.
    i modified the code in my while loop so it looks like this


    double sine(double x, double precise)
    {
    double term...
  19. Replies
    17
    Views
    2,681

    i swear, NOONE has a solution! THE INSTRUCTOR...

    i swear, NOONE has a solution! THE INSTRUCTOR DIDN'T HAVE A SOLUTION! I asked one of the 30 best math students in the country who is also a great programmer, he had no idea! Oh well, I will keep...
  20. Replies
    17
    Views
    2,681

    Here we go, as you will see in the assignment, I...

    Here we go, as you will see in the assignment, I really need the functions to stay the data types they are and I need the logic condition too.. here are the links..
    Front of Assignment Page
    Back...
  21. Replies
    17
    Views
    2,681

    I can scan the document that has the assignment...

    I can scan the document that has the assignment and put it up on my webspace so you can check it out. While you are doing that, I will mess with the program..(Btw, other kids have gotten this to...
  22. Replies
    17
    Views
    2,681

    i don't know, the teacher told us to do it that...

    i don't know, the teacher told us to do it that way, you'd think a c++ instructor knows what he wants us to do to get it to work? thanks for the suggestion? any more..?
  23. Replies
    17
    Views
    2,681

    yes, that is a problem, ignore the degrees thing,...

    yes, that is a problem, ignore the degrees thing, and just focus on the actual while loop, WHY DOESNT IT WORK!?!
  24. Replies
    17
    Views
    2,681

    While Loop Problem

    Ok, so I am doing an assignment for my C++ class at a local community college. The assignment is that I have to program the series "sine(x) = (x^1/1!) - (x^3/3!) + (x^5/5!) - (x^7/7!)....". I have...
  25. Thread: C# or C++

    by Ripper1
    Replies
    16
    Views
    4,055

    i don't really think gates is some ignorant...

    i don't really think gates is some ignorant fool...many people play him out to be though, i don't know what he does at microsoft but it's sorta dumb to assume that he a)is always out to screw us all...
Results 1 to 25 of 52
Page 1 of 3 1 2 3