« first day (3346 days earlier)      last day (1585 days later) » 

9:25 AM
good morning
 
9:49 AM
Good morning
 
I'm alone on the level as programmer
saturday workday...
 
10:12 AM
Anyone doing native android here, I've been rejected in the Android chat room because I'm note 4:3 q:a :'(
 
10:58 AM
? which you need higher?
they want to filter out leeches, or opposite?
 
11:33 AM
they require to answer more questions, now I'm 4a:1a
 
12:17 PM
*4q:1a
give something back to the community
I'm 0.1304
 
Good afternoon
 
my questions earn a lot of upvotes recently, and.. now, Stackoverflow appreciates questions as answers.. right?
 
I initialized a class in the constructor but then it suddenly equals null.
I wonder why it's so.
I also assigned deckSize a value in the same constructor, and it's not null, it's okay, it equals 52, as it should be.
Would such question be too stupid to ask on the main site?
I'll try to tinker with it))
 
@mshwf yeah. It's hard to ask a good question
 
exactly, it helps the community also
 
12:28 PM
@CopperKettle you hid the field myDeck when you defined it locally in the constructor
so you are setting the local variable at clsCardDeck myDeck = new clsCardDeck();, not the class scope field
it should be myDeck = new clsCardDeck();
 
Thank you! It works!
I would have never guessed.
I'm trying to solve a task in a textbook.
Acey Deucey, also known as Yablon, In-Between, Sheets, Between the Sheets or Maverick, is a simple card game that involves betting. == Rules == Before the action, each player must add their ante into the pot. Two cards are then dealt face-up to one player. That player then bets from nothing to the amount that is in the pot at the time whether or not the third card will numerically fall in between the first two. If the third card falls in between the two other cards, the bettor takes the amount he bet out of the pot; if the third card falls outside of the two other cards, the bettor must add...
The task involves writing a simplified version of this game.
 
I wrote Solitaire many moons ago
after I hand drew all the cards, and stuff, someone mentioned they are in system32, you can use up many already existing resources
2
 
1:26 PM
hello guys
 
 
3 hours later…
4:46 PM
Good evening
@ntohl Cool!
For some reason Visual Studio keeps telling me that index is out of range, and it isn't, it equals 0, which is in range.
The string has 13 letters, thus I set up the loop to repeat until i == 12
Ah! I got it. Haha.
The card1 string is empty, so card1[0] is out of range.
I wonder how could a programmer understand exactly what is out of range if a single line contains two strings.
Each of the two may be out of range, is there a way to know for sure?
 
5:18 PM
I would first check the length of the 2 arrays, than call card1.Zip(card2) and go from there
Btw instead of screenshots write some formatted (ctrl+k) code
 
5:32 PM
What is Zip, I wonder.
 
5:45 PM
I looked up the briev explanation of Zip in the Visual Studio's hover message, and understood about 0%. But thank you for the suggestion. Maybe I'll understand it later.
 

« first day (3346 days earlier)      last day (1585 days later) »