Search found 4373 matches

by albinopapa
October 9th, 2014, 2:30 pm
Forum: Everything
Topic: New Member needs assistance ^^
Replies: 10
Views: 3989

Re: New Member needs assistance ^^

I don't think fread can be used like that with text, I think it only works with binary access. Here is what I recommend. Use fscanf(FILE *, const char *, ...). Example Score.txt file. nonam93 100 Example code in C. // Create the struct to hold the name and value of score. struct Score { char name[30...
by albinopapa
October 9th, 2014, 8:19 am
Forum: Everything
Topic: Help with this code
Replies: 9
Views: 3428

Re: Help with this code

So, I was bored so I kind of restructured the code a bit. This is just one possibility you could take when you get further in the lessons. Check it out or don't, hopefully it opens in vs2010, I edited it in vs2012 but I changed the version to vs2010, hopefully.
by albinopapa
October 9th, 2014, 4:58 am
Forum: Everything
Topic: 3D Maps and THREE.js
Replies: 10
Views: 4820

Re: 3D Maps and THREE.js

Could you add comments to you code in order to show what the functions are suppose to do. For instance, (c.rotation.order=='YXZ')&&(c.rotation.order='YXZ'); in c++ the double equal is a comparison operator, so comparing c.rotation.order and "YXZ" returns true or false, then you would be comparing th...
by albinopapa
October 9th, 2014, 4:37 am
Forum: Everything
Topic: Help with this code
Replies: 9
Views: 3428

Re: Help with this code

std::vector is a dynamic array, I'm sure there is a typo in cameron's post. You have your static arrays that you are using... int ecircleX[50]; For vector arrays you would do this... #include <vector> // include the vector header at the top of Game.h // to declare a vector array type std::vector< in...
by albinopapa
October 8th, 2014, 7:08 pm
Forum: Everything
Topic: Problems with archive:Chili DirectX Framework (First Lesson)
Replies: 19
Views: 7253

Re: Problems with archive:Chili DirectX Framework (First Les

Wow, so it's saying you need sp1, but you said you have sp2 installed, can't believe it wouldn't install.
by albinopapa
October 8th, 2014, 6:30 pm
Forum: Everything
Topic: Problems with archive:Chili DirectX Framework (First Lesson)
Replies: 19
Views: 7253

Re: Problems with archive:Chili DirectX Framework (First Les

Should be able to install just like any other program you install. I can't really walk you through it as I haven't ran it in so long and no longer have XP installed on my computer.

Try this.
https://www.youtube.com/watch?v=HYd-oZxPdX0
by albinopapa
October 8th, 2014, 6:22 pm
Forum: Everything
Topic: Ability to check for type in if statements?
Replies: 11
Views: 4573

Re: Ability to check for type in if statements?

What if you passed it in as a char array, tested the values to see if they fall in line with the ascii numbers 48 through 57, if they do then convert string to number if not, then handle bad input.
by albinopapa
October 8th, 2014, 6:15 pm
Forum: Everything
Topic: Problems with archive:Chili DirectX Framework (First Lesson)
Replies: 19
Views: 7253

Re: Problems with archive:Chili DirectX Framework (First Les

Are you not able to update to sp3?

Here is a link to the download page
http://www.microsoft.com/en-us/download ... aspx?id=24
by albinopapa
October 8th, 2014, 6:08 pm
Forum: Everything
Topic: Problems with archive:Chili DirectX Framework (First Lesson)
Replies: 19
Views: 7253

Re: Problems with archive:Chili DirectX Framework (First Les

Hmm, Microsoft Development Environment?

Maybe you should use Microsoft Visual Studios 2010 Express or later version. If that is what you are using I'm not sure what to say other than maybe the file has become corrupt during download.
by albinopapa
October 8th, 2014, 5:59 pm
Forum: Everything
Topic: Restarting my interest in coding with your tutorials
Replies: 7
Views: 2940

Re: Restarting my interest in coding with your tutorials

I think the best way to learn is to start with something super simple. Then, start adding to the project little by little using both the chili videos and cplusplus.com for references on how c/c++ functions work. It's what I did to learn. I use cplusplus.com and the chili videos anytime I can't remem...