• What Are You Working On? V13
    5,003 replies, posted
[QUOTE=Overv;25538074]Is the linear order of multidimensional arrays part of the C++ standard?[/QUOTE] You mean how they're allocated in memory? I'm not sure I can't find anything specific mentioning it in my Stroustrup book. It may be implementation specific. [editline]20th October 2010[/editline] I'm guessing most implementations lay them out linearly but there may be a row/column major difference.
Learning C#, just got sounds working...I'm going to make "SlightlyLessTextCraft"!
[QUOTE=bladerunner627;25538782]I'm guessing most implementations lay them out linearly but there may be a row/column major difference.[/QUOTE] Yes, that's what I'm wondering. I think I'll just use m_ij variables in my matrix class then or a one dimensional array.
Yesterday... [img]http://ahb.me/Isz[/img]
Since Esa was creating an argument parser... [img]http://localhostr.com/files/c6195a/YAAP.png[/img] [url=https://gist.github.com/fe6f98928c69fb1ef703]yaap.h[/url] [url=https://gist.github.com/c007d7895e7dbe4c188a]yaap.c[/url]
[QUOTE=i300;25539496]Yesterday... [img_thumb]http://ahb.me/Isz[/img_thumb][/QUOTE] [url]http://www.facepunch.com/showthread.php?1016639-Unifrog[/url] Dedicated thread for it now.
[QUOTE=layla;25532787]Looks alright? Too dark maybe? [img_thumb]http://dl.dropbox.com/u/99765/5r4435s52.png[/img_thumb][/QUOTE] Love the theme, not too dark at all. Add customization settings in-game to change theme.
Working on the Options window for my To Do List Applications, I was wondering what kind of settings you guys would like in a To Do List application, I already have the interval ( in minutes ) in how often you want the computer to alert you of projects/tasks that are urgent, as well as custom profiles for different moods or people using the application on one machine. I know it's kind of a vague question, but I'm having a really hard time populating the options menu with anything.
[QUOTE=Overv;25538074]Is the linear order of multidimensional arrays part of the C++ standard?[/QUOTE] I don't know if this answers your question: [quote]6 [ Note: Except where it has been declared for a class (13.5.5), the subscript operator [] is interpreted in such a way that E1[E2] is identical to *((E1)+(E2)). Because of the conversion rules that apply to +, if E1 is an array and E2 an integer, then E1[E2] refers to the E2-th member of E1. Therefore, despite its asymmetric appearance, subscripting is a commutative operation. 7 A consistent rule is followed for multidimensional arrays. If E is an n-dimensional array of rank i×j×. . .×k, then E appearing in an expression that is subject to the array-to-pointer conversion (4.2) is converted to a pointer to an (n−1)-dimensional array with rank j ×. . .×k. If the * operator, either explicitly or implicitly as a result of subscripting, is applied to this pointer, the result is the pointed-to (n − 1)-dimensional array, which itself is immediately converted into a pointer. 8 [ Example: consider int x[3][5]; Here x is a 3 × 5 array of integers. When x appears in an expression, it is converted to a pointer to (the first of three) five-membered arrays of integers. In the expression x[i] which is equivalent to *(x+i), x is first converted to a pointer as described; then x+i is converted to the type of x, which involves multiplying i by the length of the object to which the pointer points, namely five integer objects. The results are added and indirection applied to yield an array (of five integers), which in turn is converted to a pointer to the first of the integers. If there is another subscript the same argument applies again; this time the result is an integer. —end example ] —end note ] 9 [ Note: it follows from all this that arrays in C++ are stored row-wise (last subscript varies fastest) and that the first subscript in the declaration helps determine the amount of storage consumed by an array but plays no other part in subscript calculations. —end note ][/quote]
[img]http://filesmelt.com/dl/GrooveUpdate!.png[/img] :v:
[QUOTE=i300;25539798]Love the theme, not too dark at all. Add customization settings in-game to change theme.[/QUOTE] Maybe, I don't think it's all that important though. I just want it to be easy to see and use.
Might be a silly question but, does SFML .NET work with Mono?
[QUOTE=VeryNiceGuy;25539883][img_thumb]http://filesmelt.com/dl/GrooveUpdate!.png[/img_thumb] :v:[/QUOTE] You should really use a nice font when you show this off. :v:
[QUOTE=BlkDucky;25540353]You should really use a nice font when you show this off. :v:[/QUOTE] Idk about you, but that's a pretty sexy thick font. Mm... Thick fonts ;)
Thick fonts, thick women, thick is the shit.
Is the try-catch thing in C# very expensive? I added that and some file stuff to my program so I'm not sure what's making it load slower now. [editline]20th October 2010[/editline] I guess it was. I managed to make my program avoid those exceptions, and now it loads as fast as it ever did.
[QUOTE=BlkDucky;25540353]You should really use a nice font when you show this off. :v:[/QUOTE] I don't want to make it look better than it actually is. :P Anyone wanna monkey with it and see if they can break it?
I'm now using an array m[16] in my matrix class with m[row*4+column], but I forgot OpenGL expects matrices with column-major order and this happened :byodood: [img]http://dl.dropbox.com/u/2399384/matrix%20fun.png[/img]
[QUOTE=Jawalt;25540483]Thick fonts, thick women, thick is the shit.[/QUOTE] Well when you say that, thick shit may not be good for your toilet.
[img]http://gyazo.com/391fab10b64a91f5ed7ecc154c2e7de3.png[/img] [img]http://gyazo.com/c98f8a8a7cedbb12ad799c7d1a13d6b6.png[/img] You can have any amount of items needed for a recipe, I just need to work on actually finding items now. :v:
[QUOTE=geel9;25541421][img_thumb]http://gyazo.com/391fab10b64a91f5ed7ecc154c2e7de3.png[/img_thumb] [img_thumb]http://gyazo.com/c98f8a8a7cedbb12ad799c7d1a13d6b6.png[/img_thumb] You can have any amount of items needed for a recipe, I just need to work on actually finding items now. :v:[/QUOTE] Please implement word wrapping
[QUOTE=The Inzuki;25541265]Well when you say that, thick shit may not be good for your toilet.[/QUOTE] oh god i was drinking water [editline]21st October 2010[/editline] it's EVERYWHERE
[QUOTE=geel9;25541421][img_thumb]http://gyazo.com/391fab10b64a91f5ed7ecc154c2e7de3.png[/img_thumb] [img_thumb]http://gyazo.com/c98f8a8a7cedbb12ad799c7d1a13d6b6.png[/img_thumb] You can have any amount of items needed for a recipe, I just need to work on actually finding items now. :v:[/QUOTE] First Minecraft clones, now TextCraft clones!?!?
[QUOTE=VeryNiceGuy;25541717]oh god i was drinking water [editline]21st October 2010[/editline] it's EVERYWHERE[/QUOTE] So is the toilet water. --- Anyone know a good documentation for winsock2? Or maybe even a decent library? I've tried the networking library with SFML but not much of a success (I must be that stupid) and I'm not sure if boost.asio would be useful.
Currently working on a Last.fm ripper just for fun. I have everything coming together, demo later? [Maybe.]
[QUOTE=Overv;25541110]I'm now using an array m[16] in my matrix class with m[row*4+column], but I forgot OpenGL expects matrices with column-major order and this happened :byodood: [img_thumb]http://dl.dropbox.com/u/2399384/matrix%20fun.png[/img_thumb][/QUOTE] Ludicrous speed!
[QUOTE=SamPerson123;25540549]Is the try-catch thing in C# very expensive? I added that and some file stuff to my program so I'm not sure what's making it load slower now. [editline]20th October 2010[/editline] I guess it was. I managed to make my program avoid those exceptions, and now it loads as fast as it ever did.[/QUOTE] Exceptions are relatively expensive, but that doesn't matter because exceptions should only be thrown under exceptional circumstances. If your program is throwing exceptions often in a loop or whatnot and aren't handled properly, that's simply a bug in your program (or misuse of exceptions).
[QUOTE=jA_cOp;25542530]Exceptions are relatively expensive, but that doesn't matter because exceptions should only be thrown under exceptional circumstances. If your program is throwing exceptions often in a loop or whatnot and aren't handled properly, that's simply a bug in your program (or misuse of exceptions).[/QUOTE] Yeah, I have realized how stupid I was being. It was getting literally thousands of exceptions every time my program started up.
Wow, I just realized how easier I could have made map creation in Left 4 Dead 1.5. I could have done how Gang Garrison 2 does it. I guess I'll just redo Left 4 Dead 1.5 completely, seeing as how it takes up a lot of CPU..
I finally added a function to draw spheres (without gluSphere!). Off to bed now. [img]http://dl.dropbox.com/u/2399384/sphere%20normals.png[/img]
Sorry, you need to Log In to post a reply to this thread.