Search:

Type: Posts; User: wyvern

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    43,259

    here is a good way

    try this:




    float var1 = 123.456;

    int tmp = (int)var1;

    int var2 = var1 - tmp;
  2. Replies
    2
    Views
    1,131

    soo complicated stuff? u could do this just...

    soo complicated stuff?

    u could do this just like this




    string map[3][3]
    int main()
    {
  3. Replies
    3
    Views
    2,348

    go to

    go to http://nehe.gamedev.net/
  4. Thread: Full Screen

    by wyvern
    Replies
    3
    Views
    1,103

    no use

    it was no use

    someone else have any idea?

    (and please dont give me links, gimme some code)
  5. Thread: gl/gaux.h

    by wyvern
    Replies
    6
    Views
    1,407

    gl/gaux.h

    where can i find this file?

    cuz dev-c++ dsnt have it !!!!!!!!!




    [}{]ELP

    SEARCHING gl/gaux.h
  6. Thread: Full Screen

    by wyvern
    Replies
    3
    Views
    1,103

    Full Screen

    how do i make a program start in full screen??????????
  7. Replies
    6
    Views
    1,711

    How to Delete files

    imagine i make a program that needs to store a var in a separated file ( Auxiliar_file.txt ) and when i finish it i want the program to delet it.
    all i know is to erase whats inside but how i delete...
  8. Replies
    13
    Views
    2,586

    #include #include #include...

    #include <iostream>
    #include <cstdlib>
    #include <cstring>
    #include <cctype>
    using namespace std;


    int main()
    {
    char name[255];
  9. Replies
    4
    Views
    903

    try this ofstream getoutofhere (...

    try this



    ofstream getoutofhere ( c:\\mydir\\data );
    getoutofhere << " teste";


    btw:
  10. HOW TO REPLACE SMFINN =D * yeah right good title wyvern really great*

    I recently made a game wich is like pacman but in ASCII no graphics and made in console.
    everytime a movement happens i use system("cls") to delete all and rewrite the map with the new pacman...
  11. Replies
    5
    Views
    1,111

    ups

    UPS sorry caps was on and i was in a rush sorry

    =( :(
  12. Replies
    5
    Views
    1,111

    Using Color In Console App

    CAN ANYONE TELL ME HOW I ADD COLOR IN A PROGRAM???

    LIKE THIS =D
  13. Replies
    9
    Views
    3,305

    I Found Out

    I finnaly found a safe way to do it here it is





    int x;

    x = getch();
  14. Replies
    9
    Views
    3,305

    ???

    ??? what? ???


    what i meaned is like:

    [code/]
    string x;

    x = getch;
  15. Replies
    9
    Views
    3,305

    how to use arrows

    how i use arrows in a program?



    like -> to move right , <-- to move left etc...
  16. Replies
    7
    Views
    1,113

    THANK U the confusy part is not clear as...

    THANK U

    the confusy part is not clear as water.

    <3.E>
  17. Replies
    7
    Views
    1,113

    Words i cant get the meaning

    i came across with this few var declaration words i dont know what they do please explain me plz:

    - Unsigned ( ex: unsigned int variable)

    - Const ( ex: Const char variable )

    - long ( ex:...
  18. Replies
    4
    Views
    2,109

    Off Topic-"Cause of banning I-Love-Vectors".

    Dear Moderator.

    First of all i would like to say that i recognise that what ILoveVectors did was wrong but WHAT u did to him ( u know what u did dont pretend u dont) is not correct too.

    Why am...
  19. Replies
    7
    Views
    2,281

    this code return this error : 12...

    this code return this error :

    12 E:\WKC\Untitled1.cpp [Warning] converting to `int' from `double' .

    (if it is my mistake please teach me, im new to c++)
  20. Thread: My Game

    by wyvern
    Replies
    12
    Views
    1,784

    Ty

    tankx u.

    ur 1st example was what i was asking but the second will certainly help me too.

    again TTTTTTTYYYYYYYY a lot.
  21. Thread: My Game

    by wyvern
    Replies
    12
    Views
    1,784

    i still dont understand this here: ""With...

    i still dont understand this here:


    ""With that method, however, print() can't modify the variables (well, it can, but call() won't notice the changes). If you want the values to change:

    Code:...
  22. Thread: My Game

    by wyvern
    Replies
    12
    Views
    1,784

    Ty

    thankx u for the info really thank you and ... i dont read c++ books yet.

    for now my guide are the toturials in here
  23. Replies
    14
    Views
    2,189

    dah

    then make 21 +1 not (20+1)+1
  24. Thread: My Game

    by wyvern
    Replies
    12
    Views
    1,784

    My Game

    im am new to c++ (im learning it for about 3weeks) but i made a game and i wanted feedbak, newways i can improve it, and teach me using local variables.



    #include <cstdlib>
    #include <fstream>...
  25. Thread: System();

    by wyvern
    Replies
    4
    Views
    1,229

    please explain better

    please explain better
Results 1 to 25 of 28
Page 1 of 2 1 2