Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
compile-time
- Page 1
GCC Fails to Recognize Parameters
Programming
1 Month Ago
by snah19
…\ --enable-static \ --disable-doc \ --disable-programs \ || exit 1 #
Compile
a hello world program for testing echo "Compiling hello…include "libavutil/opt.h" #include "libavutil/
time
.h" #include "libavutil/avassert.h" #…
Re: GCC Fails to Recognize Parameters
Programming
1 Month Ago
by toneewa
…: handler_name : Core Media Audio If I decide to try to
compile
the source, I'll do a follow-up, but it…
Re: GCC Fails to Recognize Parameters
Programming
1 Month Ago
by Reverend Jim
I can't offer any suggestions other than to just download the compiled app for your system instead of building it yourself.
Re: GCC Fails to Recognize Parameters
Programming
1 Month Ago
by rproffitt
Here's another problem. When we change the OS not only must we setup the compiler, environment and such but sometimes an OS API could be deprecated or removed. You made mention of a possible OS change so that's a possibility. You obtained this code from somewhere. Go back there and see if they updated it for your new OS.
Re: compile time vs run time polymorphism
Programming
Software Development
13 Years Ago
by java_programmer
… are two types of polymorphism 1.
compile
time
polymorphism 2. run
time
polymorphism.
Compile
time
polymorphism is functions and operators overloading.… Runtime
time
polymorphism is done using inheritance and …
Re: Exception handling
Programming
Software Development
12 Years Ago
by DJSAN10
Compile
time
errors are [B]syntactic errors[/B], they are notified at [B]
compile
time
[/B] i.e. before you run your program . Exceptions are [B]run
time
errors[/B]. Compiler does not recognize them. You know you have encountered an exception only once you execute a program.
Re: Memory space computation
Programming
Software Development
11 Years Ago
by mel.stober
compile
time
: 0 because the program isn't running Otherwise, look at Task Manager and it will tell you how much memory the program is consuming.
Re: sizeof()
Programming
Software Development
11 Years Ago
by deceptikon
>
compile
type operator ?
Compile
*
time
* operator. It means that the compiler already has all of the information it needs while compiling the code. The vast majority of this information is discarded by the
time
the code actually runs, which puts you at a significant disadvantage when trying to simulate
compile
time
operations.
Re: C++ (Reverse string)
Programming
Software Development
12 Years Ago
by stereomatching
compile
by vc2010, coding style of C++11? [code] #include<…::cout,"\n")); std::cin.get(); return 0; } [/code]
compile
by vc2010, coding style of C++98? [code] #include<… know how to deduce the number of the element at
compile
time
//without passing a parameter "num", please tell me…
Re: Vector of objects inside an object
Programming
Software Development
14 Years Ago
by necrolin
Compile
time
error... manager.cpp: In copy constructor `std::basic_ios<char, …("Some Great Movie"); cout << c.getInfo(); //
Compile
time
error clients.push_back(Client(101, "Bill", "88…
Re: How to check nature of entity & memory section?
Programming
Software Development
12 Years Ago
by Ancient Dragon
"
compile
-
time
" is when the compiler compiles the program. "run
time
" is when you actually execute the program.
Re: Print without using any loop
Programming
Software Development
15 Years Ago
by Narue
Compile
-
time
recursion is still recursion.
Re: Compile-time printing?
Programming
Software Development
15 Years Ago
by Narue
…and how you intend to print it. At
compile
-
time
you can really only rely on compiler-specific methods… for outputting
compile
-
time
messages. You can get close with something like this…, of course. :icon_rolleyes: If you drop the
compile
-
time
output requirement and allow less than optimal construction of …
Compile time evaluation of the primality of a number
Programming
Software Development
14 Years Ago
by vijayan121
… DIVISOR = NUMBER - 1 > struct is_prime { //
compile
-
time
assertion that NUMBER >= 2 struct check { char check_it[…example of a
compile
-
time
if and a
compile
-
time
for loop, I've added these: [code]//
compile
-
time
if- general…<< NUMBER << '\n' ; } }; //
compile
-
time
loop // print all prime numbers in the range N to…
Compile-time printing?
Programming
Software Development
15 Years Ago
by Alex Edwards
… make a template algorithm that would be evaluated at
compile
time
and also print information. Unfortunately, because std::cout…... etc. Basically anything that cannot be resolved at
compile
time
due to its chance to vary will be unworkable.…compiler is capable of doing parsing and optimizations during
compile
-
time
, it can at least flag what it is …
Compile Time Assertions
Programming
Software Development
14 Years Ago
by Dave Sinkula
…;]search[/URL] to see whether "static" meant "
compile
-
time
" here (that poor keyword [I]static[/I], it's… desired outcome for what I have titled here as "
Compile
Time
Assertions". Anyways, I did a little digging to see…
Re: compile time vs run time polymorphism
Programming
Software Development
13 Years Ago
by new_programmer
There are two types of polymorphism 1.
compile
time
polymorphism 2. run
time
polymorphism.
Compile
time
polymorphism is functions and operators overloading. Runtime
time
polymorphism is done using inheritance and virtual functions.[Eg: function overriding]
compile time vs run time polymorphism
Programming
Software Development
13 Years Ago
by java..
how OOPS concept playing roles in terms of
compile
time
and run
time
polymorphism. how inheritance and encapsulation and polymorphism applied in real
time
application. when and where and how to decide this oop concept fit for this like java bean,interface,abstract,etc?
Re: Compile time error "undeclared identifier"for functions strcpy_s,strcat_s,_itoa_s
Programming
Software Development
15 Years Ago
by risa
… later it may give problem as suppressing warning will give
compile
time
errors for these functions as the newer version will remove… these functions....but its ok!! for
time
being the problem is solved.
Compile time error "undeclared identifier"for functions strcpy_s,strcat_s,_itoa_s
Programming
Software Development
15 Years Ago
by risa
… same file in visual studio 6.0 here it gives
compile
time
error as "undeclared identifier" which is correct as…
Re: Compile time error "undeclared identifier"for functions strcpy_s,strcat_s,_itoa_s
Programming
Software Development
15 Years Ago
by risa
[QUOTE=ivailosp;642554]#define strcpy_s strcpy :D[/QUOTE] .....thanks for this quick help..,,,, but both of these funtions have different parameters,,,strcpy_s has a additional parameter to strcpy which is the size of buffer,,,..hence #define strcpy_s strcpy gives
compile
time
error in Visual Studio 8 itself,,,,,so nw wht to do??
Re: Compile time error when trying to pass string to 'external' class.
Programming
Software Development
13 Years Ago
by Bladtman242
… it affect the final result (unlikely)? Will it matter at
compile
time
? perhaps take longer? Or does it only matter when considering…
C++11 Compile-time String Concatenation with constexpr
Programming
Software Development
9 Years Ago
by mike_2000_17
… are known at
compile
-
time
, and could thus be
compile
-
time
string literals (that…
compile
-
time
constants, the
compile
will evaluate the function (addition) at
compile
-
time
to produce a result which is itself a
compile
-
time
…; }; // Note, the following are all
compile
-
time
constants: constexpr literal_str_list hello = "Hello…
Re: C++11 Compile-time String Concatenation with constexpr
Programming
Software Development
9 Years Ago
by mike_2000_17
… also use this literal string list class to perform some
compile
-
time
integer to string conversions: static const char str_digits[] = "0123456789…
Re: C++11 Compile-time String Concatenation with constexpr
Programming
Software Development
9 Years Ago
by mike_2000_17
… that implementation. It's very impressive, but at the same
time
, I feel that it has too much stuff in it… is very nice), but it is also a very heavy
compile
-
time
mechanism to put in play. Doing fancy stuff like that…'t aim, and don't want to implement a full
compile
-
time
equivalent to `std::string`, as sprout did. If I wanted…
Re: C++11 Compile-time String Concatenation with constexpr
Programming
Software Development
9 Years Ago
by mike_2000_17
…, that motivates the use of
compile
-
time
arrays instead. To make a
compile
-
time
array of string literals, we need…arrays and it can be constructed and copied at
compile
-
time
, via `constexpr` constructors. Furthermore, we can …but again, everything must be done recursively, because
compile
-
time
calculations imply recursion as the only option). Where…
Re: C++11 Compile-time String Concatenation with constexpr
Programming
Software Development
9 Years Ago
by mike_2000_17
… to me, not a good tradeoff. **Conclusion**
Compile
-
time
string concatenation, under the current language limitations (C++… way that strings could be concatenated at
compile
-
time
is if the C++ language could allow… overhead. Nevertheless, for light-weight situations where
compile
-
time
string concatenation is required, these schemes could come…
Re: Is it possible to do compile time polymorphism in Java?
Programming
Software Development
12 Years Ago
by Fbody
…; }; }; // this function will be generated, at
compile
-
time
, for the given type of animal. template <typename…substitutability) which is realized at
compile
-
time
and entails no run-
time
overhead and opens many optimization opportunities… means, friends are saying it is not
compile
time
polymorphism, It is method hiding. Your friends…
Must value be determined at compile-time?
Programming
Software Development
15 Years Ago
by srubys
… a value. The initialization value must be determinable at
compile
time
. [/quote] But if initialization value must indeed be …here the initialization value can’t be known at
compile
time
, since memory on the heap is only allocated at…the value of constant be determined at
compile
time
rather than at run
time
, while read only field can be determined…
Re: How to catch bad scoping at compile-time? Multidimensional iterator
Programming
Software Development
13 Years Ago
by mike_2000_17
… you for your answer. I was familiar with the
compile
-
time
assert from Alexandrescu (I am consulting his "Modern…are of course many more ways to catch errors at
compile
-
time
, but neither of them solves my problem. Basically …problem is not to do a
compile
-
time
assert, but to come up with a
compile
-
time
conditional that triggers the assert. …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC