Hello...
I'm new to Qt, I needed a program to find a word in multiple file. The parsing must be done using regular expression. Please help me
Hello...
I'm new to Qt, I needed a program to find a word in multiple file. The parsing must be done using regular expression. Please help me
Homework assignment?
QFile (certainly), QTextStream (perhaps), QRegExp (required) and a smattering of standard C++.
aurora (10th October 2011)
ya...thank u.... actually doing project on Qt, learning now and i wrote code in perl....but needed help in qt
Added after 13 minutes:
Can i get some more detail please.....i'm not able to understand it....
Last edited by aurora; 10th October 2011 at 07:06.
Read the documentation for the classes mentioned earlier; it should take no more then 15 minutes to figure out what they do and how to use them.
Which bit of "it" don't you understand? Which bits do you understand?Can i get some more detail please.....i'm not able to understand it....
What does your proposed program look like in pseudo-code? Have you broken it into smaller components? What sort of functions do you need to complete the task? Do any of them sound like they might relate to the classes above?
Sorry to be blunt but so far it seems you want us to write the project for you. It doesn't work this way, especially if that's your school assignment (I don't believe any real project would focus on reimplementing 'grep'). You need to develop an idea on how to solve your problem, come up with an algorithm and then we can try to help you improve your approach and suggest ways of coding it using Qt. We won't teach you C++ here, we won't teach you programming here. Present a list of steps that you think your program should implement and then we'll comment it.
Last edited by wysota; 10th October 2011 at 08:48.
ok thank u
Bookmarks