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...
Type: Posts; User: mkylman
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...
*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...
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...
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...
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...
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...
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...
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).
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...
would the enter key be considered whitespace?
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",...
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...
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...
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...
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...
So you're saying I should just learn DirectX or openGL and not bother w/ SDL?
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
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...
Okay I get it now. Thanks a ton man, this is more useful than you know!
MKylman
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.
...
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...
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));...
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?
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...
I've got a bunch of C++ eBooks and few on MS VC++ If they would be of any help...
<<snip email address>>