Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

Cristoff

@Cristoff
About
Posts
112
Topics
34
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Global array question [modified]
    C Cristoff

    That's very interesting thank you!

    C / C++ / MFC help data-structures question

  • Global array question [modified]
    C Cristoff

    Wow! Amazing explanation! Thank you so much! :)

    C / C++ / MFC help data-structures question

  • Global array question [modified]
    C Cristoff

    Thank you! It was a lame problem. BTW Very interesting article.

    C / C++ / MFC help data-structures question

  • Global array question [modified]
    C Cristoff

    Thank you for your reply. Well, my code is supposed to be a C code.

    C / C++ / MFC help data-structures question

  • Global array question [modified]
    C Cristoff

    I've declared an array like that in a header (the code should be a pure C code): int someMap[MAPSIZE_X][MAPSIZE_Y]; and I want to use it as a global variable. The problem is if I include that header in another file I get a linker error that this variable was already defined and I'm really stuck here and I have absolutely no clue what's going on and how I'm missing the point. If I use static it is fine but it isn't global any more. "extern int gameMap[MAPSIZE_X][MAPSIZE_Y];" doesn't work as I'm expecting. I get the linker error even if I don't use the array in any files.

    modified on Thursday, April 7, 2011 6:34 AM

    C / C++ / MFC help data-structures question

  • --i not equal to i - 1 ???
    C Cristoff

    The first line was enough! Thank you very much! Sometimes, well maybe most of the time I'm so stupid. That's so obvious!

    C / C++ / MFC question

  • --i not equal to i - 1 ???
    C Cristoff

    In the following function replacing "number - 1" does not yield the same correct result as "--number"? Why is that so? Am I'm missing something? int sum( int number ) { int result; if (number == 1) return number; else { result = sum(number - 1) + number; return result; } }

    C / C++ / MFC question

  • WindowState.Maximized -- How to get the proper size of the window? [modified]
    C Cristoff

    I have a borderless window. A double click on it maximizes it - WindowState.Maximized and WindowStyle set to None. Now I'm trying to get the proper size of that window so that I resize the internal controls. My screen resolution is: 1280 x 800 SystemParameters.MaximizedPrimaryScreenWidth 1288.0 double SystemParameters.MaximizedPrimaryScreenHeight 778.0 double What are these two properties supposed to return actually? Why the width is larger than my screen and the other one smaller? (on my screen visually the windows is OK) ---> Gets a value that indicates the height, in pixels, of a maximized top-level window on the primary display monitor. ---> Gets a value that indicates the width, in pixels, of a maximized top-level window on the primary display monitor. ??? Or SystemParameters.FullPrimaryScreenWidth - 1280 SystemParameters.FullPrimaryScreenHeight - 744 What is the proper way to get the system metrics in WPF? Or there isn't one? SystemParameters.VirtualScreenWidth SystemParameters.VirtualScreenHeight

    modified on Friday, August 14, 2009 7:15 AM

    WPF question csharp wpf tutorial

  • Need an advice about starting a raster drawing program with WPF
    C Cristoff

    Todd Smith wrote:

    God only created a single man. That man in turn is responsible for the current mess we're in.

    That's exactly what a spammer does: he creates a software (for example) that produces all the spam mails. Do you think that the spammer writes all these mails by hand, I don't think so? So did God before that: he made the ultimate spam and garbage producing creature - the man that is capable of self reproducing the ultimate dream of a spammer-god!

    WPF csharp question wpf graphics learning

  • Need an advice about starting a raster drawing program with WPF
    C Cristoff

    I disagree. God is the biggest spammer of them all. He created man!

    WPF csharp question wpf graphics learning

  • Need an advice about starting a raster drawing program with WPF
    C Cristoff

    Danke! The suggestion seems like a good idea! Thank you!

    WPF csharp question wpf graphics learning

  • Need an advice about starting a raster drawing program with WPF
    C Cristoff

    Pete O'Hanlon wrote:

    Cristoff wrote: God helps those who help themselves So, you're saying that John is God. Please don't - his ego will run rampant. Cristoff wrote: P.S. You've missed your opportunity to make a good deed today and help yourself gather credits for the heaven and you've made an evil one. One day you'll have to answer for your sins! Not a good way to get others to want to help you.

    I don't know John. I've seen his name around here but I don't know anything about him. But you're correct in your assumption. :) And I'm also being sarcastic :laugh: or maybe I'm trying to preach to him some morale and save him from getting into Hell :laugh:

    WPF csharp question wpf graphics learning

  • Need an advice about starting a raster drawing program with WPF
    C Cristoff

    John Simmons / outlaw programmer wrote:

    I would help you further, but I have a somewhat acidic sense of humor, and I merely enjoy watching those who worship me struggle with their day-to-day problems. Then, just as things start going for the better for them, I randomly snatch away their pitiful life, reminding them of my presence. I always get a chuckle out of the surprised look on their faces.

    I also have a sense of black humor. And I never refuse flaming. I like every opportunity to exercise my English. I just don't think that it's appropriate to spam a serious forum. :)

    WPF csharp question wpf graphics learning

  • Need an advice about starting a raster drawing program with WPF
    C Cristoff

    John Simmons / outlaw programmer wrote:

    I only help those who help themselves.

    Yeah! "God helps those who help themselves" - I know that proverb! What a senseless discussion! Not only you are not helping me but you are wasting my time by making me check your posts. Thanks a lot! ;P P.S. You've missed your opportunity to make a good deed today and help yourself gather credits for the heaven and you've made an evil one. One day you'll have to answer for your sins! :laugh:

    WPF csharp question wpf graphics learning

  • Need an advice about starting a raster drawing program with WPF
    C Cristoff

    Nice advice. I've done it. And now if you tell me how to draw pixels on the screen you'll be my God!

    WPF csharp question wpf graphics learning

  • Need an advice about starting a raster drawing program with WPF
    C Cristoff

    I'm sorry about bothering you with such noob question! I'd like to start programming a simple raster drawing program for WPF with layers, etc. (something like paint.net) as a learning project. Do you have any ideas where should I start? I've tried to find similar projects to look at for ideas on google but I couldn't. What components and base classes are suitable to try?

    WPF csharp question wpf graphics learning

  • Haft Sin هفت سین [modified]
    C Cristoff

    For Christmas (that is 5 days before New Year) we also put 7 types of food on the table. What a coincidence. :laugh: :laugh: :laugh:

    The Lounge com

  • A Database Design Problem - Catalogue
    C Cristoff

    Thank you! Interesting suggestion. I'll think about it. It could do the job!

    Database database design help tutorial question

  • A Database Design Problem - Catalogue
    C Cristoff

    Thank you! What I have in mind for example is the product browser of the website http://www.farnell.com This site is huge. Mine will be very small with not that many items (compared to Farnell) and with few users. I have difficulty to accept the idea with NULLable columns yet, because because I might end with dozens and dozens if not hundreds of columns. Thank you for the remark. A friend of mine also told me: "Forget about that OOP way of thinking". I'll think about my problem a little while longer.

    Database database design help tutorial question

  • A Database Design Problem - Catalogue
    C Cristoff

    I don't understand how to do that yet.

    Database database design help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups