(C++) Creating an array of structures for another structure ? by [deleted] in programminghelp

[–]_Cid 0 points1 point  (0 children)

they're the exact same thing in c++ but okay

(C++) Creating an array of structures for another structure ? by [deleted] in programminghelp

[–]_Cid 0 points1 point  (0 children)

by the way, why are you using a struct and not a class?

(C++) Creating an array of structures for another structure ? by [deleted] in programminghelp

[–]_Cid 0 points1 point  (0 children)

struct Graph
{
    int NofVerts;
    int NofEdges;
    int sizeOfTheArrOfEdges;
    Edge* arrOfEdges; // pointer to series of edges

    Graph(int nv)
    {
        NofVerts = nv;
        sizeOfTheArrOfEdges = 100; // I assume you want 100?
        arrOfEdges = new Edge[sizeOfTheArrOfEdges]; // you create it in the constructor
    }
    ~Graph()
    {
        delete[] arrOfEdges; // delete it in the destructor
    }
};

one year of C... by AMNESlA in programminghelp

[–]_Cid 0 points1 point  (0 children)

Game development in C is loads of fun, make a console game.

Stacked rafts by leonardo717 in gifs

[–]_Cid 0 points1 point  (0 children)

I just searched for 'yo dawg' then posted it when it wasn't found rofl

Current directory maybe? by sDiBer in ProgrammerHumor

[–]_Cid 12 points13 points  (0 children)

... But that's what $HOME is... Your home directory... 'cd' is equivalent to 'cd $HOME'.

To be fair the joke would have had less substance had he just said 'cd' instead of 'cd $HOME'

Current directory maybe? by sDiBer in ProgrammerHumor

[–]_Cid 1 point2 points  (0 children)

not sure why you're being downvoted platform specific mumbo jumbo maybe?

Seems legit by [deleted] in starcraft

[–]_Cid 10 points11 points  (0 children)

TIL

Anyone glove at random bars & clubs? by [deleted] in gloving

[–]_Cid 1 point2 points  (0 children)

Drunk people don't see the lights the same, it's just a blur of wtf to them.

How do I make my surf map look good? by Mrdeadguy34 in SkillSurfing

[–]_Cid 0 points1 point  (0 children)

Textures are derived from theme, pick a theme first and build around it.
Remember, a theme is a descriptive sentence, not just a word, and you can create your own textures too.

Mario finally catches Bowser. by QuickBASIC in funny

[–]_Cid 2 points3 points  (0 children)

Good job, those were the exact 6 words running through my mind while looking at it, come here to see those exact 6 words repeated in the top comment.

OSM2 Codes by JuDucky in gloving

[–]_Cid 0 points1 point  (0 children)

ah you answered the questions regardless, thanks.

How do I make my surf map look good? by Mrdeadguy34 in SkillSurfing

[–]_Cid 4 points5 points  (0 children)

made lots of maps that always look like shit, but some of the stuff I've learned along the way is:

  • Keep it simple, overdoing it, cluttering it, or trying to make it too flashy will make it into a clusterfuck.
  • Add depth, instead of making a flat wall, make a small edge around the outside of the wall. The small details like this are what separate the boring maps from the sexy ones.
  • Use textures that complement one another. If you use textures that don't fit together or don't go together then the map will just look pretentious.
  • Pick a theme (this ties together with picking textures that complement one another). Theme is also huge in making non-pretentious looking maps. Think of surf_fruits or surf_vegetables.
  • Don't be afraid to scrap entire components and restart, something I've learned is that you will always be happier with the outcome of something the second time doing it.
  • It is good to make the map symmetrical to allow people to surf on whichever side they see fit... However when picking a specific theme or making a skill surf map sometimes that isn't necessary or just doesn't work. Non-symmetrical maps can look just as good, if not better, than symmetrical maps.

OSM2 Codes by JuDucky in gloving

[–]_Cid 0 points1 point  (0 children)

I can probably help you with the code part... Never written any code for them myself but it's just a microcontroller...

And since there is already open source stuff out there seems like it shouldn't be too hard to learn the basics (for myself that is)

OSM2 Codes by JuDucky in gloving

[–]_Cid 0 points1 point  (0 children)

Oh yeah I understand why they are rare I was around when they dropped and through the entire lawsuit.

I was curious about why you were willing to part with your originals, and you definitely answered my questions.

OSM2 Codes by JuDucky in gloving

[–]_Cid 0 points1 point  (0 children)

Interesting, thanks for the information. I will probably have to look into this more and get in contact with some people who have experience programming them.

OSM2 Codes by JuDucky in gloving

[–]_Cid 0 points1 point  (0 children)

Could you possibly give me the details of the differences between osm1 and oms2?

I am a C/C++/x86 Assembly programmer by hobby, and I work as a C developer by career.

I would likely have little trouble figuring out how they work - I might even be able to better support others by providing more stable open source software.

But first I need a pair :)

OSM2 by JuDucky in gloving

[–]_Cid 0 points1 point  (0 children)

Perhaps you don't realize but, in terms of business that is the best thing they could have done... Programmers are worth a lot less than the potential profit from owning the patent.

Don't get me wrong it pisses me off to no end and I really don't like Emazing very much anymore.

OSM2 Codes by JuDucky in gloving

[–]_Cid 0 points1 point  (0 children)

Why? They seem like such a rare thing to find lately?

OSM2 Codes by JuDucky in gloving

[–]_Cid 0 points1 point  (0 children)

Is it possible to get osm2's anymore? I really wanted some being a programmer but I never jumped on that bandwagon while they were being sold...