¡@

Home 

c++ Programming Glossary: can't

CSV parser in C++

http://stackoverflow.com/questions/1120140/csv-parser-in-c

If you don't care about escaping comma and newline AND you can't embed comma and newline in quotes If you can't escape then..... AND you can't embed comma and newline in quotes If you can't escape then... then its only about three lines of code OK 14..

Why is processing a sorted array faster than an unsorted array?

http://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-an-unsorted-array

random the branch predictor is rendered useless because it can't predict random data. Thus there will probably be around 50 misprediction...

what is the difference between const int*, const int * const, int const *

http://stackoverflow.com/questions/1143262/what-is-the-difference-between-const-int-const-int-const-int-const

you actually need to set the pointer here because you can't change it later foo is a variable pointer to a constant int... char . You may change which string you point to but you can't changed the strings content. This is important when the string..

what is array decaying?

http://stackoverflow.com/questions/1461432/what-is-array-decaying

declared as int numbers 5 cannot be re pointed i.e. you can't say numbers 0x5a5aff23. When you pass an array into a function..

Do-While and if-else statements in C/C++ macros

http://stackoverflow.com/questions/154136/do-while-and-if-else-statements-in-c-c-macros

FOO X do f X g X while 0 #define FOO X if 1 f X g X else I can't see what the do while is doing. Why not just write this without..

When should static_cast, dynamic_cast and reinterpret_cast be used?

http://stackoverflow.com/questions/332030/when-should-static-cast-dynamic-cast-and-reinterpret-cast-be-used

out the desired object and return it if possible. If it can't it will return NULL in the case of a pointer or throw std bad_cast..

What are all the common undefined behaviour that a C++ programmer should know about? [closed]

http://stackoverflow.com/questions/367633/what-are-all-the-common-undefined-behaviour-that-a-c-programmer-should-know-ab

Cast and Const Casting a numeric value into a value that can't be represented by the target type either directly or via static_cast.. available stack space ... Preprocessor numeric values that can't be represented by a long int Preprocessing directive on the..

RAII and smart pointers in C++

http://stackoverflow.com/questions/395123/raii-and-smart-pointers-in-c

whether foo or bar will finish with the file first so we can't expect either to delete the file themselves. For instance if..

What are Aggregates and PODs and how/why are they special?

http://stackoverflow.com/questions/4178175/what-are-aggregates-and-pods-and-how-why-are-they-special

if&hellip wait nothing is said about structs or unions can't they be aggregates Yes they can. In C the term class refers..

What's this STL vs. “C++ Standard Library” fight all about? [closed]

http://stackoverflow.com/questions/5205491/whats-this-stl-vs-c-standard-library-fight-all-about

misleading. I hardly know anything about C 's history so I can't judge the article's correctness. Should I refrain from using..

What are the differences between pointer variable and reference variable in C++?

http://stackoverflow.com/questions/57483/what-are-the-differences-between-pointer-variable-and-reference-variable-in-c

point to NULL while reference can never point to NULL You can't take the address of a reference like you can with pointers There's..

size of int, long, etc

http://stackoverflow.com/questions/589575/size-of-int-long-etc

a byte in all but the most obscure platforms it's 8 and it can't be less than 8 . One additional constraint for char is that..

Where and why do I have to put the “template” and “typename” keywords?

http://stackoverflow.com/questions/610245/where-and-why-do-i-have-to-put-the-template-and-typename-keywords

are back to the same problem as with typename . What if we can't know yet whether the name is a template when parsing the code..

Difference between 'struct' and 'typedef struct' in C++?

http://stackoverflow.com/questions/612328/difference-between-struct-and-typedef-struct-in-c

only a name in the typedef namespace. This means it also can't be forward declared. If you want to make a forward declaration..

Can a local variable's memory be accessed outside its scope?

http://stackoverflow.com/questions/6441218/can-a-local-variables-memory-be-accessed-outside-its-scope

hotel decides to only rent out rooms sequentially and you can't check out until everyone with a room number higher than you..

Why can't variables be declared in a switch statement?

http://stackoverflow.com/questions/92396/why-cant-variables-be-declared-in-a-switch-statement

can't variables be declared in a switch statement I've always wondered.. in a switch statement I've always wondered this why can't you declare variables after a case label in a switch statement..

