| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> avalon == Windows Presentation Foundations (WPF) <1> though I ***ume a good amount of win32 support will still be there <2> It'll be available on XP and 2003, too. <2> And Win32 is still fully supported on Vista. <3> i'm going to bed, going to have sweet dreams involving an AK47, RPGs, and charter <2> heh...later <4> Solamente, i know it's out of subject my question but do you know XHTML w/ CSS ? <2> Yeah <5> whitewabbit yea me too, I'm teh r0x0r at tableless design ;) <4> Open my eyes w/ something. <4> where do i put for example : <4> p{color:red} <5> whitewabbit in a css file :/ <4> p.group{color:blue} <4> oh
<5> *.css file, added to your page using a <link ... /> <4> so the .html has only the : <p cl***="group" id="one"> for example ? <5> yes <2> <pedantic> To be valid CSS, you need to add a background rule, like background: transparent; </pedantic> <5> be careful with ids <4> okay, let's say index.html <4> and css ? <5> they ahve to be wholely unique <5> whitewabbit generally speaking yo ucan get away with two CSS files <4> something.css <5> however in your case, you probably only need one <4> then how do i do it ? <5> because it doesn't seem like you're using tableless design :) <5> sooooo perhaps style.css <5> but usually you break your CSS out into at least two files -- layout, and style <4> yeah, but how index.html knows that style.css is for it ? <5> whitewabbit <link ... /> <5> in the <head> ...</head> <2> Generally, you have one or two CSS files for every page on a site. <4> give me an example ? <2> That way you have a consistent style. <5> whitewabbit google <2> Then you only keep your content and a (hopefully) minimal amount of structural markup in your pages. <5> whitewabbit that part's so easy man :) to learn what attributes there are for <link /> <2> http://www.parkscomputing.com/html4/ <2> Go learn. <5> w3cschools will have it even <4> okay, <4> thanks buddies <5> whitewabbit to be amazed, go to www.csszengarden.com <5> and see the true power of CSS ;) <5> to appreciate it though you ahve to view source and see how little there is to the source... and then realize that all those pages are generated with the exact same source, but different CSS files and that's the only change <4> wow <4> man i want my site like that <4> not some crappy web page <5> check out all the designs down the left side <5> well, left in some designs heh <5> there are tons of designs, though.. check out the design archives <4> i'm on it <5> http://www.csszengarden.com/?cssfile=/189/189.css&page=0 that one's pretty bad*** <5> I'm dead tired <5> heading to bed... later fellas <4> see ya <4> I designed the site w/ paper first, thank Lord i got a CD w/ Halloween sound effects :P <4> I'm gonna use a ghost logo w/ enviromental sounds, kinda dark. <4> heh, like one of the norton ghost, lol <1> please don't put sounds on your web site :/ <6> Wow. <7> maybe it'll be an mp3 <6> Someone created a Linux fs driver called Captive NTFS. It essentially allows the OS to load NT's original FS driver. <4> why not ? <4> heh <6> Because they're different operating systems, that's why. <4> that's old news <8> they've just let the linux NTFS driver rot over the years <8> probably due to lack fo demand <8> I th ink I'm watching predator 2 <4> reiserfs is way better than NTFS <8> it's so corny <8> perhaps, but that's not the point of having it <4> indeed
<8> even worse, it's a rip off <8> "Code Red: The Rubicon Conspiracy" <4> check this out : <4> http://www.gentoo.org/images/shots/godoisw.jpg <4> That must be Super Karamba, the transparent thing <4> or transparent console <4> i wonder if that person can see in order to code <1> i can't imagine anyone doing anything productive like that <4> me tpp <4> oo* <4> only DDOSes <4> lol <4> it feels hostile, i'm scared of such a view. <9> Hrm... when you declare a char variable, like char p='a'; , then cout<<&p; , why does it throw up garbage? <10> garbage meaning.... what? <1> what do you expect it to 'throw up' ? <9> A memory address, maybe? <1> well, there is a different treatment of a char* <10> ah.. well operator << on char* expects a c-string <9> Instead, the output looks null. <9> Why is it random garbage instead of a memory address, though? <10> does it print the letter a at the beginning of it? <9> No. <9> Wait, yeah. <11> how do i count how many strings are in a file <12> that depends on what *you* consider to be a string <10> well.. &p is a char* right? so operator<< thinks you want to print a C-string (a null-terminated array of characters) <4> CptPotato, first of all, you're on linux ? <11> ya <4> Cause if yes, you should use grep/egrep etc <4> There are utils to help you do that, no need to code something in c++. <9> YUY0x7: Ahhh... so it appends the null at the end. <4> go to a linux related channel and ask there, try #linuxnewbie or #linuxhelp <10> it doesn't append anything.. it goes on until it finds a null <11> ok i read an input file, i use a for and while loop and i can count how many strings i have.. i dont know how to define each string <12> no Lateralus, you're just lucky there was a null <9> Hm. <12> &p has type char*, so it tries to print a string <12> first char being 'a', and garbage up to the first '\0', which may (or may not) be anywhere <12> if you want to print an address go with printf("%p\n", &p); <9> Gotcha. <9> Cool, thanks. <10> or cast to void* or something <12> hmm. yeah, a cast to void* might trick cout into printing its address <12> *shrug* <11> http://pastebin.com/534883 <11> there's what i have if someone can help <13> whats the problem? <10> CptPotato, so you want to store them somewhere? <13> value contains each whitespace delimited token per each iteration <13> err one whitespace delimited token <11> an array maybe?? so arr[2] woul give me __hi!__ for example <13> the number of words is equal to the number of iterations <10> a vector <11> right <13> push the values to a std::vector<std::string> <10> vector<string> or some other container depending what you want to do with the data <14> mmmm vector<string> <11> idk if im understanding... but basically ur saying vectors is the way to go? <11> i'll read up on vectors <13> ***uming you initially wanted an array, yes. <15> CrazyBandit CrEw OwnEz mE! <11> well whatever, i just want to be able to call each string indidually later <14> should I use a set or a vector? <13> well, and no modification later? then vector is best <10> threat, depends on what you want to do <14> YUY0x7, store queued FTP commands <10> <cylon> container choice is http://www.linuxsoftware.co.nz/containerchoice.png <13> then a queue is best, threat... <10> threat, std::queue <14> oh <14> hehe <14> or yes queue and dequeue <10> look at that image, it's a good way to choose a container
Return to
#c++ or Go to some related
logs:
bttv v4l composite vlc #linuxhelp backtrack install harddisk #AllNiteCafe 16 bits image converter raw 565 #php #windows not within configured docroot #AllNiteCafe #c++
|
|