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



Comments:

<0> thanx Dreadfull
<0> LOL Sweetbreads
<1> Dreadfull?
<2> lol
<0> DrkMatter i try Dev-C++
<0> and im working fine
<1> Well, that sounds... If it works, eh?
<0> yes
<0> is working
<3> =)
<4> sleepless? if you can't sleep, just drink more
<1> I don't drink. =P
<4> ahh, that explains it ;)
<4> well, it certainly makes one sleepy
<4> if one drinks enough



<5> you're telling me!
<6> sal stiti vreunu visual basic?
<7> Why would you ask that in a C++ channel?
<7> try somewhere more sensible - like #vb, maybe?
<8> its Sais o.o
<7> 'tis I ;)
<8> hello =)
<7> Morning. Didn't know you were a C++ person...
<8> well... i'm not :P
<8> but i want to learn
<8> i'll really start learning in march when i quit my job and my brother gets back from england
<7> formally?
<7> or by yourself? The guys in here are -usually- quite helpful :)
<8> by myself :P
<8> but my brother will learn with me
<8> i already know vb.net and all the oop theory
<8> so its not so bad
<8> i just need to learn the syntax ect.
<7> Always good to have a mini-project to play with to learn
<7> (imho, at least)
<8> >_>
<8> well i'm also interested in opengl :)
<8> so i've been playing with it and c++
<7> I noticed
<8> but i dont really know c++ at all... so i just use other peoples code to help me.. and then i put whatever opengl stuff i like into their code :P
<7> n-am_chef: aici e canalul despre C++. nu despre VB.
<6> pai ma gandesc si eu ca o fi vreunu bun la toate
<6> :)
<8> what language is that o.o
<8> spanish? or portuguese or something?
<6> arabic
<8> O_O
<9> :s
<7> romanian
<8> thats more like it :P
<7> My romanian goes about as far as "This is a help channel for mIRC" ;)
<8> lol
<8> i'm gonna get some food
<8> bbiab
<7> mata
<8> ne
<10> if i have char name[20] as member variable, how do i intialize it with '\0' in the constructor's initializer list? A():name[0]('\0') ??
<11> Rather than answer that, I'll ask why you're using char[] at all - is this for storing a string?
<11> hmm. +1 for latency
<10> Asriel, i am asked to use char*
<10> is there any way to do it?
<11> A bad idea in general, for . Lobby for use of the STL
<10> Asriel, am told not to use STL now
<10> i mean, by my proffesor.
<12> can you return two variabels from within a function (with return)?
<13> in a struct maybe
<10> Bjprn-, you never ever can return more than one object
<14> DontDo: You can use reference arguments to p***ing more than one value from the function back to the calling program.
<14> Bjprn- not DontDo :)
<10> :)
<12> thanks guys!
<15> hi. When running an open file dialog (GetOpenFileName()) in windows and the user changes the path, say from something/prog/ to something/prog/data the current path is changed, and when the progrqam tries to open a file without full path, it can't find the file. How can I save the current path before running the openfile dialog and reset it after?
<14> OgreWolf: #vc++ probably ?



<11> (Get|Set)WorkingDirectory
<15> meyrn: jupp, but it's just windows programming
<15> thanks Asriel
<15> Asriel: where do I find GetWorkingDirectory, is it a cl*** function or defined in a specific header?
<16> try putting it into google ogre.
<16> you may be surprised!
<15> i tried
<13> i think it's an api function
<15> :P
<16> it's a win api
<15> ok
<11> hmm, maybe its not GetWorkingDirectory then
<11> I have, thank god, not writing any windows specific trash for years now
<11> Ironic how bad MSDNs search interface still is. I wonder if they deliberately make it so absolutely terrible, it's the only explaination I can think of
<13> well u should use google instead i think it's better
<11> ah yes, it's GetCurrentDirectory
<11> part of the "We can't possibly share terminology with a unix machine, even if it's 10 times more sensible than the crap we'll choose" mentality
<11> heh, don't get me started on google. the last 3 things I've wanted from it, it's totally failed to find
<11> hell, 8 pages it gave me yesterday were 404
<11> They need to spend less time on Google Gimicks, and more on their damn search engine
<15> :)
<14> :)
<10> what all are the parameters for cin.clear() ?
<10> oops, my bad
<10> nev mind
<17> are there any online resources that offer good exercises for C++?
<17> I'm trying to learn C++ (again - I was familiar with C++ a long time ago, pre-STL)
<18> http://people.jyu.fi/~pejopeku/taustat/hoff_fridaypose.jpg
<19> i'm linux user , i use anjuta ide for c/c++ i can't find graphics.h how can i got it ?
<20> WTF is "graphics.h"?
<19> it's header file in which i can draw line and circle ... etc
<11> twas part of the BGI, thankfully long dead
<21> hellou
<21> :)
<21> anyone from romania ?
<22> romanians mostly
<21> :D
<21> good
<21> and u?
<20> D-N-A: you won't get any BGI stuff in Linux.
<20> (unless some illminded person ventured into re-implementing BGI)
<22> bgi was cool...20 years ago
<20> Actually, it wasn't.
<20> Do you recall what names Borland used for different colours?
<22> not really...
<20> The were royally inconsistent.
<22> i've trouble rememberingyesterday
<20> E.g. 'white' vs 'yellowColor'
<20> (or was it colorYellow?)
<22> clCyan maybe
<19> _m_ , pvt plz
<20> no, no private messages please.
<20> I've already got enough windows open.
<19> sorry
<19> so how can i draw lines and circles with gcc
<19> what is the called header file?
<20> I've never drawn any lines or circles with gcc.
<22> crayons are good
<20> There are many different graphic libraries for Linux.
<20> You might want to look into SDL (which is a portable graphics library).
<20> (google for SDL to get help)
<19> ok thnx
<20> (SDL very likely is supported by your Linux distribution)
<10> i want to read max 20 characters from user. if the user is entering <20 chars, store it to the variable, if > 20, then ignore the rest of the chars. for this, i wrote
<10> cout<<cin.getline(cust_id,20);
<10> cin.clear();
<10> cin.ignore(10000,'\n');
<10> but now the problem is, if the user enters <20, its waiting for one more '\n' ., how can i avoid it?
<10> is there any way to know, how many characters read by cin.getline()?
<10> other than using strlen(cust_id) :)
<20> Why don't you use std::string and std::getline?
<10> _m_, i was told to use char *. not yet allowed to use strings
<20> wow, that ****s.
<10> can i use getline() on char * ?


Name:

Comments:

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






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

Parazitzii - Cum Sa Jignesti O Femeie
privat pinays
#linux
#AllNiteCafe
header parent iframe php
amarilis romaneste
#linux
#AllNiteCafe
#AllNiteCafe
#c++



Home  |  disclaimer  |  contact  |  submit quotes