| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<lck> binrapt, where are you from? <OlaRune> here are the swedish dialects, i'm mostly like "torhamn" but not really <OlaRune> http://swedia.ling.umu.se/snabbmeny.html <binrapt> lck: Germany <binrapt> Heh, there are many dialects in German, too <OlaRune> that's not alla <OlaRune> that's just the strange ones <OlaRune> all* <binrapt> I speak Hochdeutsch but I can imitate others, of course <lck> i like germanyish <binrapt> Hochdeutsch is like the uhm pure, official German :P <lck> it's porn lang number one <OlaRune> can anyone hear wich R i have? <binrapt> Swedish? Rolled <OlaRune> http://swedia.ling.umu.se/snabbmeny.html <OlaRune> torhamn
<OlaRune> dialects you know <OlaRune> ;) <binrapt> Yeah, rolled <binrapt> I listened to the MP3 <OlaRune> this one is almost exactly mine <OlaRune> http://swedia.ling.umu.se/Gotaland/Blekinge/Torhamn/ym.html <OlaRune> i don't know, sounds more like some kind of throatvlearing <OlaRune> clearing* <OlaRune> everyone whines on my Rs <OlaRune> :( <binrapt> Oh well, the quality isn't that good <OlaRune> well gtg <OlaRune> see ya'll <binrapt> It's not a rolled-tongue-R then, if you say so <ricebowl> vi ses <OlaRune> see ya <binrapt> Like the standard German one ;) <binrapt> Ah, Lojban j is like french j in jour or jeux <binrapt> Jbovlaste <- sounds nearly Russian <ricebowl> yes, Lojban j is more accurately transcribed as zh <binrapt> Zh? I know that combination only from pinyin :) <ricebowl> zh is how it is normally transcribed except in the languages which use z with caron <binrapt> And it means like d + voiced coronal sibilant in that case <upb> morning rice :) <ricebowl> morning upb <binrapt> Lojban programming IRC channel would be supernerdgeek1337 <chucara> I have a slight problem, that I hope someone can help me with. I need to create a serial interface for a program, but I haven't worked with serial communications before. I know exactly what to send, but I need functions for sending it. Does anyone know of a tutorial or library that will do this? I've tried googleing, but been unable to find it <binrapt> Sheesh. Lojban is cheat hax. <[eloi]> chucara: if you're coding for windows, i find that googling for [win32 serial] is most enlightening <[eloi]> e.g. http://www.codeproject.com/system/chaiyasit_t.asp <[eloi]> http://www.google.com/search?hl=en&q=-afeghghtwgrhfqpefhr3pgh3rpg&btnG=Google+Search <[eloi]> a search for every google-indexed page that doesn't contain "afeghghtwgrhfqpefhr3pgh3rpg", which is to say, all of them <[eloi]> "Results 1 - 100 of about 9,670,000,000" <lck> can i use string lol=system("uptime"); cout << lol; <lck> ? <[eloi]> no, because system returns an int <[eloi]> (the exit code of the process that it ran) <lck> blah <OlaRune> which library is all the (system(xxxx); in? <[eloi]> you can do system("uptime > file"); ifstream file("file"); string lol; file >> lol; cout << lol; <lck> unistd.h <OlaRune> thanks <[eloi]> no, stdlib.h <lck> oh <OlaRune> ok <lck> sry <[eloi]> unistd.h is a unix header; system is standard C and C++ <OlaRune> np <[eloi]> btw, there are unix API functions for getting system uptime, in case you wanted to go that route <[eloi]> at least, i thought there were... hmm <[eloi]> there's a /proc/uptime file on linux, but i don't know how to interpret the data <lck> i wonna make something usefull <lck> but have no idea of what <[eloi]> also on unix, there's the popen function, which lets you open a pipe to a process (input or output, but generally not both) <lck> i should make some crypt func... <matja> make an os <matja> in java <lck> blah <matja> then it'll be nice and portable <lck> *stab*
<lck> i really really hate java, i rather make a os in html <epic_> i got a terrible memory leak(s) in my code, a delete in the end on all the pointer objects should do it right? :) <matja> actually someone made a unix clone in javascript <lck> i need some electronica, can't code with out electronica <[eloi]> b***drive.com <[eloi]> or so i'm told <matja> drum and b*** m***iv <[eloi]> actually, i find dogsonacid.com to be most useful <[eloi]> check out pendulum and concord dawn... wo0t <[eloi]> matja: damn right <matja> i have a few pendulum tracks on vinyl :) <matja> mixing ace of base - all that she wants with pendulum & fresh - tarantula is fun <matja> "alll that she wants, is another TARANTULA *B***LINE*" <[eloi]> heh... that might just work <[eloi]> wait, that's where you broke it? hmm... i was thinking that the intro happens to be about right <matja> i mess arround with all sorts of unlikely tracks :) <[eloi]> how about dire straits - money for nothing vs. revolting cocks - d'ya think i'm ***y? <matja> beck - loser, is exactly 88 bpm <matja> very handy for mixing with dnb <matja> :) <matja> and it has that nice drumbeat <matja> oh i forgot this was #c++ <[eloi]> muwahaha <[eloi]> epic_: when your app exits, all the memory it allocated will be freed automatically <[eloi]> epic_: there's technically nothing wrong with the program int main () { new char[1000]; return 0; } <[eloi]> however, if it's a long-running program, a memory leak can snowball into a big mess <[eloi]> i remember when i used to run winamp under windows 95... if you left it running overnight, you *had* to reboot in the morning <[eloi]> and i think i concluded that the leak was actually in 95, not winamp <matja> ive never heard revolting cocks - d'ya think i'm ***y <matja> got an mp3? <einride> heh "c++ subroutine" <einride> http://www.turboexcel.com/freetrialnewc5.htm <mr^ed31> einride: used it? <einride> yes it's the core of all my development :P <einride> i'm not sure whether it's intended to be a joke or not though <mr^ed31> i wonder who would buy this thing <lck> do you like computers? *singing* <lck> if i have int i=67; char p=(char)i; would then p=a or something like that <lck> never mind <[eloi]> heh <[eloi]> p would equal 'C', actually <[eloi]> 'A' == 65 <lck> know <lck> if im gonna check that argv exists should i use if(argc!=2) <[eloi]> define "argv exists" :) <mr^ed31> hi im installing visual studio 2005 <[eloi]> technically, you're supposed to check if argv != NULL, but i've never seen the case where that *isn't* true, so i don't bother (nor do 99% of the population) <lck> so i don't need it <lck> good <[eloi]> beyond that, argc is the number of elements in the argv array, including the command itself... if there's one param, then argc == 2 <[eloi]> and argv[0] would be the program's name and argv[1] would be that param <siit> doh.. better check the clipboard before pasting :p <lck> Segmentation fault <- what does this mean? <[eloi]> lck: your program tried to read or write memory that it wasn't allowed to read or write, almost always due to the use of a bad pointer <einride> invalid memory reference <lck> aww, dosent sound good <[eloi]> no, likely it's not :) <Nedds> This code compiles, but it doesnt want to do what i want. It always shows X=0 and Y=2 .. I'm using GetConsoleScreenBufferInfo() .. : http://rafb.net/paste/results/C2egQH49.html <einride> Nedds: maybe try to reread the position after changing it? <_kriz> int Cat::GetAge() <einride> Nedds: and take into account that cout << std::endl will affect the position <_kriz> error C2628: 'Cat' followed by 'int' is illegal (did you forget a ';'?) <_kriz> weird0 <_kriz> i typed that example from a c++ book <_kriz> and vc++ cant compile it :\ <lck> omg, im a ****ing moron, i used int leng=atoi(argv[2]) <lck> should used argv[1]; <Nedds> einride aha it works like that :/ then i cant use it like i wanted to? <einride> i have no idea what you wanted to <Nedds> wanted to know the position of the mouse-cursor..
Return to
#c++ or Go to some related
logs:
Xmanster script ps2 dnas disk id #hotsex THE _____ REVOLUTION BEGAN IN 1905 ON 'BLOODY SUND #wow.no #hotsex nethack, desecrating altars #us tdzk irc log
|
|