Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > In CodeWorker, can i print the result in command line environment?

Reply
Thread Tools

In CodeWorker, can i print the result in command line environment?

 
 
kittywindz2 kittywindz2 is offline
Junior Member
Join Date: Dec 2010
Posts: 3
 
      12-04-2010
I got a problem that I can only get the parsed result for extract_function.cwp by outputting a file but not directly getting the result in the command line environment. I tried modifying it by using traceLing to print the parsed result but it does not work. I also tried making a .cws to deal with it but I got a problem that I cannot pass the argument (the function to be extracted) into the cws. Is there any way to change the output stream to the command-line environment? Thank you very much.
 
Reply With Quote
 
 
 
 
kittywindz2 kittywindz2 is offline
Junior Member
Join Date: Dec 2010
Posts: 3
 
      12-04-2010
or how can I extract a function. I tried regular expression in ruby, but the problem is that the matching stop at the first closing brace }, the following is the regex:
/((\w+)\s*(\w+)\s*\(([\w\s,<>\[\].=&':\/*]*?)\)\s*(const)?\s*\{([^\}])+\})/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: commands.getstatusoutput result is not command line exit value!!! Hari Sekhon Python 1 10-02-2006 04:43 PM
Re: commands.getstatusoutput result is not command line exit value!!! Fredrik Lundh Python 0 10-02-2006 04:32 PM
commands.getstatusoutput result is not command line exit value!!! Hari Sekhon Python 0 10-02-2006 02:45 PM
1. Ruby result: 101 seconds , 2. Java result:9.8 seconds, 3. Perl result:62 seconds Michael Tan Ruby 32 07-21-2005 03:23 PM
why i get different result from command line and browser?(not 500 Err) yzhshi Perl 7 04-16-2004 09:04 AM



Advertisments