using C++ style comments (/ /) in my C code

One of my colleagues asked me if he can use / / as long as comments in its Pro * C code. He used it in 10.2.0.3 customer environment (pcscfg.cfg is the same) and he says it works (gcc 3.4.6 under Linux 32-bit and 64-bit), but he says it doesn't with 10.2.0.1 customer environment.

So my question is: is this really problem with the version of the Oracle client? I am the ADMINISTRATOR and I will not install the Group of patches to update its customer environment to 10.2.0.3 for him to be able to use / / style comments in C code

Note: it is using C not C++, but that he wants to use / / type of comments in his code C with Pro * C

I found this in the Pro * C programmers Guide and informed my colleague, but he insists on the fact that it generates C++ code, this is why he does not want to use it. He thinks simply using 10.2.0.3 customer environment will solve his problem.
«You can use C++ style comments (/ /) in your Pro * C/C++ source if you precompile using the CODE = RPC precompiler option.»

If this has nothing to do with the version of the Oracle client, what should I do to allow him to use / / type of comments? or he needs to do in its programming to use / / type congratulate?

I just wanted to ask the expert opinion before you download and install the patch group.

Thank you
R / Zafer

Published by: zaferaktan on April 15, 2009 10:16

Hello Zafer,

Thanks for posting that, it is clear now. Unfortunately, I have nothing to offer at this stage.

I can say that comments C "normal" from the file like this don't produce the error:

/*
** this is a starting comment
*/

Somewhere between 10.2.0.1 and 10.2.0.4 (the only other 10.2 version I have right now) there was a change of marker or Pro * C code that solves this problem. I found nothing in MetaLink to this topic, but it is difficult to ' / ' as a search term.

I guess the best thing to do is to apply the patch to the client, so this does not work if it is so important. Good course by applying the patch you will have also some bugs have been implemented since the base 10.2.0.1 release as well as that of it.

Good luck!

-Mark

Tags: Oracle

