| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> anyone know about symbian programming ??? <0> <0> or CDMA BREW programming ?? <0> anyone know about symbian programming ??? <0> <0> or CDMA BREW programming ?? <0> anyone know about symbian programming ??? <0> <0> or CDMA BREW programming ?? <1> how many times you gonna ask? <2> vawjr: looking at the templated operator overloads, won't the members of fstream and non-templated overloads be used first? <1> I don't see why <2> overload resolution rules make me dizzy <1> Kniht IF you have a bfstream, then fstream's stuff will never be looked at <1> one of the guys where I work, took that code and made a "netstream" derived cl*** which does the appropriate ntohs, ntohl, etc <1> so that numbers get output in "network order" <2> yeah, it looks that way, because the ICS for that parameter is better for the bfstream overload <2> that's the default for my cl***es, which I implemented as a separate heirarchy and used streambufs, but I overloaded for each built-in type instead of templating <1> huh??
<2> network byte order is the default for my cl***es which are similar to your bfstream <1> oh, well I wrote the one that leaves things alone, so someone could write network ordering on top...and someone did. I didn't work there at the time he did it either <3> yoo <3> :) <4> this language is dead <5> o...k... <6> Which language? C++? <4> no, it's not... but this chat is <6> I think inactive would be a better word. <6> I mean, have you seen a lot of dead chatrooms with 79 users? <4> i don't know, this is my first day of IRC chatting <7> I think he meant English, English is dead <6> English sure is dead. Nobody speaks it anymore. Like latin. <3> lol <1> cogito, ergo sum. <8> If I want to try my luck with a C++ compiler, is Visual C++ Enterprise a good choice for a Windows user? <3> erare humanum est <7> Pukeye in Slovakia? <4> we all speak russian of course <1> UrbanSage which flavor? <3> i've developped my own language thanks to C & ASM :) <4> me too, i called it Pascal <3> lol <3> mine is not pascal <4> it was a homework to school in fact.. <8> flavor? ok, redefine my question, I have no experience with programming except for a bit of Java. whats a good place to begin? <3> mine exists since 5 years <4> mine is two weeks old <3> :) <4> is there any thread support in C++? <1> UrbanSage get a compiler <1> try here for free stuff ... http://www.thefreecountry.com/compilers/cpp.shtml <1> I recommend the books here: http://rudbek.com/books.html <1> books will be a lot more coherent than running around trying to find stuff on the web <1> Pukeye not in the core language <4> hm <5> www.boost.org <1> Pukeye there aren't many languages that support threads in the "core" <8> isnt Visual C++ a compiler? will it do what I need it to do untill I have a better understanding of the language? <1> I asked what version of Visual C++ you had <9> Visual Studio has a compiler <8> im downloading 4.2 enterprise ATM from msdn <1> why? <10> Isn't that VC++ for CE? <1> yes, and it's a piece of **** <1> it's based on 6.0 <8> because I thought it would be able to get me started with C++ <1> stop downloading it now <10> You can download VC++ Express from MS' website <4> yes, i know, i actually need it to my Java program... i need "pause" function, which pauses program untill i click the mouse... .can you reccommend me some thread primitives (not necesarily in Java) <8> ok, whats not a piece of ****, and will be a good place to begin for a newb <7> calc random <2> random = A random number generator: To initialize the random number generator call srand(time(0)); Then, to set the integer x to a value between low inclusive and high exclusive: int x = int(floor(rand() / (RAND_MAX + 1.0) * (high-low) + low)); (floor() not necessary if high and low are both non-negative.) <1> UrbanSage did you look at the 1st link I posted? <8> not yet, but now im about to ;) <8> thanks, ill take a look at it <1> Pukeye nope, cant really think of any <4> come conditional variables won't do it? <1> and the way MOST GUI programs run is they don't do ANYTHING unless the user does something <1> so "wait for mouse-click" seems like an odd thing to "need" <4> true, but i need "pause" routine for my (programmer's) comfort
<4> i write a code and at a lot of places, it should be "paused", u know... <11> QU|LLa puedo llenar el canal ? <1> Pukeye no, I don't know <1> lPor English, please <10> Pukeye: breakpoint <4> :) <11> xD <11> JacKToo: <9> I hate those xD smilies, they look like... not a smile <11> surement une routine propre a eux <12> Any of you gentlemen have decent experience with the recent G++ linker? <13> only with the G spot <12> Hey, that works ;) <14> g++ linker? <12> yeah, MingW, ld.exe? <14> ah ld <14> well, I use it. That's about it. <12> Do you know a few things about using it, or only through the g++ frontend? <14> I've had to use it directly before. <14> Why don't you go ahead and ask the actual question <12> Very well. ld.exe doesn't recognize an object file generated by NASM. I'm trying to figure out how to link a nasm program to a C++ one. <12> I don't know much about the linker, and I'm not finding abundant examples on google. <14> hm <14> ld file file -o binary iirc. <1> what do you mean "doesn't recognize" ? <12> it didn't like the format of the obj file generated by nasm. <1> llikely <12> Which I don't understand. It looks like a regular object file to me. <14> ah <12> IT doesn't tell me why it doesn't like it. Just complains about it. <1> makes sense to me <1> what do you want it to tell you? <1> you likely need an ***embler that outputs the same object text as g++ <12> It would help if it told me what format it expected, or what version of that format. <1> that wouldn't help you any <12> Hmmm, asm86, probably? <1> where did you get nasm from? <1> have you looked at the docs on ld ? <1> man ld for example <12> well, it's supposed to be at nasm.sourceforge.net, but that doesn't seem to work anymore, like a lot of sourceforge sites. <12> It's been around a while, and I like it. <12> I've got the ld docs open, but they really aren't telling me what I need to know. Other instructions pretty much just say to link the two object files together like I've been trying. <12> I know nasm is still being developed, because they just released the next version. <7> gnu has its own ***embler <13> Yeah, GNU, the animal <12> Does it matter that I'm using minGW? <13> That's a biggest sin! <12> huh? <7> mingw should build ***embly <12> I thought obj was a standard format... <13> ;-) <7> not at all <12> well, more or less agreed upon <1> not even close <12> as86 seems to be the nonstandard format. <12> At least according to my ***embler docs. <1> how did you run nasm? <12> nasmw -fobj asmcallmain.asm -o entry.o <1> and which ld are you using? <12> The asm program is just a stub to call a C++ compiled main that prints hello world. <12> ld v2.16.97 <12> I don't want it to do anything fancy, just go from point a to point b, and return to caller (the OS) <1> what is the name of the file produced by your g++ ? <12> main.cpp <1> no, the output file <12> or main.o <12> I just ran it with g++ -c main.cpp -o main.o <12> ld doesn't seem to have a huge issue with that one. <1> nasmw -f elf asmcallmain.asm -o entry.o <15> hello <15> i have two threads <1> according to the docs I have for nams (just downloaded) <15> and when i'm trying to call a method <15> i got an error that there is a failure check
Return to
#c++ or Go to some related
logs:
#AllNiteCafe #javascript prince jlz the nautical term for a distance of three miles #php emerlads streak
#chatzone #gentoo qanpiena CONQEARONLINE
|
|