Code::Blocks doesn't show all code completion - c++

When I write a function, variable etc. matches are displayed very strange (I wrote "bass_l", but it still shows matches what begin with "bass_i"). And I can't see matches below "BASS_INPUT_TYPE_SPEAKER" just because they go under my screen.
Is there any way to fix this?

Related

How to put format code the right way in Python?

I try to learn Python via LPTHW (Learn Python The Hard Way), on the ex05 (its about format code), the code that he give isn't working, I need to use different code to get the same result.
I already tried deleting the parentheses, give space between f and the double quote.
At last I use the % (%s and %d) not the f (f"bla bla {bla}") one
What LPTHW expect is the first code to give the same result as the second one, yet it give me invalid syntax. There's no way the computer wrong right?
So what is the problem? Because when I try to find this problem, no one have the same problem as me.
I'm sure I type it right, because after that I tried to copy the exact code from the page and it still not working.

Unable to find string using Regex in Word 2010

I am trying to find a string in word, I can see 3 of the strings in the document. However, the remaining 600+ of them are not visible.
I'm trying to search using (this is the regex in the external tool I used initially):
(ABC-\d+)
Using a tool to search in Word I searched for
(ABC.*)
and all of the results ended up being some form of the following:
ABCNormal -13
I don't have a clue how to find out what that even means in this context.
I tried searching IN Word for the following REGEX and it doesn't find any except the 3 that don't have the "normal " thing.
ABC?#[0-9]#
That should mean look for ABC some number of characters and some number of numbers.
I have tried turning on the hidden text/etc within the display options, the paragraph icon on the ribbon, anything I an think of.
Any ideas how to figure out how to SEE what this is, and either fix it, or work around it?
In the external tool [(ABC)[^0-9]+(\d+)] finally worked, but I still don't understand how to remove the Normal Text that is in the string that is NOT visible.
For example the string I visibly see
ABC-13
the text Regex is seeing is
ABCNormal -13

C++ Error-code <U+0013>

I have a function in C++ that I am testing, and after careful inspection I'm pretty sure everything is correct. However, I'm still getting a mysterious error relating to the "return" statement at the end of the function.
Where "population" is a real matrix (using the armadillo matrix package).
Looks like the error code represents a Unicode value. Check if the file is clean of characters which shouldn't be there (copy paste into notepad and then copy paste back).
You have accidentally managed to enter the Device Control 3 character (which has the unicode value U+0031) before return and after ;. The character is probably invisible for you, which is why you aren't seeing anything.
Replace those with spaces. You can probably turn your editor into some kind of "show invisibles" mode which might help.
If you are used to using Emacs keybindings and tried to Cx-s Cx-c to save and quit in another IDE ie Xcode it will insert odd unicode characters.

Alternative for "capture" which doesn't suppress the output if the code works

I have a question concerning Stata. I'm executing a loop in which there might be an error. Whether the error occurs depends on the data at hand. Unfortunately I do not know exactly how the data, which my code is used for, looks like. I only know the variables which are in the data. So I use the command capture to let my do-file run even if an error occurs. But if I use this command, Stata also suppresses the output if the command sometimes works in my loop. Of course, that is not what I want.
My command looks like:
capture list year JCage`x' numberfirmsage`x' AvSizeAge`x'
and is part of a loop. So what can I do in order to solve the problem?
The help for capture tells you that this is done by capture noisily.

long text printed on screen creating a horizontal line and going of of bounds while printing

I am working on textarea where the user can enter text to create the letter. now if they keep typing continuously, it creates a lengthy string and once they save it in database, the same letter is available for print. Now while printing, it shows a very long horizontal bar. While printing, text is being cut off
I tried using the WRAP function of Function, but that creates extra Tags where they are not needed, Although in letter, there are couple of instances where they are needed. using the Following Code replaces all &NBSP;.
#Wrap(qryGetLetterDetails.letter,'([[:print:]])( )([[:print:]])','\1 \3','all'),75)#
My Next Approach was using the Custom Lib Function WRAP available on CFLIB.org
Again with this Tag, it generated the source HTML on screen while wrapping the Letter. It did not worked as expected.
I tried searching CSS ways to force to break word but in vain. I am using IE7+ versions only, No other Browser Support is provided.
can you try with
#ReplaceList(qryGetLetterDetails.letter, "#chr(10)#,#chr(13)#", "<br />")#