Click here to Skip to main content
15,889,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i just started learning c/c++ by doing a 2D game in DirectX .I've never done it before (load texture from file)

What I have tried:

i haven't tried anything yet ,i locked at some code examples and i didn't quite understand
Posted
Updated 3-May-18 4:48am

You cannot learn programming from posting questions in a Quick Answers forum. You need to get a good book or online study guide and work through it, following all the examples.
 
Share this answer
 
DirectX is a rather complex API. Before using such you should be familiar with C/C++.

Then you have to become familiar with the API itself. That means reading and understanding the documentation so that you understand the example code from the API documentation.

It is like learning to drive. Having just started to learn you should not try to drive a truck.
 
Share this answer
 
In this DirectX tutorial is texture loading included. Also other interesting stuff you may find there.

DirectX is an advanced interface, so visit some basic tutorials to understand that stuff.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900