Search:

Type: Posts; User: mkylman

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,212

    Segmentation Fault with Linked Lists

    Hey guys, I've been working on this program for a class and I'm getting a really strange error. Basically we had to create a dynamically linked list and then delete, modify, and insert elements. The...
  2. *facepalms self* I can't believe I did something...

    *facepalms self*
    I can't believe I did something that stupid. I've never encountered an issue like this before so I didn't really give it any thought. This is a perfect of example of me trying to...
  3. I do that in the cpp file, if you look at the...

    I do that in the cpp file, if you look at the function loadFiles(), that was why I was so confused >.<
    I assume you clicked the Scores button in the menu? I'll upload some files from the resources...
  4. *SOLVED* SDL: TTF_RenderText_Solid screwing up in Ubuntu 9.10

    Hey guys, I've been teaching myself SDL to start out w/ a simple API, using LazyFoo's tutorials. I created a Tic Tac Toe program, which works great in Windows XP, under Code::Blocks. When I tried...
  5. Replies
    9
    Views
    2,319

    Okay I suppose I understand what you're all...

    Okay I suppose I understand what you're all getting at. I think at this point in my knowledge it's one of those things I just shouldn't do. I don't use the fflush "method" since my compiler has the...
  6. Replies
    15
    Views
    10,983

    sweet, I'll snag Code::Blocks instead ^_^ I...

    sweet, I'll snag Code::Blocks instead ^_^

    I downloaded Allegro but it seems like a .......... to compile >.<
    Haven't looked at the cairo link yet.
    Thanks though! I'll probably wind up learning...
  7. Replies
    15
    Views
    10,983

    I've actually already got SDL set up w/ Dev-C++...

    I've actually already got SDL set up w/ Dev-C++ and done a few of the tutorials of LazyFoo's.

    The only thing that's kind of annoying is that every time I make a new project I have to add stuff in...
  8. Replies
    14
    Views
    1,806

    I don't think being on a mac would have an effect...

    I don't think being on a mac would have an effect on something like this, since you're dealing with C functions here and not operating system dependent things(like system("CLS"); or whatever).
  9. Replies
    9
    Views
    2,319

    fflush( ) questions

    I read the FAQ entry on why not to use fflush(stdin), but all it said was that the behavior is undefined...so I'm sort of confused? Like what kind of horrible consequences could arise?

    Also I was...
  10. Replies
    14
    Views
    1,806

    would the enter key be considered whitespace?

    would the enter key be considered whitespace?
  11. Replies
    14
    Views
    1,806

    Yeah, I didn't know what I was talking about when...

    Yeah, I didn't know what I was talking about when I was blithing about ->.

    what about this line: scanf("%c", &anotherAlbum); ?

    I'm confused as to the point of this line anyway: scanf("\n%c",...
  12. Replies
    14
    Views
    1,806

    I just updated my post, reread it lol...just put...

    I just updated my post, reread it lol...just put a \n in the scanf or fflush(stdin) before it(i think lol)

    The reason it works for the scanf in the loops is because %s and %i are handled...
  13. Replies
    14
    Views
    1,806

    I think that when you are trying to access...

    I think that when you are trying to access members of a struct the way that you are you have to use -> instead of &...I'm not sure though, but give that a try and see if it works.

    EDIT: Wait, I...
  14. Replies
    15
    Views
    10,983

    Yeah, see the win32 stuff was what turned me off...

    Yeah, see the win32 stuff was what turned me off of openGL when I first looked at the tutorials on here; it all seemed confusing and unnecessary, w/o much explanation. The only issue I have w/ using...
  15. Replies
    15
    Views
    10,983

    I'll probably check out some of the openGL...

    I'll probably check out some of the openGL tutorials on this website and maybe do some google searches. I assume there's probably a thread somewhere on these forums that lists some good starting...
  16. Replies
    15
    Views
    10,983

    So you're saying I should just learn DirectX or...

    So you're saying I should just learn DirectX or openGL and not bother w/ SDL?
  17. Replies
    15
    Views
    10,983

    Cross platform would probably be preferable, but...

    Cross platform would probably be preferable, but I personally use Windows XP, so so long as it works with that it would be fine...

    Michael
  18. Replies
    15
    Views
    10,983

    Basic Graphics Libraries (C)

    Hey guys, I've been slowly teaching myself C over this past year and I've been doing simple things like making a hangman game to understand character arrays and pointers, and incorporating stuff like...
  19. Replies
    16
    Views
    2,686

    Okay I get it now. Thanks a ton man, this is more...

    Okay I get it now. Thanks a ton man, this is more useful than you know!

    MKylman
  20. Replies
    16
    Views
    2,686

    Well I didn't say I enjoyed writing this kind of...

    Well I didn't say I enjoyed writing this kind of crap...I really don't care for it, I was just trying to get the feel for it all back; I completely forgot about do-while statements and everything.
    ...
  21. Replies
    16
    Views
    2,686

    problem w/ doubles in friend's program

    Hi, my friend recently tried writing a program to do his physics homework calculations(instead of using...yknow a calculator), but there's this weird problem it's been having.

    Initially I thought...
  22. Replies
    5
    Views
    4,067

    Okay, after some research on google I found how...

    Okay, after some research on google I found how to properly structure the damn thing;

    Here is what the final code looked like, at least the chunk that was bothering me


    srand(time(0));...
  23. Replies
    5
    Views
    4,067

    That's the thing, I'm not sure how to construct...

    That's the thing, I'm not sure how to construct that...That's why I feel really stupid about this;

    What would the proper way to do it be? Have I got it backwards or something?
  24. Replies
    5
    Views
    4,067

    Issue w/ Guess My Number Program

    Hi guys;

    After abandoning C++ for around a year I have decided to try and return and relearn all the stuff I forgot and couldn't understand to begin with. So I started reading a few C++ eBooks and...
  25. Replies
    3
    Views
    891

    I've got a bunch of C++ eBooks and few on MS VC++...

    I've got a bunch of C++ eBooks and few on MS VC++ If they would be of any help...
    <<snip email address>>
Results 1 to 25 of 64
Page 1 of 3 1 2 3