I'm trying to add Windows Media Player from the toolbox onto my form but it gives me an error saying "Failed to create component 'Axhost'".
How do I fix this?
Type: Posts; User: leopoldo100
I'm trying to add Windows Media Player from the toolbox onto my form but it gives me an error saying "Failed to create component 'Axhost'".
How do I fix this?
There are only options for C++/C# for windows from applications, but not C. Is there a way to code windows form applications in C in visual studio 2019?
Okay, thank you. I'll have to start studying the general structure of computer programming first as for now I've only done function based studies. I think I'll actually hold off on the video playback...
Yes, I am very aware of that. By "very simple" I was meaning it from the user point of view. It won't have any other functions besides what I have mentioned. I've already said "I wanted to give...
It was a very simple calculator, so no I don't think it can do those kind of operations. I can give it a go though for practice!
I haven't created those kinds of games yet. I will definitely try and...
It'll be a basic video playback software where someone uploads a video file and it plays it. That's it.
I have no prior experience in programming, and C is the first language I am trying to learn. I...
I am very new to C programming, and I've spent the past several days learning all the functions, variables, pointers, basically all the basic components that C has to offer.
I'm trying to create a...
I forgot to update here, but I got it to work! I just had to write that piece of code separately as you said. Thanks for the help!
I want to create my first program, and I don't know how to do it. I've been practicing with terminal, but now I want to physically create a software, like a calculator for example, by designing and...
I was getting the idea that this is what I should do. Thanks! I'll try this and see if it works.
Do you know how I would have it so that whatever amount you enter becomes the value the function calls? Because essentially I want it so that the program asks the player (me) for the amount of...
So I've tried declaring "float amount;" at the top above int main (), but now when I run it and enter "1", now I'm getting a strange "(11db)" error (?) in green, and it's saying "Thread 1: breakpoint...
Oh and I forgot to mention I took @Salem 's advice and changed up my structure. I've never used "enum" before, is this correct?
Thanks for your reply.
I tried to change it to "mageWeapon (amount);", but it's coming up with an error saying "Use of undeclared identifier 'amount' ". Sorry, I am very new to programming so I need...
How exactly do you do that? I tried putting "void mageWeapon(float amount); " right under int main, but it still did the same thing.
And yes, I tried putting it in code tags but copying and pasting...
So I'm practicing structures and passing parameters in functions, and I'm trying to make a simple program where you choose between Mage, Warrior, and Healer classes. After choosing one, you enter...
I am learning C and getting into structures, but I am getting a lot of errors I don't know how to fix.
I am using xCode, and I've made a header file. This is what I have in my header file:
...