Search:
Type: Posts; User: KezRst
Search:
Search took 0.03 seconds.
-
March 22nd, 2010, 01:23 PM
Thank you! I would not have thought to look up that particular part of the error message, since so much of it looked like Greek to me.
Scrolling down a few posts I found someone who had the exact...
-
March 22nd, 2010, 01:11 PM
Oops, that's just a typo. I have double checked to make sure that the spacing of the array is correct. I also boiled it down to a single dimensional array at one point, and still got the same error.
-
March 22nd, 2010, 12:56 PM
I made this program to duplicate an error I'm receiving. When I run the program I receive:
Snake.obj : error LNK2019: unresolved external symbol
__imp___CrtDbgReportW referenced in function...
-
November 19th, 2009, 10:19 AM
Hello again!
I've continued to work on a text based RPG I've been making progress on just for practice. I've come up with this problem though that I have searched for everywhere, and can't seem...
-
November 14th, 2009, 08:14 PM
I think I have found my solution to this problem. Finding the solution though brought up a lot more questions. After some more searching I found there is a difference between 'pointer to a const...
-
November 14th, 2009, 07:26 PM
Hello!
I have a question about constant pointers. I am aware that with regular pointers, you can access the memory addresses next to a certain memory address to handle arrays/vectors, etc. such...
-
November 3rd, 2009, 03:27 PM
Well with all that in mind I'ma keep working on it. :)
Thanks a ton for your help!
-
November 3rd, 2009, 02:48 PM
Alright. So instead of making globals just passing a reference or pointer to the function is better in terms of checking if the function ran as expected.
Ah! I got so caught up in new/delete...
-
November 3rd, 2009, 01:48 PM
That makes sense. In that case I suppose my example could just be stored on the stack. Because it is defined as a global variable it's scope is large enough that everything which needs to access it...
-
November 3rd, 2009, 01:24 PM
So it seems like it's essentially a balancing act between speed (new/delete) and the safety/simplicity of the code (using scope to define variable lifetime) in order to make sure a bunch of new's...
-
November 3rd, 2009, 12:44 PM
So a couple days ago I posted on the forums questions I had about pointers...how they work and why they are used. After reading your responses and trying it out for myself, I've come to understand...
-
October 31st, 2009, 01:41 PM
Let's see if I can understand this.
Instead of passing the argument by value, we're passing an address of the variable. But since we want it to act like a pass-by-value, it is const so that if it...
-
October 31st, 2009, 01:27 PM
That use for the pointer is starting to make a lot more sense. 'Cause I can see how passing an address, rather the passing an entire image class type object is a lot less CPU intensive. And you get...
-
October 31st, 2009, 01:23 PM
Thanks :)
Not to rush my understanding of this because I know it's not something you master in a few minutes, but I decided to do a test of pointer-to-class to see if I could get it to work. Here's...
-
October 31st, 2009, 12:43 PM
So had that been a long double, or some large user-defined class type, rather then an int, the only difference would be speed since you're passing an address instead of a number which occupies a lot...
-
October 31st, 2009, 11:50 AM
From everything I've read (and I've read a lot, I've been from tutorial to tutorial and many different books) pointers and references are one of the most difficult concepts for new programmers to...
-
September 16th, 2009, 12:13 PM
Okay yeah, this makes sense. :)
Thanks for clearing that up!
-
September 16th, 2009, 11:31 AM
So in your example, putting #include "Windows.h" in every source file causes it to compile that header once for each source file. So you'd end up compiling "Windows.h" hundreds of times.
Then you...
-
September 16th, 2009, 12:15 AM
I'm still learning C++ by reading a couple different books and using Visual C++ to compile test source codes.
I have a question though, why is it that in every example of source code that I have...
-
September 15th, 2009, 01:06 PM
There we go, thanks :)
Obvious what my problem was that vector is part of the standard library just like I would have to say std::string or bring namespace std into scope by 'using'
Thank you...
-
September 15th, 2009, 12:57 PM
I am learning C++ by a few different resources, and have been working on the fundamentals for about a week. One of them is a book I found called C++: A dialogue. It has helped me a lot and I've...
-
September 14th, 2009, 04:01 AM
You are both right and I appreciate your opening my eyes to the fact that I should learn in a more structured fashion. :)
When I learned from scratch GS2 which was a built-in scripting language, I...
-
September 13th, 2009, 05:06 PM
Hi! So I wasn't sure whether to start a new thread or not but this is an entirely different topic from my first so I figured I would.
From my last post, I decided to learn to use classes so I got...
-
September 13th, 2009, 02:44 PM
Declaring a class would be nice so I can just return objects.
So if I create a class 'Rooms' for example, and one of it's objects is Room_100 then returning Room_100 would allow the function which...
-
September 13th, 2009, 02:26 PM
Alright. So I looked at Boost.Assign which, some of it I can comprehend and some of it I haven't dealt with yet. Are there any examples out of how I could use std::vector to manipulate arrays? ...
|
Click Here to Expand Forum to Full Width
|