Search:

Type: Posts; User: Bobit

Search: Search took 0.01 seconds; generated 1 minute(s) ago.

  1. Thread: Compile error

    by Bobit
    Replies
    4
    Views
    1,281

    omg thank you i knew it would be something stupid

    omg thank you i knew it would be something stupid
  2. Thread: Compile error

    by Bobit
    Replies
    4
    Views
    1,281

    Compile error

    When i compile my program is should compile but instead it comes up with a bunch of errors. I am using Dev-C++ 4.
    here is my code:


    #include <ctime>
    #include <time.h>
    #include <iostream>...
  3. Thread: random strings?

    by Bobit
    Replies
    3
    Views
    1,289

    random strings?

    I cant figure out how to get a random string from an array, can someone please help me. I put my code below.

    thanx



    #include <ctime>
    #include <cstdlib>
    #include <iostream>
    #include...
  4. Replies
    2
    Views
    983

    troubles with random

    When i compile my program and then run it it picks the same number and letter for all of the randoms. If you know how i can generate different randoms will you please tell me.

    Thanx,


    ...
  5. the program generates a random number when its suposed to be a random letter

    The program compiles and executes fine but it generates a random number between 1-20 when i want it to generate a letter between c,d,h,and s.
    thanx




    #include <iostream>
    #include <stdlib.h>...
  6. Replies
    1
    Views
    1,036

    How do you use the debugger in dev-C++ 4

    i tried to read what it said to do but that was too confusing for me, can anyone make it any simpler


    thanx
  7. I am new at C++ and my program is erroring part way through it

    my program compiles and executes fine but when i try to run it, it goes through a little bit then errors. here is my code
    thanx




    #include <iostream>
    #include <stdlib.h>
    using namespace...
  8. I figured out what the problem is and im an idiot...

    I figured out what the problem is and im an idiot for not finding it before. I forgot to put the & symbol with some of the scanf lines.

    scanf(" %f", &scoreone);
  9. Help, at the end of my program instead of calculating data it repeats the program

    When i run my program it runs fine untill the end when its suppose to calculate all the data instead it starts the program all over again. My code is below i also tried fflush(stdout);...
  10. I tried to do several things but sill when i run...

    I tried to do several things but sill when i run the program it prints score 1: What did you shoot. Then i type in the score and press enter and it skips the second question its suppose to ask and...
  11. I'm stuck and I dont know how to go any farther

    I just stated programming a week ago and am having some problems with this program i am making. I wrote it and then compiled it and executed it and that all worked, but then when i tried to run it...
Results 1 to 11 of 11