thanx for the answer my question is why exactly is it that when you type cat file it shows the outputs of a file
string filename; }
although not true on windows
cause they use C
My issue is I would have to rewrite the code or make a new class for each dialog box if I were to do it that way
Exceptions to the rescue!
PhyloGenesis, yes you would
PhyloGenesis, i don’t see the problem
as opposed to simply specifying what type of controls, positions of them, etc
PhyloGenesis, in C++, you would create something like Dialog {} then use dialog.run(), and afterwards dialog.getFilename() if nesseccarry
Again, thinking unidimensionally. It’s possible to setup a small kind of framework with a generic dialog proc that you can supply for all similar dialogs.
It would take minimal amount of effort to code the above.
PhyloGenesis, your problem is really only for a non-object oriented API
That’s exactly what I want (I am having trouble understanding how to apply what you said)
concerning LPCREATEPARAMS
and WndProc type functions
ughh i’ve never programmed MFC and i hope i never will
is there any other use for MFC?
This has nothing to do with MFC, MFC just happens to work with dialog boxes, as does wxwidgets
I was being ironic
I haven’t had a chance to look at that page I was given though
PhyloGenesis, i’ve used wxWidgets
I need to, I’ll be back in a minute
my point is this does not have much to do with C++
MFC Vs .NET
*shudder*
PhyloGenesis, the api hosting is bloated and confusing at times but it does its job
frame work
i hate VS2003 2003, so slow
wxWidgets is bloat; the underlying API is fine – badly designed, but bloat is not the issue.
as the compile time
that is not my complaint with wx
you know
hi guys
the GOP would be cool if it weren’t overrun by drug warriors
From what i hear wx is going to make a 3.0.0 release with siginifigant API changes
what did you hear
if you follow any c++ coding standards, what coding standards you guys would suggest?
I would like to hear that.
hello.
!give jtong_ kiss
jtong_, k&r style
Keep It Simple, Stupid. This is the most useful programming idiom.
Always use setjmp() and longjmp(), even when you don’t have to.
hahaha
~goto~
yes, goto
prefer goto to if, while, do, for
I only write C++0x
main()
c++ doesn’t have conditional goto, so you will have to combine if and goto in obscure ways to get the desired result
heck… prefer goto to the sequence control structure. statement1; goto label; ; label: statement2;
the more obscure, the better
blah? goto heaven : goto hell;
why use goto, please don’t
actually, when i do parsing i can’t resist to use goto
(we’re joking)
(I hope)
If you mean conventions, do what the standard library does. That’s a good rule for most any language.
You may be joking…
yeah i mean conventions
but there are young minds to corrupt!
how do you break out of nested loops w/o goto?
Think of the children!
I just read this http://gcc.gnu.org/onlinedocs/gcc/Standards.html … and it made my head heart
thx bhr
I think children are sexy cosplayers.
CoffeeBuzz, bool nestedBreak = false; set to true, test in the nested loop
put it in a function and return
genixpro, 2 extra tests vs. 1 goto?
bah
is there a channel for wxwidgets?
nonsense
thats how you do it
never said you have to
That makes me want to learn Treelang.
yes, ##gaybuttsex
PhyloGenesis, #wxwidgets
PhyloGenesis, no.
!grab Schroeder2
By your command.
did you think of even trying
!lart Schroeder2
lmao, I did
you tried ##gaybuttsex?
Don’t show him the channel!
I thought the same of genixpro when he said #wxwidgets
you guys work to hard to avoid gotos. they have their place.
I thought “that’s an empty channel”, then I realized I used ##, not #
its ok to try new things, just be careful
!kiss
!
Keep It Simple, Stupid. This is the most useful programming idiom.
thanks
!dry
Don’t Repeat Yourself. Every piece of knowledge must have a single, unambiguous, and authoritative representation within a system.
agreed
!wet
did you steel that from Python, silly bot
I did you steel that from Python, silly bot!
GNAT reference O.o
what a weird name
is happy!
wha
and Ada is a normal name?
how you do that?
‘d*
nolyc cylon backwords
it depends where you’re from
blah?
!cylon
cylon is dead. hail nolyc! cylon was http://jcatki.no-ip.org/fncpp/Cylon
did hump Figs leg
I did hump Figs leg!
Hi all, I’ve got data stored in a std