|
paras_s12 wrote: NOW AM I WRONG SIR
PLEASE TELL ME
Ok: you are wrong.
BTW, your errors are probably due to the fact that your compiler thinks you are shouting at him. See, your keyboard seems to be broken (caps lock doesn't work properly). And compilers are vexed easily.
|
|
|
|
|
sdkl;ja;ht;au4tajgfbm,.sm,.vz.v x ZKLHOPuaEAHm,lgjjdfa;dfuoasdfjkl;ajflho
Sorry; there was a spider on my keyboard.
"The difficulty lies, not in the new ideas, but in escaping from the old ones."
-- John Maynard Keyes, 1936
|
|
|
|
|
xbh'f" xbh'f" xbh'f"
i've splashed the spider :->
|
|
|
|
|
hello . I wrote one program white some toolbar . I can change the language of them. But now itn't update automatically . I have to close the toolbar and open it again to change the language . I want to know how can i update it automatically.
|
|
|
|
|
Call RedrawWindow() on the toolbar window. If that doesn't work, you may have to destroy the toolbar window and re-create it.
|
|
|
|
|
my programming project submission date is coming near and i cant figure out what to do..can anyone plz mail me a project in c++ that uses a lot of inheritance?? plz submit on killthecherry@yahoo.com ...thnks!
|
|
|
|
|
killthecherry wrote: plz submit on killthecherry@yahoo.com
certainly not... you're on a forum, not on a chat. if you can't explain, then why some would help you ?
you don't even provide information about what is striking you...
come on guy, grow up, and rephrase your question
|
|
|
|
|
That's simple, just write 100 classes that inherits from each other, and you have a lot of inheritance.
|
|
|
|
|
|
ROTFL
"The difficulty lies, not in the new ideas, but in escaping from the old ones."
-- John Maynard Keyes, 1936
|
|
|
|
|
k..very funny
if i knew how to make a 100 classes i wouldnt be asking for your help
|
|
|
|
|
killthecherry wrote: if i knew how to make a 100 classes i wouldnt be asking for your help
If you posted a clear question, it would have been much much easier for us to help you. Asking somebody to write a complete program for you doesn't work very well (remember that all the people here are not paid for what they do). So if you want help, post what you already did and ask a concrete question. So, where are you stuck exactly ?
|
|
|
|
|
hey wait !!! you say you are already working on a project, which go live date is planned, and you don't know anything to C++ ?! WTF !!!
man, go prepare gallons of coffee, you gonna spend nights to read book to get up to date...
for my part, i cannot help more than that :
class CMyClass : public CAnotherClass {
};
|
|
|
|
|
come on! i know that much!! just dont know how to implement the stuff...i mean..i think that inheritance is really easy but the teacher was like the program should be really complex and stuff...so i was wondering whats so difficult abt it...and i cant figure out what to do...
and if u cant give me a code then suggest a topic on which i should start thinking at least
|
|
|
|
|
ahhh, so you're at school, and you didn't learnt your lessons...
what do you find hard in writing a class ? have you checked the code i wrote in my previous post ?
|
|
|
|
|
i know how to define stuff and everything but i cant uderstand why use inheritance in the first place..and i cant get the use of private members in a program...what do they do???
|
|
|
|
|
inheritence ? that's the essence of object oriented programmation !
you define objects, which have properties (stored internally as private members) and which can do certain actions.
imagine you have a class car. you define there everything that is sommong to cars... an engine, a color, tyres, etc...
but do every car look same ? certainly not. and that's where inheritence come.
you could have a class formulaOne, a class RallyCar, a class MonsterTruck... all inheriting from Car, but all different. by the way, they all are cars, aren't they ?!
|
|
|
|
|
i guess!$^@#$
ok if i want to make a program that has the info of all the students in a university, like roll no, grades, courses, instructor, address, phone no, department, degree name, etc etc, then what should i do??...ill probably make the program...but i dont know what the program should say when i run it..
should it ask for my user name and password..? and when i enter this should the program display the info corresponding to that particular user name??
i mean is this scenario possible?? and another thing..where will the info of the students be stored?? i mean will i call a file that has the info of every student or will the user enter his/her info first and then itll save that info and then display???
|
|
|
|
|
i cannot say, and i guess nobody here will either.
no one but you know the specs... you know what your teachers asked you to write, and assuming that you've been at school from the beginning of the year, that shouldn't be that hard to code...
sorry to be rude, but if you can't find by yourself, then go back in your lessons.
|
|
|
|
|
ok just tell me this...whatever i wrote in the last post..is it possible?? through inheritance??
|
|
|
|
|
inheritence wont do the whole job for you... it's just an add to designing yout objects, and to reuse code that logically belongs to it...
man, seriously ; where were you this year ?
|
|
|
|
|
man i was at uni the whole time beleive it!
but mostly i was ..
|
|
|
|
|
|
killthecherry wrote: but mostly i was
believe it or not, we ALL knew this one !
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
killthecherry wrote: i cant figure out what to do..can anyone plz mail me a project in c++ that uses a lot of inheritance?? plz submit on killthecherry@yahoo.com ...thnks!
google is best friend of yours dude!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|