Tinix's Profile User Rating: -----

Reputation: 11 Tradesman
Group:
Active Members
Active Posts:
55 (0.05 per day)
Joined:
07-May 11
Profile Views:
1,591
Last Active:
User is offline May 02 2013 03:36 AM
Currently:
Offline

Previous Fields

Country:
SK
OS Preference:
Windows
Favorite Browser:
Internet Explorer
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0
Icon   Tinix has not set their status

Posts I've Made

  1. In Topic: Computer randomly freezes

    Posted 10 Feb 2013

    I checked event manager nothing interesting there, I could try running on the Intel Graphics that is in processor for while, but i dont have diferent memory sticks avalaible. And also because of the random nature of the freez it is very hard to test because sometimes it appears once a month sometimes once a week and sometimes once a few days.
  2. In Topic: get/set property of the property?

    Posted 4 Nov 2012

    Quoting MSDN on this error:

    Quote

    This error occurs because value types are copied on assignment. When you retrieve a value type from a property or indexer, you are getting a copy of the object, not a reference to the object itself. The copy that is returned is not stored by the property or indexer because they are actually methods, not storage locations (variables).

    It basically means that the value that is retruned by get is read-only as it has no varaible assigned to it (it is only on stack). This does not apply to classes as C# passes those through reference not by value.
  3. In Topic: Code Golf: Get sum of positive integers from a set

    Posted 21 Sep 2012

    View PostSkydiver, on 21 September 2012 - 08:49 PM, said:

    View Postatraub, on 21 September 2012 - 08:55 AM, said:

    Python 2.7 implementation:
    import sys
    print sum([int(i) for i in sys.argv[2:] if int(i) > 0])
    #55 chars C/C++ guys (2.x let's me get rid of parens around print statements for an extra 2 characters off!) 
    
    
    :D


    :) Nice. Next thing you know, we'll have some Perl hacker come in at around 45 characters. :lol:

    Maybe I should have stipulate that the input is coming in from standard input or the console, not the command line.

    I saw one scoreboard for this problem and the top one was PERL with 6 characers.
  4. In Topic: Code Golf: Get sum of positive integers from a set

    Posted 21 Sep 2012

    View PostSkydiver, on 21 September 2012 - 04:00 PM, said:

    View PostTinix, on 20 September 2012 - 10:48 PM, said:

    91 For GCC
    Spoiler


    Nice attempt at trying to save that extra character. Unfortunately, by dropping the semi-colon after the for loop statement to save the extra character, you end up not printing then sum of the numbers entered. Try "2 3 4". The final output should be 7, but your program prints out "03".

    I swear that semicolon was there earlier. Anyway it was 91 with semicolon so the character count does not change.
  5. In Topic: Code Golf: Get sum of positive integers from a set

    Posted 20 Sep 2012

    91 For GCC
    Spoiler

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Programming Languages:
C#, VB.NET,Pascal,C++

Contact Information

E-mail:
Private

Comments

Page 1 of 1
  1. Photo

    gilviernes Icon

    15 Feb 2012 - 09:05
    Sir pls can u help me in my C++ problem?
Page 1 of 1