My personal opinion, nothing beats a good book. As Elysia said, look in the books thread for some good titles. If your not willing to sacrifice some money, then you might aswell walk away now.
Type: Posts; User: legit
My personal opinion, nothing beats a good book. As Elysia said, look in the books thread for some good titles. If your not willing to sacrifice some money, then you might aswell walk away now.
I'm sorry, but you will not succeed in programming without having a book or 2 in your arsenal. They are the best way to start off!
Also, something tells me that you haven't actually programmed before, so I would head straight back to basics before programming games. ;)
Thanks Elysia, interesting.
Get a new CPU. :D
Wow, I wasn't expecting that.
It's temporary because we declare it in main(), therefore it gets destroyed at the end of main. It's also temporary because we pass it into vSetUserName(std::string), and that's all we do with it.
...
With the first method, A, all you are doing is writing a new line and then a string of characters, which would be pretty tedious to find a certain character. The second however, is much more...
Well the way I'm thinking of is to take input in main(), and store it into your variables using your setter functions. Then output it when needed using your getter functions.
e.g.
User.h
...
Correct? The only way a class can be correct is if it does what it's suppose to do, and only you, the creator, can decide that. We can tell you various things that aren't allowing the class to be...
3 classes in 3 weeks? You learned input and output, and your assignment is to create a sodoku solver? Something doesn't seem right.
That's because you haven't been paying attention in class. You learned input and output functions and operators in 3 weeks of study? I think that's somewhat infeasible.
I think otherwise. Create the user class, declare and define some functions in their related files. Define your main() function, and use the functions where they need to be used.
Tell us what you...
Stupid cin and cout thing? Wow, I don't think you are in the right class, your attitude stinks. As Bubba said, this is nearing a forum rule break. When that happens, you will receive no help from...
If you link it, then it will compile it. (I Think) :D
How much did you actually learn in class before getting this assignment? From what you've shown, either your teacher is made of bull, or you haven't been listening.
Ahh thanks for that. I did a few changes, and removed my namespace. My callback function is now static. Although the problem isn't fixed.
Dude, top part? And also you are passing objects in your SetName() function that again, don't exist. I've never seen a user defined function pass in a cin object... You have passed two objects as...
The layout is good, I like the colours. The only thing that I can see a problem with is your spelling. :D
Or create a templated Array class?
For the lolz :P.
Only joking, but on another note, I'm going to try and learn game programming. Why? Because I enjoy programming and I have the patients to keep at it. 'nuff said!
Is there a relation between the float value and the values that you want to extract?
I've been thinking - creating a sodoku solver would be difficult without using arrays? I can't seem to find a way without arrays, using arrays is still pretty tough!
You use the resolution scope operator wherever you use a member of namespace std. Yes it is a lot of extra typing, but it makes sure that you want to use that particular member of std rather than a...
Well what do you have so far, design wise?