« first day (1008 days earlier)      last day (1420 days later) » 

Dan
2:39 AM
can anyone help me with a grep question? I have this text: '12345-12-12:' - I want everything except the colon (:), this can't be too hard yet everything I try returns nothing (I tried grep '[^:]'
 
1 message moved from Lounge<C++>
 
 
2 hours later…
4:30 AM
Anyone here on a Mac?
I have been getting reports of some bizarre behavior with my Java App on macs
I would go to NSChat, but nobody is there.
 
If its a Java app why not go to the Java room?
 
Abandoned as well...
 
not a support chat btw
 
I know
 
And definitely not for Java. ;)
 
4:33 AM
8 messages moved from Lounge<C++>
 
 
3 hours later…
8:02 AM
Hi I have problem with my MPI app stackoverflow.com/questions/20170511/…
 
1 message moved from Lounge<C++>
 
 
9 hours later…
4:35 PM
|-------------------------|
| Text |
| |
| |
| |
| |
| |
|-------------------------|
lol
fail
|------------------------------|
|Text Text Text Text Text|
|Text Text Text Text Text|
|Text Text Text Text Text|
|Text Text Text Text Text|
|Text Text Text Text Text|
|Text Text Text Text Text|
|------------------------------|
this is a listbox
 
kinda
 
could we shut up about listboxes now please
 
Sorry, just trying to help out jeffrey
 
user1804599
Bin it.
 
Ell
4:38 PM
 
lol
 
user1804599
Bin that too.
 
I've 11 integers splitted by any number of whitespace characters. I've to take the 8th one. Can I manage it with stream's ignore() function ?
 
listbox
 
4:40 PM
16 messages moved from Lounge<C++>
 
Can anyone explain me what this means?
listBox1.Items.AddRange(new object[]
{
"Item 1, column 1",
"Item 2, column 1",
"Item 3, column 1",
"Item 4, column 1",
"Item 5, column 1",
"Item 1, column 2",
"Item 2, column 2",
"Item 3, column 2"
});
 
Ell
@user3024598 how do you not understand that >.<
 
user1804599
Nov 15 at 16:45, by rightfold
I want a hybrid of C++ and AWK.
 
Ell
or rather
 
user1804599
:P
 
Ell
4:44 PM
which bit don't you understand?
 
user1804599
@user3024598 It adds a lot of items to a list box.
 
@rightfold nice, I'm still unstarted with F#
 
@rightfold ..as described in the docs for ListBox.
 
I am not a violent man, but the next person to bring up listboxes will be punched in the nose
5
 
It says there should be a seperator in the code.
 
4:46 PM
@user3024598 There is, ','
 
@user3024598 "It says"? What is "it"?
 
@rightfold should I add stream >> std::skipws ?
or its always there by default ?
 
user1804599
@NeelBasu I don’t know a lot about streams, don’t ask me. :P
 
So there is a seperator? ___________________________
 
This is the Internet, there are communities and forums for everything. By rule 34, you can presumably even find listbox porn if that's what you're into. But this is not Lounge<Listbox>
 
user1804599
4:46 PM
But AFAIK, whitespace is skipped by default.
 
AAAAAAAAArrrrrrrrrrrrrrgghhhhhhhhhhh! I should have stayed at the club.
 
"," creates a seperator or what?
 
user1804599
@JohanLarsson it’s quite nice. :)
 
AAAAAAAAArrrrrrrrrrrrrrgghhhhhhhhhhh! I should have stayed at the club.
 
@user3024598 Do you mean the comma inside of the quotes, or the comma at the end of the line?
 
user1804599
4:47 PM
@user3024598 new object[] {} is an array of objects.
 
I'm going to sleep.
 
user1804599
new int[] {1, 2, 3} is an array of three integers.
 
the comma after column 1-2
 
user1804599
new object[] {"foo", "bar", "baz"} is an array of three strings all upcast to object.
 
user1804599
@NeelBasu if you are using an existing stream like std::cin you might want to explicitly add it since it might have been overridden in previous code. Screw global mutable state.
 
4:48 PM
@user3024598 You need that comma between the elements, that's just the way the language is defined.
 