Similar Questions

  • Can we use & in the commented code from PL/SQL?

    I used & in the commented block of PL/SQL when I compile it Toad, it was compiled, but it had not when I compile SQL * why?


    SQL > declare
    2 v_number number;
    3. start
    4 / * this called abc and xyz procedure * /.
    5 zero;
    6 end;
    6 N
    Enter the value for xyz:

    in SQL * more type:

    SQL> set define off
    

    to stop prompting substitution variables.

  • I have an iPhone 6 and get this message. Continue coarse iCloud on this iPhone approve him to one of your other devices using iCloud or enter your iCloud security code.  I don't know my security code and only have my book of power with me.

    I get this message on my iPhone 6.  To continue using Icloud on this iPhone, do agree with your other devices using iCloud or either your iCloud security code.  I don't know my security code.  I have my book of power with me how check my iPhone 6.

    Mike.

    Hello

    For checking your apple iphone should send you a massage to your other device

    With a code.

    See you soon

    Brian

  • When I try to connect to the internet using my laptop, I get an error code. He says that I'm connected to the internet, but I am unable to connect.

    Unable to connect laptop (wireless) broadband

    Recently, I changed to wired broadband. When I try to connect to the internet using my laptop, I get an error code. He says that I'm connected to the internet, but I am unable to connect.

    Remove any preconfigured network settings wireless then rescan to make new connection settings

    Hope this will do the needfull

    Please let us know

  • I get this message: DNS server is not responding. Cannot view XML input using XSL style sheet.

    My problem was caused by using McAfee. The only way I can connect to the internet is if I start my computer in "safe mode". I've since removed McAfee from my computer, but I can't always connect to internet in normal startup mode. When I run a diagnosis, I get the message: "DNS server is not responding" & "cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button. »

    On the recommendation of MS tech support, I already tried

    1. perform a clean boot

    2. reset internet Explorer

    3 typeing these orders in the dark of the screen then restart the computer after you perform these steps

    b. Netsh int tcp reset

    c. Netsh int ipv4 reset

    zero i. (XP) netsh int ip reset

    d. Netsh winsock reset

    e. Netsh winhttp reset proxy

    f. Netsh advfirewall reset

    g. Ipconfig/flushdns

    h. Ipconfig/Release

    i. Ipconfig / renew

    j. Ipconfig/registerdns

    None of these recommendations solved my problem. I don't know if it is an IE or issue windows. Any other suggestions?

    Hello

    Please 1 create a restore point and run the mcafee Development tool. This will of cleaning after uninstalling the software. McAfee is known for questions after the uninstalled. For new AV you can try

    Microsoft Security Essentials http://windows.microsoft.com/en-us/windows/security-essentials-download. (Win08 already has Microsoft Security Essentials in the operating system)

    Tool Development

    http://service.McAfee.com/FAQDocument.aspx?ID=TS101331

    Thank you

    Thomas

  • Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

    This is the message I got when my backup stopped and said cannot complete backup. Need answers?
    Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

    --------------------------------------------------------------------------------

    A name was started with an invalid character. Error during processing of the resources ' file:///E:/WindowsImageBackup/ray-PC/Backup 2011-0...

    Hi lrl1of5,

    (1) do you use Windows Backup and Restore?

    (2) if it works well before?

    (3) remember to make changes?

    It is sufficient to indicate the complete error message you receive.

    Method 1: Run the fixit available in the links below and check if that makes a difference-Worth to try
    Difficulty of broken desktop shortcuts and common system maintenance tasks

    Note: FixIt would attempt to recover bad sectors on the hard disk, in the course of this process there are chances of DATA loss from that particular area.

    Method 2:  Clean boot the computer, then try to backup again

    Follow step 1 in the link below,
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Important: n ' forget not to put the computer to a normal startup follow step 7 in the link.

  • I bought Photoshop elements & elements of Prime Minister to Best Buy 2 years.  Finally opened and I tried to get the serial number online by using the identity card, but said website code is not valid.  They called Best Buy, said that adobe should hav

    I bought Photoshop elements & elements of Prime Minister to Best Buy 2 years.  Finally opened and I tried to get the serial number online by using the identity card, but said website code is not valid.  Called Best Buy, they said that adobe should have canceled activation because it has not been installed in a timely.  How can I get a serial number for installation?

    jotison64 wrote:

    I bought Photoshop elements & first items at Best Buy 2 years.  Finally opened and I tried to get the serial number online by using the identity card, but said website code is not valid.  Called Best Buy, they said that adobe should have canceled activation because it has not been installed in a timely.  How can I get a serial number for installation?

    Work your way through this document in the end, step by step, and finally try to start a chat session. I hope that Adobe will straighten this out for you.

    Contact the customer service

  • I just installed lightroom cc on a brand new and reveived laptop 2 following errors.  can someone tell me what they mean and wll prevent of sing lightroom?  ERROR: third charge useful Installer vcredist_x64.exe failed with exit code:-2147024546

    I just installed lightroom cc on a laptop computer brand new and reveived errors the following 2.  can someone tell me what they mean and they will prevent to use lightroom?

    ERROR: third charge useful Installer vcredist_x64.exe failed with exit code:-2147024546

    AND

    ERROR: Cannot install the Microsoft Visual C++ 2012 Redistributable Package (x 64). Please try to install by double-clicking the executable file to "C:\Users\CHRIST~1\AppData\Local\Temp\{7A86BA4B-C59E-4130-9C4D-DA8765643E21}\Lightroom_6_ LS11\payloads\Microsoft VC 2012 Redist (x 64) \vcredist_x64.exe", or download and install the 2012 Microsoft Visual C++ Redistributable Package last (x 64) Microsoft Web site - www.microsoft.com

    Download Visual C++ Redistributable for Visual Studio 2012 updated 4 of the official Microsoft Download Center

  • During upgrade Adobe Creative Suite CS4 ME in Adobe Creative Suite CS5.5 Design Premium, I get an error saying that the serial number is not an eligible product, please try another. I used to be able to get a code for the customer service, but I can't

    During upgrade Adobe Creative Suite CS4 ME in Adobe Creative Suite CS5.5 Design Premium, I get an error saying that the serial number is not an eligible product, please try another. I used to be able to get a code for the customer service, but I can't chat. Please advise!

    MoeGhazal I have reviewed your account and it seems that you have upgraded to a volume license CS4 Design Premium for an upgrade of retail Design Premium 5.5.

    I also shows that you have made two purchases of CS5.5 Design Premium, but the second purchase was cancelled.  Make sure that you use the serial number that ends in 7886.

    If you are using the correct serial number, then it is likely, that the installer won't recognize your serial number of volume license CS4 as being valid for upgrade.  If you can contact our support team you can be traversed through an unlocking procedure to allow you to proceed with the installation.  You can contact our team of support directly in Contact with the customer.  You can try to install a web browser, you have not previously used.  It of probably a toolbar or other software applications affect your ability to access the media cat successfully.

    If you are unable to reach our support team, then please check your account information is accurate.  If you can please then update this discussion after the confirmation of this so I can ask a member of our support team contact you directly.

    I would recommend again reaching out directly if possible it will be the most effective method to resolve your current error.

  • How to effectively use character Styles

    Hello, I am fairly new to InDesign, but have extensive experience with FrameMaker. I can't know how better to use character styles to card of identity, because of the difference between her and FM.

    Lets say I have two text styles different bodies that use different fonts or different sizes, each is saved as a paragraph style.

    In Framemaker, when you go into the character Style Editor, for each value you can select the value "such what." So if I want to do a character style "BOLD", I leave the police and set size attributes on "like what" and I change only the weight to the "BOLD" attribute.

    Now, I can choose the body text 1 or 2 for the paragraph style body text and if I want to "BOLD" one word, I just highlight the word and select the character style "BOLD". The text is bold, but everything else that is unique for what remains of paragraph style. If ever I need unbold the word, I can just select it and then select No Style in the character Style catalog

    But in the ID, it looks to set the value of each attribute in the character Style Editor. So I would need to create two styles "BOLD" separate, one for each paragraph style, because if I set the font and size, it will pass these values as well as the weight. And if I need to create a separate "BOLD" character style for each paragraph style in which the default font is not bold, what is the advantage of using character styles? Why don't just highlight the text and select the value "BOLD" to the character palette, which then changes the paragraph style just for these words in bold you?

    In InDesign, leaving an empty frame is the equivalent of "as-is." A character style "BOLD" can function as you want; Simply set the Style of font for "BOLD" and leave everything else intact.

  • Using paragraph styles with numbered lists having paragraphs "child."

    Hi all

    I wanted just a checking the direction of your InDesign experts.

    When I create a numbered list when there are paragraphs separate 'child' who "belong" to the paragraph numbered list real (see below) how do I use paragraph styles for formatting the list?

    Currently I apply a style numbered list to each of the bold numbered paragraphs and just a style of body text indented paragraphs of the child. Is this fair?

    3.1 it is a topic but also a part of a numbered list

    This is the text that goes with the above heading

    This is another paragraph which goes hand in hand with the above heading

    3.2 it comes is a topic, but also part of a numbered list

    This is the text that goes with the above heading

    This is another paragraph which goes hand in hand with the above heading

    3.2 it is a topic but as part of a list numbered

    This is the text that goes with the above heading

    This is another paragraph which goes hand in hand with the above heading

    Also, is there a power automatically apply a style to the last bullet in a list (as with the last CSS child selector) so that I can have a small space after each of my balls except the last one where I would want a larger space.

    Is this fair? Yes. And if you want the style of paragraph number somehow, each model numbered to give his name to the list.

    The styles will be applied by you. To get the last point in space after, add this attribute to its own paragraph style, perhaps also giving it a keep with previous keep option.

    Or give more simple, perhaps the paragraph numbered line style certain amount of space before as one of its attributes under withdrawal and spacing.

  • Automated Table of contents using incorrect styles

    Hello

    I got the InDesign to generate the table of contents for me based on the styles that I created. In most cases, this works very well except for a few cases where some of the generated elements have the applied incorrect character style.

    For example, I have a paragraph called Sub header style. In the settings Table of contents window, I have subheader put in place for the TOC entry under heading style. Each time the Sub header entry appears, it theoretically should use the table of contents under heading style in the table of contents. Unfortunately, for reasons I cannot quite understand, this isn't happening. Most of the entries under the header appear correctly, using the Sub TOC header, but some of them are filling in the table of contents with adaptations of the character style that have been used in the body.

    Does anyone know a way around this? If my example was not clear enough, let me know what I need to study in detail, and I'll do it.

    Dr Mitchell says:

    some of them are filling in the table of contents with adaptations of the character style that have been used in the body.

    It is a normal behavior. Local Overides and character styles are preserved when points are awarded to a new style. You can avoid this by using nested styles or styles built GREP style intothe defintion to apply special formatting (because they are part of the definition of paragraph style that they are not substitutions and will not be kept), or if this is not possible, you can make a topic non-printable to use instead and apply the paragraph style and then make a copy of the style and give a new name (just the base on the other model and nothing else than the name change) and apply it to one with character style replacements, so it does not appear in the table of contents.

    Which was all clear?

  • How to use paragraph styles?

    Can someone explain how to use paragraph Styles? OMG! This is so difficult for me to kiss - I can't seem to understand how to create a paragraph style in a document, in the first place, then I don't seem to be able to apply it to the rest of paragraphs in the document.  Whenever I have try this I lose the track and then I lose patience!

    I do appreciate this forum and hope someone can clarify this issue for me, I am eternally grateful. I'm trying to gather some my illustrations and story in a booklet for children and I need to get out to publishers (fingers crossed!) until I forget why I started to be a student in graphic design and Illustration in the first place

    Thank you!

    aganess wrote:

    Can someone explain how to use paragraph Styles? OMG! This is so difficult for me to kiss - I can't seem to understand how to create a paragraph style in a document, in the first place, then I don't seem to be able to apply it to the rest of paragraphs in the document.  Whenever I have try this I lose the track and then I lose patience!

    I do appreciate this forum and hope someone can clarify this issue for me, I am eternally grateful. I'm trying to gather some my illustrations and story in a booklet for children and I need to get out to publishers (fingers crossed!) until I forget why I started to be a student in graphic design and Illustration in the first place

    Thank you!

    I've been there. It was a long time ago, but I still remember the confusion and despair.

    First, know that you will survive and ask what was the hang up. If you are a special person, do you promise never to forget what was the hang up, then you can help others when it is time to pay back the community.

    Think about how things work without paragraph styles. When you want a paragraph to look a certain way, regardless of the software you have used to work with text, you select ("highlight") some text and look for ways to style it (check its appearance, or 'attributes' or 'features' or 'features'.) You choose a font (Helvetica, Times, etc.) weight ("BOLD", extra bold, light), a color of text, an angle (italic, Roman), the space between the lines ("leading,") space between paragraphs (space before, space after,) and so on. Without named styles, you must select each property in a menu or a list when the text is selected. The next time that you want this same paragraph look, you can recall everything you did and repeat with newly selected text, or you can copy and paste one that looks, then change the text inside.

    However, it does take long to realize that he has to be a way to save these settings and pull them up and slap them on the other selections, with a few clicks and make sure that you don't forget to do something. Creation and registration of collection of a paragraph of the property settings are called "define a style." Software for manipulation of more modern text can save paragraph styles that apply to full paragraphs, and they can also save character styles, which apply to parts of the text in a paragraph. A paragraph of normal text can be used a style called 'body '. You can select a bunch of miscellaneously style paragraphs and apply the body style for them with a single click on the paragraph styles list.

    If you decide that you would like the body to look different style, you can redefine, and all paragraphs in the active document using the body style change to show the look of the new definition.

    In a body paragraph, you can have same bold italic bold text and italictext and so on. You can always select text in a paragraph and find a menu that offers characters bold or italic in the selected text. But you can also create a character for each of these apparitions style and apply them to music. As for paragraph styles, character styles are more controllable and more useful than simply highlight and apply a property. If, you use a character style that applies "BOLD", you can change its character style definition and all the places it is used in a document will show the change.

    Here is an example which shows the usefulness of the styles of characters named:

    According to the standard style for writing guides that have been developed before computers, scientific names, the words of the foreign language in a host as the English language, the titles of the documents, movies and poems and a few other things are supposed to be italicized. With character styles, you can create and apply styles of characters for each category of text in italics. In this forum, * sapiens, The Pentagon Papers and Gone With the Wind, all look the same, but with character styles, styles, named 'scientificName', 'bookTitle', and 'filmTitle', can distinguish between texts in italics. Sometimes, you gotta be able to treat these things differently, and styles is a way to keep them organized.

    Most writing tools can create a style named for the existing sample. So, if you have customized a paragraph for your body text, you can use InDesign to set the body of the paragraph in the example chosen style.

    Google search for terms like 'InDesign create the paragraph of the selection style,' "InDesign redefine style', 'Create a character style, InDesign' and"InDesign tutorial character and paragraph styles."

    HTH

    Kind regards

    Peter

    _______________________

    Peter gold

    Know-how ProServices

  • Problem of numbered list in InDesign using paragraph Styles Code syntax highlighter

    Styles using GREP in the options of styles paragraph that I managed to make it useful, HTML, CSS, and Javascript, styles of syntax highlighter.

    Code can be copied and pasted, or can be typed and styles work well. codehighlighter_indesign.jpg.

    My only problem is with the numbering.

    I've implemented a character list ordered for my type of chip.

    Although the size of characters must be greater than the size of the code in order to get the character bar to connect and be a solid line.

    Is there a way to have the same size font for the numbering and the code and a bar of character which will connect? Do not be destroyed, because the separator between the numbered lines and the code?

    Also it doesn't seem to be a way to change the color or the weight of the bar (it must be the same color as the number) with a bar automatically generate? Is it possible?

    Here is an example of my InDesign CC 2015.4 German I did with a numbered list numbering and bar with a shading of paragraph:

    Note that the width of the 'bar' would change, if you change the width of the text block.

    5 mm added to the width of the text block:

    Or would disappear.

    The original text frame width less 5 mm:

    Kind regards
    Uwe

  • Using film as a data type time codes?

    I work in the film, and I was hoping to use numbers to help me create quotes for a VFX project (based on cost per second). I tried to create a custom data type, and it works almost out of an important obstacle. -That, even if he is HOURS: MINUTES: seconds, DURING which it is not no matter what equivalent of FRAMES (which are usually 24, 25 or 30 depending on what video format you are working in).

    I use Adobe Premiere to export a list of lots of files under a CSV file, which are fine numbers. However, manipulate these data is - I would say - impossible without the support of the video time code. Anyone working on a solution for this? Or is there a suggestion feature to me link to forward this to the team of numbers?

    Thank you very much

    You can give your comments and suggestions to the numbers > provide comments numbers in your menu.

    But everything first, perhaps you could post more details of your problem, what your imported data looks like and what result you want.

    If the imported data includes a column for the frames I think you can convert that.  In all cases, the specifics would help.

    Wayne explains how to post a screenshot in this thing.

    SG

Maybe you are looking for