@# 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 8 9 10 11



Comments:

<0> (sorry for paste, but..)
<0> #include <stdio.h>
<0> int main(int argc, char **argv)
<0> {prinf("what?");}
<0> 2 lines :)
<0> *3
<1> try #c
<1> key is main
<0> sorry?
<0> i'm doing something completely obvious, but I can't work it out
<1> you're also doing something completely C
<1> so try #c
<0> well, the rest of the code I cut out is c++
<0> as is the rest of the app
<0> but if i must..
<2> good day everyone



<2> can someone help me go through with how to install Boost library
<2> there is some silly bugger advertising another chanel
<3> hello ,
<3> anyone can help me , i wanna open a URL and hide it
<3> and shellexecute with SW_Hide aint working , its oppening Internet Explorer
<3> btw for the Antis , its just a counter of how many ppl used my EXE :) thats all :) lol
<4> I don't think you want to use ShellExecute() with a URL if you don't want a browser
<4> use libcurl or something
<3> i want a simple way
<3> when someone launch my app
<4> that is a simple way
<3> it opens a URL hidden
<3> hmm
<3> can u plz post a sample code ?
<3> thank you :)
<3> cn28h ur goin to do that ? :) or am just ignored :(
<5> madoo
<6> kthx
<5> http://www.google.com/search?hl=en&lr=lang_en&safe=off&num=50&q=http%20request%20wininet&safe=off&sa=N&tab=gw
<5> See if you can come up with something that way, madoo.
<3> thx JBlitzen :>
<5> You're welcome
<5> Note that a lot of people run firewalls that will block your thing and skew its results
<7> http://msnbc.msn.com/id/11499977/
<7> check that out
<5> I saw that, how cool
<5> Wonder if it goes much deeper
<7> yeah, well, I"ve been there
<7> in fact, if you look closely
<7> you can see me sitting the pilot's seat of one of th ehelicopters
<5> Haha
<7> oh
<7> I didn't fly it in
<7> that's just where I was sitting when the picture was taken.
<8> hi all
<5> Sure
<8> how do i read an int from a file, i have an ifstream already, but need to know how to get an int instead of a string
<5> How were you not able to figure that out on your own, rhino
<5> You have a book, you have documentation
<5> You have google
<5> You have a professor
<5> TA, fellow students
<5> This is basic file manipulation
<8> ok, thanks anyway
<5> http://www.cplusplus.com/doc/tutorial/files.html
<5> Try there
<5> Actually, that doesn't cover input, strangely
<5> http://www.cs.hmc.edu/~geoff/cl***es/hmc.cs070.200401/notes/io.html
<5> That's a little better
<5> Basically, create your ifstream object, open a file with it, make sure the file is open, and then do >> from your ifstream
<8> i have that
<8> mystream >> myInt
<8> give me a garbage number in myInt
<5> Well
<5> That doesn't really help us help you
<8> but, that is what you just told me to do:
<5> Maybe you didn't open the file properly, or maybe you opened the wrong file
<8> <5> Basically, create your ifstream object, open a file with it, make sure the file is open, and then do >> from your ifstream
<5> Or maybe you got the file format wrong
<8> no, no, and no
<5> Or maybe you never actually hit that read line and you didn't initialize myInt



<5> There aren't many other possibilities, it's got to be one of those
<8> ok, thanks
<8> bye
<5> Unless you screwed up the output of myInt so that it only looks wrong.
<5> Boy, that's six minutes I'll never get back
<6> lol
<3> JBlitzen can you please post a sample of HttpOpenRequest ?
<3> i just want it to open that url silently!?
<5> I don't have a sample of it
<5> But it or something like it is how internet explorer works
<5> So, just figure out how that works, and do it
<5> I think it's wininet
<5> Use the google, luke.
<3> i ve been googlin for the last 18 hours
<3> my eyes are googled already :<
<5> http://groups.google.com/groups?q=httpopenrequest+sample
<5> Fourth thread looks promising
<2> wow so many response
<3> thx again JBlitzen :)
<5> Yah
<5> For the record, google won't tell you anything that sifting through the docs wouldn't, it just might make it easier
<5> When google fails, it's time to tear apart the API
<3> JBlitzen the problem is that code is bigger than my application :P
<3> i though i can do it in a simple way :)
<5> Yeah, but if you do it this way, you can brag to your friends that you hand wrote code that does the same thing internet explorer does
<5> .net has pretty simple url request techniques
<5> MFC has it a little easier than straight wininet or whatever
<5> And I'm only 50% sure that's the right direction anyway
<3> ya.. i read that in google
<5> But sometimes you just have to pull your socks up and wade into it to find out
<3> btw , that sample doesnt have anythin to do with httpopenrequest
<3> its httpopenfile or somethin like that
<3> :">
<3> http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/6ae40913be6346dc/dca0fa93863f5806?lnk=st&q=httpopenrequest+sample&rnum=6#dca0fa93863f5806
<3> is that what am looking for ?
<3> hdl = InternetOpen(...) ;
<3> session = InternetConnect(hdl, "www.somesite.com", port, ...) ;
<3> req = HttpOpenRequest(session, "POST", "page1.asp", ...);
<5> I DON'T KNOW
<3> JBlitzen hehe k k :p
<5> :)
<5> What the
<5> That's C#
<5> Oh, I guess not
<5> Anyway, you know what to look for, now.
<5> Night
<0> anyone about?
<0> i was hoping to get to the bottom of this: i am reading from a file then writing back to it. the new data is smaller than the old data. what can I do to "wipe" the rest
<0> ?
<9> read the file, delete the file, write the new data to it
<10> or read the file, write to a new file, delete the old file, rename the new file
<10> look up std::remove and std::rename, iirc
<10> or use a system-specific api to truncate the file after modifying it
<11> oh my god
<11> this chan is till here
<11> wow
<11> Noidea is stil here
<12> wow wow omg omg omg
<12> :P
<13> hey guys. What is the opposite of Init? I have an initialization method <<init()>> and a ........?
<13> not really c++ question, but eh...
<12> erm..
<12> none?
<13> :)
<12> it gets deinitialized on destruction
<12> certainly
<13> Finit()? :)
<14> .ma ... it's very likely that this is a hoax.
<15> _m_
<15> isn't curl just for linux usage ?
<16> google it
<17> where can i find c++ code for google bot
<18> schar_t *a; a->size = 2;


Name:

Comments:

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






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

#MissKitten
#apache
knoppix dq965
#linux
nrg unpack linux
#linuxhelp
#chatzone
assholefeever
#chatzone
nickfun



Home  |  disclaimer  |  contact  |  submit quotes