@# 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



Comments:

<0> it's just... well I said it, it's ridiculous
<1> neat, heh
<2> rdragon-wrk you are a great programmer so tell me something
<3> bwahahaha
<0> hmm
<2> In order to implement the neat VS6 "Press any key to continue" kind of feature, how about I output an exec to my program to a bat file, and then prompt for any key in that bat, and then run that bat file.
<1> uh
<1> how about
<1> you don't
<2> The bat will be created from scratch.
<2> So what do you suggest?
<1> how about you just run it from a console, or don't run with the debugger attached if you're in VS
<2> I am not in VS
<1> well, what are you in?
<2> I am currently compiling Pi ADL to MSIL



<0> s/in/on/
<2> And then I want to give the user a run button to test the ***embly
<2> So when he presses Run, he gets the program, and when the program terminates, he gets 'Press any key to continue'
<4> ...
<2> And this Run actually does something useful
<2> As opposed to the one on this chan
<4> Someone pressed me
<1> i'm not a microsoftie
<1> talk to peterhu
<1> no, Run
<2> So peterhu, since you are even a greater programmer, what do you suggest?
<1> see: <2> And this Run actually does something useful
<1> you didn't answer my question
<2> me or Run?
<1> you
<2> I wrote this little UI to the compiler.
<2> Nothing to do with VS
<1> huh?
<1> a console ui?
<2> Right now yes
<2> Because the purpose of the exercise is to demonstrate that we can compile our core language to .NET
<2> The compiler is not a console UI
<2> Its a simple windows GUI
<1> I completely don't understand wtf you're on about
<5> how do you open a mssql connection in c++?
<1> i'd suggest ado.net for that
<5> can i implement ado.net in dev-cpp?
<3> why not redirect the output to the UI?
<3> (IRR)
<1> cool, you can 'throw grenades'
<1> well, i can
<3> marp-: there are c++ libraries for mysql, i suggest google
<2> rdragon, peterhu: http://putfile.com/pic.php?pic=6/15621572919.jpg&s=f5
<3> note i've never used one
<1> wtf is this?
<2> peterhu thats not a bad idea
<5> peterhu; read mssql
<3> Process.Start has an extremely easy way to get a text reader for the child's stdout, and reading it to the end
<2> ok let me try that
<3> compared to the pita DuplicateHandle, CloseHandle, ReadFile, WaitForSingleObject
<3> there are also ways to spawn a console app so that the console is not visible
<3> (obviously Visual C++ does this to redirect cl.exe and friend's output to the Output Window)
<2> Does Process.Start also take care of the stdin?
<3> you can write to stdin if you want to
<3> Proccess.StartInfo.RedirectStandardOutput and friends
<3> also CreateNoWindow
<3> myprocess.StandardOutput.ReadToEnd()
<3> obviously that will block until the process terminates
<1> im outta here
<3> yay!
<3> oh you mean just for tonight?
<1> but i'll return!
<3> doh
<1> no, until i get home ;)
<3> likewise, you could have a worker thread read each line, and invoke to the main thread to print to the GUI
<2> hmm..ok
<2> Well later on, I'll give the language the ability to invoke .NET libraries explicitly...
<6> hi all, please help me urgently
<6> is someone online ?
<7> "Just ask!"
<8> haha



<9> cipexpert: I don't know about "urgently". How about "languidly"?
<6> guys
<6> i`m confused
<10> you're taking an exam right now? :P
<6> i don`t know what compilator to use for c++ graphic programs
<6> i mean for api
<6> visual studio is good ?
<5> omg
<5> this is urgent!
<6> what ?
<9> cipexpert: What API do you want to use?
<6> for windows
<9> People seem to be pretty happy with VS.
<6> but i saw that all editors have it own code
<9> Editors have their own code?
<6> i mean that in visual studio c++ is a diferent code than in devc++
<6> sorry for my bad english
<6> i mean that
<6> in devc++ is one code and in visual c++ another
<6> i thourgh that c++ is the same in all editors
<9> GUI programming isn't part of C++.
<6> so what you recoomend me for api c++ ?
<9> Don't know. I can tell you this much: it ****ed to use the Win32 API directly.
<6> i took a code from visual studio c++ and pasted it in devc++ and got 1000 erors, why ???
<6> is not the same code ?
<9> cipexpert: What are the errors?
<6> a lot
<6> but it was compiled successfull in devc++
<6> and when i tried to compile it in visual studio got a lot of errors
<6> why ??
<6> i`m realy confused guys
<6> please help
<6> :(
<9> I'll say. Go back and read what you said. Which one is it?
<6> anybody help me please
<6> for example : getline(outfile, line);
<6> this doesnt work in vusla studio
<6> but in devc++ work
<6> for example
<10> what's the error?
<6> wait
<9> sk8ing: Who cares? Help him!
<10> :))
<6> :(
<6> c:\Documents and Settings\1\My Documents\Visual Studio Projects\1\1.cpp(9): error C3861: 'getline': identifier not found, even with argument-dependent lookup
<6> #include "fstream"
<6> #include "iostream"
<6> using namespace std;
<6> main()
<6> {
<6> ofstream outfile;
<6> outfile.open("Asda");
<6> outfile<<"asdasD";
<6> getline(outfile, line);
<6> }
<6> this is the code
<6> and got errors
<6> why ??
<6> in devc++ work well
<6> but in visual studio no
<6> why ?
<6> :(
<6> nobody help me ?
<0> probably not, but if you keep the pressure they probably will
<0> or kick you
<6> so anybody can help me
<6> why in dev++ work and in visual studio c++ no
<6> nobody know ?
<0> because it's not supposed to compile
<0> dev C++ is bloated
<6> so what can i do now
<6> bloated ?
<0> read your book
<6> so devc++ or visual studio is better for c++?


Name:

Comments:

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






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

#linux
#java
#php
PERLHOME windows
#php
+realtime +translation +conference +bridge
prodigy romica puceanu
#AllNiteCafe
desktop balckbox
causes bakers itch



Home  |  disclaimer  |  contact  |  submit quotes