• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Search results

  1. MrSeanKon

    C# fans join here!

    I think no. But I am not 100% sure. The first editions did not support unsafe code programming such as pointers. But the latest editions of course support pointers. On the other hand you can embed C or C++ code inside C# easily. Thus no problem :)
  2. MrSeanKon

    C# fans join here!

    You mean ANSI C?? :rolleyes: Not C++ (whatever edition MFC or Visual C++ etc)... I thought that C# is one of the slowest programming languages. Aleksander of course C# is easier compared with Visual C++, MFC damn is too difficult!!
  3. MrSeanKon

    Good components for Visual Studio

    The domain name chartall.com is for sale :cool: Well here is the main link which has references to many components!
  4. MrSeanKon

    c++ if else help

    Thanks Vinska for your post. I would type something like that but I did not it (I explained above the reasons). Asylum focus to the photos. Both are simple codes. But Visual Basic (as Pascal) protect you from run time bugs avoiding compilation. Simply, Visual Basic does not allow to compare...
  5. MrSeanKon

    C++ extension

    The photo is taken from C++ Primer Plus by Stephen Prata (Waite group => famous in 80s & 90s).
  6. MrSeanKon

    c++ if else help

    Our friend would to create a simple program and result matters instead of using ANSI C or C++ statements. Of course scanf & printf can read and write strings. But it is a beyond of my scope to post more code about this => off topic.
  7. MrSeanKon

    c++ if else help

    First of all, I am not a programmer. Basically I am a hobbyist. I started programming in pure ANSI C (scanf, printf, getchar etc) 20 years ago reading C step by step by Waite Group and I did not program in C++. That's why I am not familiiar with cin, cout etc and posted that. Of course cout...
  8. MrSeanKon

    Kreij,Tatty & BP Get Tossed Into The Lion's Den

    Happy coding Kreij! :D if (Kreij_becomes_super_moderator) MrSeanKon_will_be_banned=true; else MrSeanKon_will_be_banned=false;
  9. MrSeanKon

    c++ if else help

    I cannot understand why you declared three integer variables but they store characters.... :rolleyes: One the other hand cout, cin etc...... They suck! :p Use printf, getchar instead ;) Anyway I modded your code and runs OK under Visual C++ 2010. Do the rest moddifications. #include <iostream>...
  10. MrSeanKon

    Ram - clock vs timings

    Yeap Sysoft Sandra is a multibenchmarking program, it monitors and informs for your system etc....
  11. MrSeanKon

    Custom timer creation in C# (Windows Form)

    Nice. Well many times during the last three weeks I was thinking how can I add an extra parameter in timer's tick. Is it possible??? :rolleyes: Or should I create from beggining a custom timer to do this. Here is other one good approach :)
  12. MrSeanKon

    Ram - clock vs timings

    Try Sysoft Sandra. MemTest shows a value although it is a stability program mainly. Beside of them I don't suggest RAM voltages >= 1.65
  13. MrSeanKon

    Custom timer creation in C# (Windows Form)

    A lambda expression is an anonymous function that can contain expressions and statements, and can be used to create delegates or expression tree types. All lambda expressions use the lambda operator =>, which is read as "goes to". The left side of the lambda operator specifies the input...
  14. MrSeanKon

    Using namespaces and time dispatcher for images animation (WPF C#)

    Readers download the new attachment. Although I am new to OOP (object orient programming) I knew that. But I was too nervous and hurried for almost 2 days :confused: and I would to solve my issue as soon as possible. That's why I searched to many pages and this one confused me enough, because it...
  15. MrSeanKon

    C# fans join here!

    Although I am not a professional programmer, I learned about C# in 2005. Then I loved and I still use it. Nowdays I am trying to extend my knowledge on advanced topics. BTW I read ANSI C and C++ books sometimes. Beside of them talk for yourself :) :toast: I wish to be friend with many TPU C#...
  16. MrSeanKon

    Using namespaces and time dispatcher for images animation (WPF C#)

    No, total namespaces are two. The main (its name is Game) and the secondary (its name is paixnidi => παιχνίδι = means game and pronounced paixnidi). Try to download the files first. Have you got Visual Studio? If not, it is not a problem => open with Notepad MainWindow.xaml.cs files.
  17. MrSeanKon

    Using namespaces and time dispatcher for images animation (WPF C#)

    The first attachment includes a non ultimate code; imagine that you have to animate 10 cards => 10 different time dispatchers??? => this sucks! :laugh: But I uploaded it just to show you how we can bypass this problem by reusing code. Yeap the solution is an extra namespace. Someone may say...
  18. MrSeanKon

    Sticky thread(s)

    No doubt it is useful right now, but after 1 year for example since CPU models are changing someone he/she should create a new poll (version 4) and so on. In this case your thread should be unstuck, because many stickies discussion here
  19. MrSeanKon

    Execution must freeze between animations (C# WPF)

    Kreij means something like this but the problem is XMAL usage. To be more specific sometimes the same cards must be animated in order (separately during deal) and other times not (when you pick cards from green baize all grabbed cards must be animated simultaneously). This cannot be written in...
  20. MrSeanKon

    Execution must freeze between animations (C# WPF)

    Before testing your solution Kreij I made a code based on Ford's idea. But needs improvements! It is impossible to create different timers & timer event handlers for each card. I think it is simple for both of you to rewrite a smaller code :)
  21. MrSeanKon

    Execution must freeze between animations (C# WPF)

    Well pressing the button both cards are animated. Sometimes it is necessary, but other not. How can I freeze the code execution? :rolleyes: I mean that during 2 of Clubs animation the King of Hearts "must wait" for completation and then starts. One solution I think is by adding a timer but this...
  22. MrSeanKon

    Enable visual styles in WPF application

    EUREKA! Steps: 1) I made a Windows form (HostWPF namespace, Form1 is the form). 2) I added a reference => System.Windows.Forms.Integration which contains classes that enable interoperation between the Windows Forms and WPF technologies. When you use System.Windows.Forms.Integration classes, you...
  23. MrSeanKon

    Enable visual styles in WPF application

    I also find this but it does not work too. Source code is simple; it does not enable visual styles. Am I wrong?? :rolleyes: :rolleyes:
  24. MrSeanKon

    C++ small tutorial

    This is called recursion or not? :rolleyes: Because I remember now the recursive algorithm of Fibonacci formula.
  25. MrSeanKon

    Password safe: Start your safe and simplified digital life.

    Well some days ago our forum hacked. Admins suggest us to reset our passwords. Many of us are members to other forums/sites also. Password safe is a good utility which helps to maintain multiple passwords. Download it here and enjoy!