In C++, why use static_cast<int>(x) instead of (int)x?

http://stackoverflow.com/questions/103512/in-c-why-use-static-castintx-instead-of-intx

pOther static_cast CMyOtherStuff pSomething Compiler error Can't convert pOther CMyOtherStuff pSomething No compiler error...

C/C++ initialization of a normal array with one default value

http://stackoverflow.com/questions/1065774/c-c-initialization-of-a-normal-array-with-one-default-value

fine and sets each element to 0. What am I missing here.. Can't one initialize it if the value isn't zero 2 Is the default initialization..

Passing shared pointers as arguments

http://stackoverflow.com/questions/10826541/passing-shared-pointers-as-arguments

the first option and lose a potential move in the second. Can't I eat the cake and have it too If you're in a situation where..

How are you using C++11 today? [closed]

http://stackoverflow.com/questions/1754397/how-are-you-using-c11-today

forward compatibility share improve this question Can't guess how many are interested in the new C 0x and I am pretty..

C++ DLL Export: Decorated/Mangled names

http://stackoverflow.com/questions/2804893/c-dll-export-decorated-mangled-names

SomeFunction SomeFunction@@@23mangledstuff#@@@@ UPDATE2 Can't use Comment option on this website for some reason I also tried..

How do I read from a version resource in Visual C++

http://stackoverflow.com/questions/316626/how-do-i-read-from-a-version-resource-in-visual-c

ProductVersion pvProductVersion iProductVersionLen TRACE Can't obtain ProductName and ProductVersion from resources n return..

Portable C++ build system

http://stackoverflow.com/questions/3349956/portable-c-build-system

projects outside the Boost itself. Need to find library Can't need to find header Can't. Need to do something outside of simple.. itself. Need to find library Can't need to find header Can't. Need to do something outside of simple build and you have not..

How to get a list of video capture devices (web cameras) on linux ( ubuntu )? (C/C++)

http://stackoverflow.com/questions/4290834/how-to-get-a-list-of-video-capture-devices-web-cameras-on-linux-ubuntu-c

video_pic if fd open dev video0 O_RDONLY 1 perror cam_info Can't open device return 1 if ioctl fd VIDIOCGCAP video_cap 1 perror.. 1 if ioctl fd VIDIOCGCAP video_cap 1 perror cam_info Can't get capabilities else printf Name t t ' s' n video_cap.name.. if ioctl fd VIDIOCGWIN video_win 1 perror cam_info Can't get window information else printf Current size t d x d n video_win.width..

Can't C++ POD type have any constructor?

http://stackoverflow.com/questions/5442717/cant-c-pod-type-have-any-constructor

C POD type have any constructor I have a class and a const..

Differences between unique_ptr and shared_ptr [duplicate]

http://stackoverflow.com/questions/6876751/differences-between-unique-ptr-and-shared-ptr

T myPtr new T Okay unique_ptr T myOtherPtr myPtr Error Can't copy unique_ptr However unique_ptr can be moved using the new..

“undefined reference to” in G++ Cpp

http://stackoverflow.com/questions/6978241/undefined-reference-to-in-g-cpp

undefined reference to&rdquo in G Cpp Can't seem to get the errors to go away. Errors are below. I have..

Compile a DLL in C/C++, then call it from another program

http://stackoverflow.com/questions/847396/compile-a-dll-in-c-c-then-call-it-from-another-program

add2 text1.text from a form but it gave me a runtime error Can't find DLL entry point add2 in C c dll mydll.dll this is the code..

Image scaling (KeepAspectRatioByExpanding) through OpenGL

http://stackoverflow.com/questions/9011108/image-scaling-keepaspectratiobyexpanding-through-opengl

glEnd draw a single quad painter.endNativePainting Can't guarantee this last code snippet is error free since I don't..

Can't use modulus on doubles?

http://stackoverflow.com/questions/9138790/cant-use-modulus-on-doubles

use modulus on doubles I have a program in C compiled using..

Check at Compile-Time if Template Argument is void

http://stackoverflow.com/questions/9625526/check-at-compile-time-if-template-argument-is-void

as follows void Wrap void WINAPI api void ret api ahem Can't declare a variable of type void... check for errors return ret.. a variable of type void... check for errors return ret Can't return a value for void either To get around this I tried creating..