Well i was asking if theres a "_____________________" - seperator in the code?
 
@rightfold its ifstream
 
@user3024598 What the hell are you asking?
 
user1804599
@NeelBasu Whitespace should be skipped by default then.
 
If there's a line seperator
___________________
Like this
but in a code
 
user1804599
4:49 PM
Plonk.
 
I still have no idea what you're talking about.
________ certainly isn't valid JavaScript.
 
user1804599
@FredOverflow It is.
 
It is? What does it mean?
 
> certainly
 
user1804599
@FredOverflow It’s a variable reference expression followed by an implicit semicolon. It’s like foo; in C++.
 
4:51 PM
I meant if somewhere in the code there is a line seperator?
Line seperator = ____________
Like a coded line seperator
 
user1804599
Of course, ________ must be defined.
 
'int x = _______________'
 
I mean you cannot say new int[] { 1, 2, 3 ________ 4, 5, 6 ________ 7, 8, 9} and expect a two-dimensional array or something :)
 
would that define it
 
user1804599
4:52 PM
@FredOverflow jsfiddle.net/3pa9H
 
user1804599
@FredOverflow No, of course not. What the fuck.
 
user1804599
@user3024598 No.
 
user1804599
int _______________ = 42; would.
 
How do i use it after i define it?
Like to show after every 3rd line of text
 
user1804599
Well, _______________.
 
4:54 PM
mm apparently glm::ortho doesn't exist
 
what's 42 for then?
 
user1804599
I suggest you read a book about C# before continuing asking questions.
 
user1804599
Until you do, plonk.
 
lol
 
user1804599
(Someone bin this entire discussion of doom please.)
 
4:55 PM
Puppy!!!!!
 
@user3024598 Wait, I think I finally understand what you're asking. I made a screenshot. Is this what you mean by seperator?
 
I explained 10 times, _______________________
 
You really have to work on your question asking skills.
In programming languages, the term "separator" means something entirely different.
 
4:56 PM
@FredOverflow wow
 
Fuckin' menu section separators? After all that?
 
I corrected myself line seperator _______________
 
@user3024598 What language are you using?
 
user1804599
@FredOverflow C#.
 
4:59 PM
4
Q: How to show a divider between items in a ListBox?

VidereI am using a ListBox control in a Windows Phone 7 application, and I would like to show a divider/line between the list rows. I have not been able to find any information about this, although many (not wp7) ListBox examples seem to have a divider.

 
That's html or something like that
 
79 messages moved from Lounge<C++>
 
 
2 hours later…
7:14 PM
Anyone know how to delay a code from a button? (like a 2 second delay)
Can i somehow delay only parts of a code from 1 button with this System.Threading.Thread.Sleep(300); if yes, how?
 
C# question?
 
user3010322
 
user3010322
Where you can get free reputation.
 
user3010322
And smiles.
 
Since i'm currently trying but it's delaying the whole code when i click the button
Don't you know the answer?
 
user1804599
7:19 PM
We don’t know C#.
 
user3010322
Thread.Sleep does what it says on the tin: it makes the whole thread sleep for 300 milliseconds.
 
@user3024598 This is a C++ room, either ask on Stackoverflow or the C# room or something
 
user3010322
So of course your code stops. It's doing its job.
 
user3010322
Why are you making your UI seem unresponsive in the first place?
 
I'm trying to make a progress bar with it
@ThePhD - The result of the button goes to a listbox. Can i delay the listbox's text show( not the code starting time, but the time the text will show) ?
 
7:22 PM
13 messages moved from Lounge<C++>
 
2 messages moved from Lounge<C++>
 
 
1 hour later…
8:32 PM
notifyIcon1.Icon = new Icon("1385316269_41123.ico");
What's wrong with this code?
 
user1804599
@user3024598 new is used.
 
2 messages moved from Lounge<C++>
 
Without new it ends up being 'System.Drawing.Icon' is a 'type' but is used like a 'variable'
 
1 message moved from Lounge<C++>
 
8:45 PM
Hey Guys
i gtg now
but please check this out
tell me if you like my code
cya <3
 
6 messages moved from Lounge<C++>
 

« first day (1008 days earlier)      last day (1420 days later) »