Search:

Type: Posts; User: KgNe

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,442

    I tried putting those in her TGA loader but the...

    I tried putting those in her TGA loader but the white pixels are still there.
  2. Replies
    8
    Views
    1,442

    Offset my vertices? Meaning instead of...

    Offset my vertices? Meaning instead of glVertex3f(1000,1000,1000); I put glVertex3f(999.5,999.5,999.5); for every glVertex3f that I have?

    Also any good websites to recommend? I really suck at...
  3. Replies
    8
    Views
    1,442

    My teacher gave me her TGA loader which I think...

    My teacher gave me her TGA loader which I think might be the problem, however I can't do anything because I don't know anything about a loader and everytime I ask her question she gives me crap...
  4. Replies
    8
    Views
    1,442

    Weird problem with textures

    OK first I have to say that I am very very bad at OpenGL, to the point that when I search for solutions to my problems in OpenGL and find people talking about buffers and whatnot, I get really...
  5. Thread: About vectors.

    by KgNe
    Replies
    23
    Views
    2,989

    Yep, my teacher showed us this video where this...

    Yep, my teacher showed us this video where this supercomputer beat this professional at chess.



    Yep, had to do it in one of my practicals, though still quite unclear about the effects of...
  6. Thread: About vectors.

    by KgNe
    Replies
    23
    Views
    2,989

    O0O But you see actually the reason I'm trying...

    O0O
    But you see actually the reason I'm trying to learn so much is because theres a small group(really small group) of people in my class who know ALOT more than what we are currently learning and...
  7. Thread: About vectors.

    by KgNe
    Replies
    23
    Views
    2,989

    matsp you NEVER fail me! Thank you! That was...

    matsp you NEVER fail me! Thank you! That was really helpful!
  8. Thread: About vectors.

    by KgNe
    Replies
    23
    Views
    2,989

    How much does that book cover actually? and are...

    How much does that book cover actually? and are there some good websites with at least a good list that tells me what I should learn in order? xD
  9. Thread: About vectors.

    by KgNe
    Replies
    23
    Views
    2,989

    Takes time to change and I'm trying to. xD Ok...

    Takes time to change and I'm trying to. xD

    Ok thanks for the info on isupper() and islower() it is REALLY very helpful.

    By the way, though a little off-topic, I must ask how should I continue...
  10. Thread: About vectors.

    by KgNe
    Replies
    23
    Views
    2,989

    I guess the code was pretty messy huh. This is...

    I guess the code was pretty messy huh. This is the reworked code and it works fine.


    #include <iostream>
    #include <string>
    #include <vector>

    using namespace std;

    void main (void)
  11. Thread: About vectors.

    by KgNe
    Replies
    23
    Views
    2,989

    Well umm...I'm trying to learn to use vectors so...

    Well umm...I'm trying to learn to use vectors so I have to use a vector xD and how do I change the individual characters in a string? Maybe you could somehow add to my code here.


    #include...
  12. Thread: About vectors.

    by KgNe
    Replies
    23
    Views
    2,989

    What if I want the user to input data in like a...

    What if I want the user to input data in like a character array, where the user can just type in a string of characters immediately and it goes into the character array? I could use a string vector...
  13. Thread: About vectors.

    by KgNe
    Replies
    23
    Views
    2,989

    About vectors.

    Suppose I want the user himself to enter the data into a vector. How should I go about doing it? cin wouldn't work, neither does cin.get.

    Example:


    #include <iostream>
    #include <vector>
    ...
  14. Replies
    32
    Views
    8,015

    Ahh OK I can roughly get it. Read up on the whole...

    Ahh OK I can roughly get it. Read up on the whole Cprogramming.com tutorial before continuing would be a good idea?
  15. Replies
    32
    Views
    8,015

    Lemme see if I got the code correctly. The...

    Lemme see if I got the code correctly.

    The class baseobject is like a class for all the types of items that the player can carry in his/her inventory. virtual void Describe would have the...
  16. Replies
    32
    Views
    8,015

    Ok this project is to make a simple text-based...

    Ok this project is to make a simple text-based game, of course we have experienced people who are going crazy with the project, people doing way over their limits, people doing what they can, etc...
  17. Replies
    32
    Views
    8,015

    Hmm apparently it's just using classes in my...

    Hmm apparently it's just using classes in my program to handle functions. How should I go about doing that? Why is there a need to use classes to handle my functions?
  18. Replies
    32
    Views
    8,015

    Like I have to use it to make my code for this...

    Like I have to use it to make my code for this project look neater or something
  19. Replies
    32
    Views
    8,015

    Ok I fixed it. It occured to me that since I'm...

    Ok I fixed it. It occured to me that since I'm using a character array, it would error if the user didn't cin a character, which apparently was what a certain something in the buffer or something...
  20. Replies
    32
    Views
    8,015

    I'm using cin.get to get a string aren't I? So...

    I'm using cin.get to get a string aren't I? So why does it still error?
  21. Replies
    32
    Views
    8,015

    But I used cin.get(person1.name,50,'\n') so why...

    But I used cin.get(person1.name,50,'\n') so why won't it work? If cin.get is significantly different from getline could you tell me how I could use getline to replace cin.get in the code i posted...
  22. Replies
    32
    Views
    8,015

    No even in a simple code without any loops, this...

    No even in a simple code without any loops, this error will also happen.
    See Cprogramming.com : FAQ > How do I...(Level 2) > Why does my program enter an infinite loop if the user inputs invalid...
  23. Replies
    32
    Views
    8,015

    That endless loop is something like THE endless...

    That endless loop is something like THE endless loop that happens when say you cin a char into an int variable. But if you need to see the code,
    Here it is!


    struct personProfile
    {
    char...
  24. Replies
    32
    Views
    8,015

    Ok suprisingly I solved the cin buffer thing. I...

    Ok suprisingly I solved the cin buffer thing. I added a cin.ignore(50,'\n') for it to work. Somehow, cin.ignore() and cin.ignore(50) doesn't work. Anyway, now I have a problem where if the user press...
  25. Replies
    32
    Views
    8,015

    Ahh OK. I'll try it out to see if I can fix my...

    Ahh OK. I'll try it out to see if I can fix my problem. By the way, how can I get you if I can't get other stuff or can't solve my current problem. This thread? Create another thread? xD Thanks for...
Results 1 to 25 of 30
Page 1 of 2 1 2