Hello,
I am tryin to Replace the start of line with a "(". However when i use replace all i'm not able to do so.
For eg:
432425\n
4254645\n
w4546746\n
46457367\n
4765756\n
I want the output as using Replace All
So i use the ^ symbol with Regular Expression Selected and Replace All.
Using only Replace works fine.
(432425\n
(4254645\n
(w4546746\n
(46457367\n
(4765756\n
if not (i_ReLaunch = 1 and (dt_enddate is not null))
How this epression will be evaluated in Oracle 10g
when the input value of the i_ReLaunch = null and the value of the dt_enddate is not null
it is entering the loop.
according to the rules in normal c# and all it should not enter the loop as
it will be as follows with the values.
If( not(false and (true))
= if not( false)
=if( true) which implies it should enters the loop
But it is not happening
Can someone let me know if i am wrong at any place
i need to design a report that will print text on specified x,y coordinates
for example, i will input (50,50), (60,60), (70,70) and i will have my program print text at those specific coordinates on the report. in total there will be about 50 different coordinates.
how do i achieve this? should i be using a label control or a textbox? should i be creating the controls dynamically or should i already have controls set at the specified regions?
So basically I would like somehow that given an audio file as input (most likely mp3 or I can use some audio engine that will handle other types too) from my computer to control some LED lights so they will be something like an oscilloscope, like the one in winamp.
What would I need to be able to do this? I'm interested in building thing up all by myself, coding, hardware, etc..
I'm going with C++ on Windows.
I am having string called '200_CFL_2010'. I wish to get the characters between _'s. I want the output as 'CFL'. I have to achieve it through SQL. Any idea please?
Notice: Constant DIR_FS_CATALOG already defined
I've already commented out display_errors in php.ini,but is not working.
How do I make PHP not output such things to browsers?
given an X, what math is needed to find its Y, using this table?
x->y
0->1
1->0
2->6
3->5
4->4
5->3
6->2
language agnostic problem
and no, i dont/cant just store the array, and do the lookup.
yes, the input will always be the finite set of 0 to 6. it wont be scaling later.
according to http://www.cplusplus.com/reference/clibrary/cstring/memcpy/ c++'s memcpy takes three parameters: destination, source and size/bytes. it also returns a pointer. why is that so? aren't the parameters enough to input and copy data.
or am i misunderstanding something? the examples don't use the return value
Hi!
I want to create a small code in C++ with the same functionality as "tail-f": watch for new lines in a text file and show them in the standard output.
The idea is to have a thread that monitors the file
Is there an easy way to do it without opening and closing the file each time?
Hi,
ist is possible? What would be the easiest way? I tried to compare in the input string character to character so
if(char([i]=="^M") char[i]=""
but it does not work.
By the way, if I were able to check it, what is the wistes substitution? to "" ?
Thanks
When we have a column that will store a username that will only accept letters and numbers we always do validation on this input field using javascript or even server validation from code .. but i want to know if is there any way that can allow me make this validation on the Table column itself even some one try to enter data from any place it don't accept and throw exception ?
I am trying to subtract one variable from another, and use that output. but when I subtract them, the outcome is just the second variable negative!
int distance = pointX-pointXTwo;
NSLog(@"%d", distance);
Hi,
I have stored procedure that takes input parameter of table type.
procedure test( name samptable type);
My table has the structure like
table:
samptable(
name chracter varying;
address text[];
)
So how shoul i pass the values to the function to fill the table.
I believe Adobe tools like CS5 have ways to output as an iPhone app, but what about a regular AS3 or Flex project? Are there any tools to auto-port, or AS3/Flex iPhone implementations out there?
Out of interest, how does the CS5 thing work? Is it a totally different code-path or something less drastic? For instance Flash supports Shapes and Timelines, etc... do they in fact provide an iPhone Flash runtime of some sort?
In shell script,
I want to clear only text files and log files in the following structure with out removing the directory as well as subdirectories
|
|------bar/
|
|---file1.txt
|---file2.txt
|
|---subdir1/
| |---file1.log
| |---file2.log
|
|---subdir2/
|---image1.log
|---image2.log
I am using rm -rf /bar/* so I am getting the result as follows.
|------bar/
but I want the output like following
|
|------bar/
|
|
|
|
|---subdir1/
|
|
|
|---subdir2/
I want to remove only text files or log files or csv with out removing the directory and the subdirectories
I'm looking for some resources that demonstrate good graphic design for generated (PHP/HTML/CSS) reports.
The website I'm designing is essentially a long test. Everything is finished except the report generation, and this part needs to look good!
I'd appreciate any advice/resources you can point me to! I know this isn't directly programming related, but my purposes do encompass coding and output.
I am using estimateRigidTransform with about two vectors of 100 points and is working FINE.
But somehow getAffineTransform doesn't work.
I know that findHomography finds the best matrix using RANSAC and getPerspectiveTransform needs only 4 points.
My question is what happens if I give more inputs in estimateRigidTransform or getAffineTransform?
Does it take only 4 points from input matrix? Or do some kind of RANSAC?
I have a view in which there is a text box where user enters data, when clicks on submit, I want to store the input and display in another box.
final EditText edittext = (EditText) findViewById(R.id.edittext);
mText = (TextView) findViewById(R.id.timepicker_input);
How can I do it, please help
Hay guys, i have 2 floats, which both comes from input boxes.
I need to compare these 2 floats, if one is negative and one is positive thrown an error. If they're both positive, or both negative, thats fine.
Any ideas?
Thanks
I am reading one line at a time from a file, but at the end of each line it adds a '\n'.
example:
line is: 094 234 hii
but my input is: 094 234 hii\n
I want to read line by linem but I don't need to keep the newlines...
My goal is to read a list from every line: I need ['094','234','hii'], not ['094','234','hii\n']
Any advice?
What are your thoughts about this issue in regards to an e-commerce environment? Do you think it is wise to turn autocomplete off on all sensitive input fields such as passwords (for log in areas), or, will this just inconvenience the client?
thank you
I have a table with the following columns and data
Category Item Price Tax
A I1 1.00 .01
A I2 2.22 .02
B I3 3.33 0.3
I want to group on Category and have the details below such as:
Category/Item Price Tax
A
I1 1.00 .01
I2 2.22 .02
B
I3 3.33 .03
I want the category to have its own row then the detail rows below with the item in the same column as the Category.
The output that is desired is:
Category - Item | Price | Tax
A | |
I1 | 1.00 | .01
I2 | 2.22 | .02
B | |
I3 | 3.33 | .03