Search:

Type: Posts; User: PHP

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: float numbers

    by PHP
    Replies
    2
    Views
    1,170

    float numbers

    im making a prime number generator and i need to test to see if a float variable has numbers after a decimal, how would i do this?
  2. Replies
    6
    Views
    2,068

    and i dereference it how? :) sorry im a bit new...

    and i dereference it how? :) sorry im a bit new to this lingo hehe
  3. Replies
    6
    Views
    2,068

    do pointers affect what they point to directly?

    if i feed pointers to a function and add 1 to them for example, does it change the actual value of the variable the pointer is pointing to? :) thanx
  4. Replies
    2
    Views
    1,358

    pointers as function variables

    ok, i tried searching for htis with no luck, im wondering cause u use pointers to access data for functions faster, so how do i feed a pointer to a function like so:

    int function(pointer, pointer,...
  5. Replies
    3
    Views
    1,269

    thats just it though

    its right in dev-cpp/include/c++/iostream.h right where it should be! [i think]
  6. Replies
    3
    Views
    1,269

    My compiler doesnt have like any libraries!?

    ok, i am using dev cpp the newest version witn mingw 3.2 and it says id ont have like any libraries (no iostream, iomanip, climits, anything).. any ideas how to fix this?
  7. hehe, i ask lotsa questions: making sure no spaces exist

    char[20] pname;
    cin >> pname;


    now, how can i get it to make sure that they havent entered any spaces so the program doesnt crash down? htanx again everyone for answering all my questions!
  8. Replies
    8
    Views
    2,353

    hm.. it says coord is undefined, any ideas or...

    hm.. it says coord is undefined, any ideas or something i should have also done?
  9. Replies
    3
    Views
    1,564

    ok, heres the basic of what i have so far: ...

    ok, heres the basic of what i have so far:


    int right(int& x) {return x++;}


    thats a refrence to x, and if they move right add one to x, but now how do i get it to restate that x is now the...
  10. Replies
    8
    Views
    2,353

    i use dev c++ 4.9.7 mingw 3.2 i beleive, and...

    i use dev c++ 4.9.7 mingw 3.2 i beleive, and thanks for always helping prelude :D
  11. Replies
    8
    Views
    2,353

    centering text for introduction

    what library do i need to use a function like setxy(x,y) to align my text, or are there any other funcions to do that out there as well?
  12. Replies
    3
    Views
    1,564

    virtual keys, while loop, movement

    ok, i have the player move with the virtual keys, and i want it to keep their location, it would be in an (x, y) grid, so i would have the x and y variable. My question is, while in the loop of the...
  13. Replies
    3
    Views
    1,188

    thanx prelude, thats exactly what i need :)

    thanx prelude, thats exactly what i need :)
  14. Replies
    3
    Views
    1,188

    detect what button they push without enter

    how can i do it, like how can i have it so it knows if have pushed like the right arrow instead of having them type r and enter it...
  15. Thread: i need a project

    by PHP
    Replies
    6
    Views
    1,358

    i need a project

    i have a 1000 page introduction to c++ thing and ive read over 600, done classes, starting polymorphism, all the loops, varialbles, functions, everything and i cant think of anything to make, so got...
  16. Replies
    3
    Views
    1,133

    do i only need sdl.dll or are there more files i...

    do i only need sdl.dll or are there more files i need to download?
  17. Replies
    3
    Views
    1,133

    c++ and SDL game programmin

    can anyone point me in the direction of some basic tutorials and how to include it in my programs etc? Ty ;)
  18. Replies
    3
    Views
    1,008

    ok, what all do i have to download, i had dev...

    ok, what all do i have to download, i had dev cpp, allegro and all the mingw installed and it worked but then iostream didnt work so i unistalled and deleated and now im trying to reinstall and...
  19. Replies
    3
    Views
    1,008

    restarting, need links :)

    ok, i uninstalled the dev-cpp i was running and when i go there there is version 5 but its beta and it says iostream and iostream.h both give me a ton of errors but version 4 looks not atall like...
  20. Replies
    1
    Views
    927

    location, and stuff

    im making a text rpg, but i want it to be more open and i want there to be somewhat villages, i would have them use the arrow keys (up, down, left, right) for movement and if they go left or right it...
  21. Replies
    18
    Views
    1,953

    how can i set it up wrong, i just clicked next,...

    how can i set it up wrong, i just clicked next, next, next and poof done
  22. Replies
    18
    Views
    1,953

    hehe, what a pitiful compiler if it cant use the...

    hehe, what a pitiful compiler if it cant use the most basic of includes......
  23. Replies
    18
    Views
    1,953

    dev c++, im using Sleep(50) to make it a typing...

    dev c++, im using Sleep(50) to make it a typing effect, if you have any other ideas, ill use it instead :)
  24. Replies
    18
    Views
    1,953

    omg.. compiler hates me

    /* Quest Open RPG
    * Ryan Oldenburg
    * Completion: 15%
    * Version 1.0
    */

    #include <windows.h>
    #include <iostream>
    #include <string>
    #include "class.h"
  25. Thread: several questions

    by PHP
    Replies
    3
    Views
    1,126

    well every tutorial always uses c, maybe i hsould...

    well every tutorial always uses c, maybe i hsould alooked more lol
Results 1 to 25 of 42
Page 1 of 2 1 2