QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How to use extern in C/C++?

FAQ on C/C++/Unix by Roseanne Zhang, Java Programmer Certifi...
When you declare something as extern, that tells the compiler, don't worry about it, it is defined somewhere else, let linker to take care of it. Here is a simple example. //main.cpp #include <iostream> using namespace std; int main(){ extern int x; extern int foo(int y); cout << x << endl; cout << foo(10) << endl; return 0; } //x.cpp int x=5; int foo(int y){ y += x; return y; } See similar questions...

Is C++ a superset of C? Can I use a C++ compiler to compile C code?

Infrequently Asked Questions in comp.lang.c
C++ is a superset of something, we're not sure what. You can use a C++ compiler to compile C code, but the results may surprise you. See similar questions...

Can I use LessTif with C++ ?

LessTif Frequently Asked Questions
You sure can. There really are two ways. You can use it directly, or through one of the C++ wrappers for Motif. Much of this is discussed in the Motif FAQ which can be found at Ken Lee's website at http://www.rahul.net/~kenton Using LessTif directly with C++ prompts the question on how to use class member functions as callbacks. See similar questions...

What does extern mean in a function declaration?

Infrequently Asked Questions in comp.lang.c
It refers to a variable which is not actually in your program. For instance, main() { extern int bar; printf("%d\n", bar); return 0; } will compile without errors because bar is declared as being external. (It won't run, though, because you never assign bar a value.) [a] See similar questions...

when I just added stuff to /waffle/extern/_edit?

news.answers/waffle-faq
You need to manually edit /waffle/menus/editors to reflect the editors that are available on your system. Make sure to include a separate entry so that the user can select 'none' to get back to the internal editor. See similar questions...

What if the extern is not working out?

American Academy of Professional Coders (AAPC) - Medical cod...
If at any time you feel that the extern is not a good fit you may release them at any time. The facility has complete control and there is no guarantee to the extern that they will remain at the AOES until the expiration date of the externship. The Department of Health and Human Services has published an FAQ about this very topic. See similar questions...

Can I use typedefs in C#?

Andy Mc's C# FAQ for C++ programmers
No, C# has no direct equivalent of the C++ typedef. C# does allow an alias to be specified via the using keyword: using IntList = System.Collections.Generic.List<int>; but the alias only applies in the file in which it is declared. A workaround in some cases is to use inheritance: public class IntList : List<int> { } See similar questions...

Can I use exceptions in C#?

Andy Mc's C# FAQ for C++ programmers
Yes, in fact exceptions are the recommended error-handling mechanism in C# (and in .NET in general). Most of the .NET framework classes use exceptions to signal errors. See similar questions...

Can I Use A "C" Cell Rechargeable With My Seiko Cleancut?

Frequently Asked Questions (FAQ)
No, you should not use a rechargeable battery with your Seiko Cleancut and here's why. The speed of any DC motor is directly related to the voltage of the power supply; the higher the voltage the faster the motor turns. By their nature rechargeable batteries do not have as high a voltage as alkaline batteries. For instance a fresh alkaline "C" cell, which is a 1.5 volt battery, will test out as high as 1.6 volts right out of the package. See similar questions...

Q 2c-02: Can I use DCE from C++?

DCE Frequently Asked Questions
Yes. First of all, since you can call C functions from C++ you can access all the DCE services from a C++ program. But that will not give you the benefits of C++. There are several packages that provide a C++ interface to DCE. They different quite a bit in style and approach, so you'll need to consider them carefully in light of your own needs and preferences. Objtran was produced by Citibank, and is available by anonymous ftp at ftp://wilma.cs.brown.edu/pub/Objtran.tar. See similar questions...

c. How do I use explosives?

Commandos FAQ
You need to place the explosives into a cabinet which is located somewhere in the middle of the bridge, between some barrels. Examine the cabinet and drag the explosives in there. See similar questions...

Can I use C and Fortran programs with MATLAB?

MATLAB Frequently Asked Questions
MATLAB's MEX-file facility allows user to use C and Fortran subroutines as MATLAB m-files. It is also possible to use MATLAB as a computational engine for C/Fortran subroutines. See similar questions...

Why not use C++ ?

Palmphi - FAQ
C++ is very nice, but it uses the memory too generously for a Palm Device. Also there is no easy way to create properties and I wanted to have writable properties for every object, so I can write Edit1.Enabled=0; See similar questions...

Why did you use C++ instead of C, Java or whatever?

Frequently Asked Questions
ANSI C is a rather nasty choice because it lacks nice generic containers, clean stream abstractions, and even a basic string class. It seems that there are some who "ewww" at libferris because its coded in C++ but they can always just use gnome-vfs if language choice is their primary decision point. If you use a different library to access it then your best bet is to copy the existing plugin into a new dir and modify it to use your favourate library. See similar questions...

c. What film should I use in my Holga?

Holga FAQ
This is a very subjective question. Different people like different things so there's no right or wrong answer. Since this question is asked QUITE frequently, I will link to the most recent occasion on which it was asked and answered by a number of people. See similar questions...

How can I use TESS to see all of the binding sites for a particular factor, e.g., c-Jun?

FAQS
Beside searching for binding sites in DNA sequence, TESS also let's you query TRANSFAC directly. These capabilities are accessible through the Query Transfac and Query Matrices links at the top of every page. You may want to preview which factors match c-Jun. Do this by selecting 'Accession Numbers' from the popup menu in the Results section. To select a few factor entries of interest, select 'Accession Number' in the 'Search in this field' popup menu and enter, for example, T00131|T00133. See similar questions...

Q#6.2: How do I set up ORCA/C so that I can use it with GNO?

news.answers/apple2/GNO-faq
A#6.2: === See the CAVEAT in Q#6.1 === There are a few aspects to this, so it has been split into various questions in this section of the FAQ. You should read each of those questions when so directed, below. The following instructions assume that you have already installed your ORCA languages; various files and directories will be moved from their original locations. If you haven't already done so, change the auxtype of (original_orca_directory)/shell/Editor to hex DC00 (see Q#14.1). See similar questions...

Explore Other Topics

Can I add additional email accounts to my primary account?
What if I want to act as the general contractor?
Benign breast cysts – are they a contraindication?
Are fresh vegetables more nutritious than frozen vegetables?
Are there psychological effects of chronic pain?
Q: Do you have any studies about long-term use of Biofreeze?
What happens if I lose my passport, or if it is stolen or destroyed?
How do I get signed to a record deal?
How can I dispose of a television or computer monitor?
How do I redeem my rewards miles for air travel?
Is it possible to get a high gloss surface?
How do I capture screenshots/grab frames?
What is the difference between a referral request and an authorization request?
How many projects does Kiewit build and what size are they?
More Questions >>

© Copyright 2007-2010 QueryCAT
About • Webmasters • Contact