Description:
The object-oriented C++ language.
|
|
|
c++ runtime library
|
| |
hello every one , this may be very basic question and may be a bit out of topic ,, can anyone please tell me what are the functions of runtime library and are they the one which create the program stack, manages heap??? and how can i find out that does my compiler (or linker) produces dynamically linked runtime libraries (if so how can i make it to do it... more »
|
|
error: function is taken as an micro
|
| |
hello everyone, i use a function called minor to find the minor of an element of a matrix , i declare it as : float minor(float A[ ][COL],int m,int n,int i,int j);//find the minor in A[][] and define it later in the file as : float minor(float A[][COL],int m,int n,int i,int j) { if(m==0 ||n==0)//single coloumn or single row... more »
|
|
Debug Assertion Failed!
|
| |
i have a problem: when i run a program,it pop up a windows,title is microsoft visual c++ failed! contents are: program: ...io\myprojects\phonebook\deb ug\phonebook.exe file:fopen.c line:54 expression: *file !=_T('\0') for information on how your program can cause an assertion failure,see the visual c++ doucmention on asserts.... more »
|
|
pointer to function in constructor
|
| |
Hello all. I have to convert a program from C to C++. The original code used drivers that were available in C, and now are only available in C++. Thus, I have the "honour" of converting the code. There are a couple of areas that are blocking me. I've already taken care of the rest. I have a structure that is initialized as soon as it is declared in a... more »
|
|
Building the name of an executable function
|
| |
I need to build the name of a function from data in a text file. For example, after reading the variables 'FCTN_PREFIX' AND 'FCTN_SUFFIX' from the text file, I need to execute the function: FCTN_PREFIX & 'TXT1' & FCTN_SUFFIX & 'TXT2'; where TXT1 and TXT2 are hardcoded text; & indicates concatenation.... more »
|
|
c++ design question: store identifiers
|
| |
I have this problem: I read string identifiers from the file, and based on identifier I want to invoke certain function. So, in theory, I need something like enum that supports strings, and then do switch that...Here is a rough draft of what it should be: class Value{ private std::string identifier; //read from the file... more »
|
|
Interact with console application
|
| |
Hi, I am coding a c++ application that is supposed to be capable of altering large text files. I want to use sed to do this. So I need to know how I can start sed from within the c++ program and how to get the return value (I do not want to write the result immediately into a file). This is another question, a little off topic, but if somebody happens... more »
|
|
function pointer
|
| |
This code below works with M$ VS2005 but fails with g++ 4.1.3. However, the unary operation works with g++ as well. The interval class is at [link] but everything is declared as it should be. The error message of g++ is: main.cpp:9: error: no matches converting function ‘operator+’ to type... more »
|
|
Book name for multifileing in c++
|
| |
Hi, i want to learn about multi-fileing in c++ . Can anyone tell me a good reference book?. I dont have good idea over multifileing (header files, and resource file what they do and how it generate object of class in it).
|
|
New operator with placement argument
|
| |
int *ptr=new(4) int[10]; What does new(4) mean here ? Is this new operator better or worse than plain old new ? What are the practical advantages and disadvantages associated with this ? Is this method used by serious programmers ?
|
|
|