@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> Hm isn't the title bar in the client rect?
<1> that's my problem, the client space should not include the title bar
<0> Ask Microsoft to redesign Windows
<1> I have to position a dialog box relative to the top-left corner of the client space
<1> now here's the problem
<1> if you run the same software on windows 95, the title bar is smaller
<0> Can't you get that size from GetSystemMetrics?
<1> Hmm... I haven't tryed
<1> tho, it's really dumb... why would I call getclientrect if I already know that the top-left point is always 0,0?
<1> just to get the size of the window... come on...
<2> because it's a rectangle.
<1> and how do I get the real client space offset?
<3> is C# the same as C++/CLI ?
<2> you use ClientToScreen and subtract the window rect
<2> 's upper-left corner
<2> gribouille: Absolutely not



<4> gribouille, they are two separate languages for developing on the .NET platform, the first (C#) is already an ECMA standard, and the second (C++/CLI) is undergoing standardization now
<4> and once C++/CLI is ECMA standardized, it will be fast tracked for ISO standardization
<3> If I understand correctly, C# is MS Java and C++/CLI is MS C++
<4> http://msdn.microsoft.com/visualc/homepageheadlines/ecma/default.aspx
<4> for the standard draft
<5> it's a microsoft-driven standard afaik.
<5> Do any other companies actually decide what is or not in the standard?
<4> The following organizations have participated in the work of Ecma TC39/TG5 and their contributions are gratefully acknowledged: Borland, Dinkumware, Edison Design Group, International Business Machines, Microsoft Corporation, and Plum Hall.
<4> as well as a bunch of people from the ISO C++ Committee
<4> and Bjarne
<4> i'm not sure how the C++/CLI standards committee will be constructed
<4> it is, right now, very microsoft driven and specific, but the CLR is easily ported to different platforms (the Framework is another matter)
<5> isn't mono just that?
<4> so far mono has been pretty successful in porting a good deal of the Framework to other platforms, the biggest hurdle, i think, has been System.Windows.Forms
<5> a CLR implementation?
<4> it's also an implementation of the Framework
<4> Rotor is an example of just the CLR
<5> I think mono already implemented System.Windows.Forms
<5> Not sure.
<4> they did once, with GTK# bindings, but decided to redo it
<5> ah
<4> they also tried doing it with Wine as well, i believe
<5> Is there any implementation of C++/CLI for other systems?
<4> the final solution was to implement something that drew everything itself
<4> not that i am aware of
<5> that ****s.
<4> mono has working C# and VB compilers, but i don't think they have any intention of doing a C++/CLI compiler (it'd make more sense to modify gcc)
<4> as C++/CLI supports templates, it's as daunting a task as doing a ISO C++ compiler
<0> There are probably a billion more programmers who want C#, compared to the ones who want C++/CLI
<4> yeah
<5> It'd be nice to be able to port c++/cli programs to other systems.
<4> while the source isn't portable, the safe ***emblies it is capable of producing (which means no native code, so one of the big selling points for C++/CLI is out of the window) could be used by mono
<4> i didn't emerge any of the experimental 2.0 mono support, so haven't tried it yet
<4> their current roadmap is to have mono 2.0 out by the end of the year, so i may try it then
<5> I heard of someone attempting make a gcc module or something for c++/cli
<5> not sure exactly how.
<4> http://forge.novell.com/modules/xfmod/project/?cxxcli
<4> C++/CLI, also known as Managed Extensions for C++
<4> couldn't be more wrong...
<4> heh
<5> That's the only thing about .NET microsoft is going to keep modifying it and mono (and other implementations) will always be behind.
<4> clsk, that's no different than Java, if you think about it
<4> third party JVM's have to catch up
<5> true
<5> I dislike java.
<4> the difference being that microsoft isn't committed to it being a portable platform
<0> Specs are known before release anyway
<5> that's what they're trying to sell though.
<5> Why would they be trying to make it a standard then?
<4> well, what self-respecting C++ developer would even consider C++/CLI were it not being standardized?
<4> that's still different from .NET itself, though
<4> the CLR/CLS stuff is ECMA standardized i believe
<4> i'd have to check on that
<4> the Framework is not
<4> CLR/CLS/CLI, too many CL acronyms
<5> Indeed.
<0> CSI too
<4> Common Language Runtime, Common Language Specification, Common Language Infrastructure
<4> indeed, but that's fake
<4> yep, CLI is ECMA-335
<4> the CLR is considered part of the CLI, i gather



<4> all the marketspeak is confusing
<5> How come microsoft didn't try to make them ISO standard?
<5> It sure is.
<4> ISO takes more time, mostly. i'm not sure if they're moving for either the CLI or C# to be ISO standardized, but C++/CLI will be
<6> yeah, given how fast they are on c+0x
<4> i wish people would avoid calling it managed c++ though, it's still too close for comfort to the disgusting managed extensions to c++
<4> harris for senate in florida? are they crazy?
<4> hahaha
<1> I found a work around for my problem
<1> I've made a static control in the corner of the dialogbox, and everytime I need to move my tab-dialog boxes, I do it relatively to that static control)
<1> :)
<6> peterhu why not?
<6> just because the Democrats went ape **** when she was just trying to do her job
<6> and the Democrats were wrong, _wrong_, WRONG
<6> though they certainly got a lot of press ***erting that she was the problem
<6> then again, the Dems have never been particularly good at reading the laws
<7> HEy guys, I have an array of strings a[100], in the array it goes a[0]='1' a[1]=',' a[2]='1' a[3]=',' a[4]='3' My question is how can i convert them into an array of integers, withouthe the commos, I try'd atoi(a[0]); but got an error
<7> anyone can help out
<5> explain an array of strings
<6> '1' isn't called a string by anyone
<7> sorry an array of characters
<5> std::string a[100]; ?
<7> char a[100];
<6> 1) why are you playing with arrays?
<5> ok now.
<8> they are already ints then, just small ones
<8> (eg, char size)
<6> how do we know when you've finished w/ the chars that have meaning?
<6> is this for school?
<6> is this really C++ or is it C?
<7> this is c++
<7> i'm reading them from file
<6> and why are they in an array?
<8> I think he needs stol on the array
<8> but that is a guess
<7> i'm reading a txt file that has numbers 1,1,3 (new line) 1,1,4
<5> He needs to use ifstream and std::string. That's what he needs.
<7> well the way i'm reading it from the file is
<6> I don't care HOW you're doing it
<6> WHAT do you need to do?
<7> I need the char as ints
<6> no
<8> heh
<6> you have a file, it has numbers
<7> yes
<7> seperated by commas
<6> what result do you need (and separated by newlines)
<6> it's really a shame that people seem to think putting commas in makes thing easier
<0> Text files are a shame
<0> Except maybe for xml
<6> you'd prefer binary??
<7> I need the individual number 1,1,3 is first row, first coloum, number 4
<6> xml is bull**** (as used)
<7> naw... I'll i need is to read the files and use the numbers
<7> as integers
<6> are the "lines" significant?
<0> xml is fine
<6> too wordy, and difficult to parse easily
<0> Why would you parse it
<7> well each new ling as a new 1,2,4 on it
<6> so you can READ it and get the info from it
<7> the file kinda looks like this
<7> yes
<9> xml is more comprehensive and human-readible though
<0> That's what xml parsers are for
<7> i ream it in with
<7> a[i] = file.get();
<0> So why would you write your own
<7> and it gets each character
<6> because the ones that exist are ****
<0> Heheh, so basically you **** at XML, ok, I get it now ;)
<6> actually I understand it better than most, Ashe`
<0> Yet the 350 different parsers which share almost the same interface are all crap
<7> any suggestions here....


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#networking
#javascript
#slice
#chatzone
#AllNiteCafe
#java
#linux
#MissKitten
disable flash in firefox
#javascript



Home  |  disclaimer  |  contact  |  submit quotes