Search:

Type: Posts; User: Cloud_909

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    7,964

    thanks for the info. But for some reason getline...

    thanks for the info.
    But for some reason getline isn't working... Do you have to add another library? If so, what is it?
    It should be:


    #include <iostream>
    #include <string>

    using namespace...
  2. Replies
    3
    Views
    7,964

    Inputing multiple characters...

    Here is my startout text RPG:


    #include <iostream>

    using namespace std;

    int main()
    {
    char charname;
  3. Replies
    8
    Views
    2,216

    /* * This code is written in C, but it could...

    /*
    * This code is written in C, but it could just as easily be done in C++.
    * The rand() and srand() functions are available in both languages.
    */

    #include <stdio.h>
    #include <stdlib.h> ...
  4. Replies
    8
    Views
    2,216

    i mean i want a code to generate me random...

    i mean i want a code to generate me random numbers from range to range
  5. Replies
    8
    Views
    2,216

    Generating ranged randomized numbers

    Can someone provide me with a string that generates randomized numbers that have a range from #-#. So if i wanted the DOS window to generate a number from 5-10; how would i do it? Thx
    -Cloud
  6. Replies
    2
    Views
    941

    variable "char" problem

    I cant get this to work:



    #include <iostream>

    using namespace std;

    int main()
    {
  7. Replies
    11
    Views
    1,859

    ok let me break this down this: #include...

    ok let me break this down this:


    #include <iostream>

    using namespace std;

    int main()
    {
    int answer;
  8. Replies
    3
    Views
    1,256

    Thanks!

    Thanks!
  9. Replies
    11
    Views
    1,859

    i mean making a variable A letter. as in if your...

    i mean making a variable A letter. as in if your setting a block of text to rely on a code. If i use letters instead of numbers it fails to compile.
  10. Replies
    3
    Views
    1,256

    Basic Game Programming

    Hi I've pretty much mastered the basic commands of c++ and wanted to move onto making a game. (I usually play with the DOS window)
    First thing is first, does anyone know a good site that teaches you...
  11. Replies
    11
    Views
    1,859

    Variables = letters

    Hey i just started C++ Programming, I have learned include, int main, variables, cout, { and }, I still have yet to learn but none of the tutorials answered my question.
    How do you make variables...
  12. Replies
    17
    Views
    2,732

    yes i do have the bitmap

    yes i do have the bitmap
  13. Replies
    17
    Views
    2,732

    Any help??

    Any help??
  14. Replies
    17
    Views
    2,732

    my code looks like this: #include...

    my code looks like this:



    #include <allegro.h>
    int main(int argc, char *argv[])
    {
    allegro_init();
    install_keyboard();
    set_color_depth(16);
  15. Replies
    17
    Views
    2,732

    Yeah uhh i just started using allegro about...2...

    Yeah uhh i just started using allegro about...2 hours ago was it? Well i downloaded it i added it to

    c:\winnt\system32

    it works. I added it to the parameters. it works.
    When i add...
Results 1 to 15 of 15