Type: Posts; User: BytePtr
Search took 0.02 seconds.
December 25th, 2014, 01:45 PM
As always after posting topic, the solution comes by itself and everything starts to work automagically.
Here is the code i made:
// Use absolute curIdx value, i.e starting from 1
December 25th, 2014, 07:27 AM
Hello. It was hard to put title for this.
I hoped i dont have to ask help on this but im really stuck.
Im working on a script compiler that must output compiled script into binary file....
December 30th, 2013, 02:59 PM
Thank you for the reply.
You gave me idea.
I did function like this:
map<int, stack<int> > asi;
int getLASTcmdindexfor(int commandid)
December 30th, 2013, 12:42 PM
Im stuck with some problem(s).
Currently i have a std::map like this:
map<int, int> mymap;
In my procedure i add some items to this. When i have no duplicates for keys, all seems to...
October 30th, 2013, 05:17 PM
I just opened the forum, to look around here after a long break.
I see always same members answering questions etc etc. Of course i have nothing against this. I am just curious..
The long time...
August 12th, 2013, 06:33 PM
Remove underscore from urls please when doing copy/paste. Forum thinks that its bad word. But its the website url.
Can you please help me add a Redo command to the example attached...
March 13th, 2013, 04:20 PM
Actually yes, i was thinking about this a little bit today and decided to store all variables in one std::map.
This allows me to also detect re-declared variables.
Variable will be key and value...
March 12th, 2013, 04:28 PM
It's hard to give proper title for this topic but anyways..
Im working on a script compiler and i need to handle different types of data.
Actually different categories of items.
January 8th, 2012, 04:54 AM
Lindley or somebody.
How efficient or not efficient is looping through map with iterator, if it has lot's of items, let's say, 500-10000.
Does it get's slower the more items the map has?
January 4th, 2012, 05:41 PM
Thanks, you gave me great push, i will try to code out something.
It will be interesting.
Will let you know how it goes and what solution i found.
January 4th, 2012, 03:53 PM
Lindley, so you say that without sorting it will not be as fast as it should?
Pretty bad, i think in the code i will use, the additional sorting each time would hit the performance of whole...
January 4th, 2012, 04:49 AM
Thanks for reply.
Actually i forgot to tell that, the struct values will be always unique.
At least i hope so. I just encountered the problem, that i need to figure out, to which item...
January 4th, 2012, 04:32 AM
It was hard to make title for this topic.
I have a simple code:
using namespace std;
December 24th, 2011, 05:28 AM
Watch this guy channel, he got a lot of good vids, including 3D collision and basic FPS game.
November 16th, 2011, 06:14 PM
I don't think that it's hard. Nobody teached me OpenGL, but look what i have done. Learned all by myself.
August 1st, 2011, 03:18 PM
I use Notepad, to see decorated stuff.
No third party tools needed.
July 31st, 2011, 04:38 PM
July 31st, 2011, 01:18 PM
Thank you very much Eri523.
I made the changes you told me to do, i let the editor run for pretty long time.
Seeked around my scene and no crashes.
I added rep. to you for the help.
July 31st, 2011, 07:16 AM
For my map editor (in Delphi) i have created simple DLL in C++ using VS2008 Express for caching OpenGL texture ID's.
Basically the code is not created by me, it's from old (now died) open...
June 23rd, 2011, 10:22 AM
Well the listbox contains small tiles (graphics) but on XP it doesn't draw them correctly. Only one of them is visible, for the rest you have to click on left mouse btn and drag at the same time over...
June 22nd, 2011, 03:13 PM
On top is what i want. I mean i have an app (not made by me). It has listbox with stuff in it.
I want to cover that listbox with my window, so user will use my own listbox instead of the original...
June 18th, 2011, 04:18 PM
Is there an API function that allows set my main app window on top of another specific application but not completely modal (i.e not on top of everything).
In general: modal on specific app only?...
April 17th, 2011, 05:24 PM
Amazing, i got it to work. Thanks for all the help guys.
And thanks to this:
It's not as fast as my friend one, but it...
April 17th, 2011, 03:14 PM
Ok, seems i got this working somehow.
Still don't understand why it didn't work at first time.
Can anyone recommend me some book or tutorial how to make strict weak ordering for std::map?
April 17th, 2011, 01:47 PM
Still haven't figured out the ordering method for ::map but Paul.
Can you help me with file reading?
I mean, i need to read in 8*256*256 (524288) count of block_info structs from file into 1D...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!