| |
thread by: oi123 |
last post Apr 23 '07 by: AdrianH
How do you extract full name by looking for the space to get just the first name by itself and the last name by it self by using call by reference without using if or else
|
thread by: thermate2 |
last post Apr 23 '07 by: pt
Dr Gideon Polya published some 130 works in a 4 decade scientific
career, most recently a huge pharmacological reference text
"Biochemical Targets of Plant Bioactive Compounds" (Taylor & Francis,
New York & London, 2003), and is currently editing a completed book on
global avoidable mortality (numerous articles on this matter can be
found by...
|
thread by: WtFudgE |
last post Apr 23 '07 by: WtFudgE
Hi, I'm using a numericupdown to represent the number of items in a listbox. It's supposed to add more items to the listbox if i change the value of the numericupdown. I used to did this with a combobox with values up to 5, but now I need editable values. The thing is, it works if I type in text and then press enter. It also works if I push the...
|
thread by: saxenavaibhav17 |
last post Apr 23 '07 by: Ian Collins
Hi all;
I am doing C++ and Ms-ACCESS connectivity.
previously I was using DAO.
not I just switch with ADO.
I need to add Grid to display data.
Stored queries are used.
It is working fine if stored query is like Select Statement.
but it is not working fine if I use Parametrised query.
the same code is running fine in DAO version.
means...
|
thread by: Chris Thomasson |
last post Apr 23 '07 by: Jerry Coffin
Consider an an object that that can has 7 or 8 functions. If you create an
abstract base class for the "interface" of the object, well, that means 7 or
8 pure virtual functions right? Well, IMHO, that's way too much... I was
wondering if the following technique is "frowned" upon:
<pseudo-code>
_____________
typedef struct ......
|
thread by: subramanian100in |
last post Apr 23 '07 by: Jerry Coffin
In C, we can compare(ie apply the equality operators == and != to)
pointers to elements of the same array only. We cannot compare the
pointers to different objects of the same type. In C++, consider the
operator=.
For a class X,
X& operator=(const X &ref)
{
if (this != &ref)
|
thread by: hairobinson |
last post Apr 23 '07 by: hairobinson
Can any one help me explaing about Kernel Memory leak? what is kernel memory leak? how do we debug Kernel level Memory Leak? Do we have standard tool for finding it? How do we differentiate Kernel level memory leak with Application level Memory leak?
Thanks in Advance,
|
| |
thread by: elShazo |
last post Apr 23 '07 by: James Kanze
Question: Program was originally developed in directory "/home/dude/
desktop/program" with subdirectores. I want the program and the files
it needs to run (images, settings files, etc.) from a new source. I
have changed the code to refer to just the subdirectories (i.e. /
images/terrain) instead of the fully qualified path (/home/dude/...
|
thread by: MathWizard |
last post Apr 23 '07 by: Jeroen
Hi,
I have a question about returning an object in a function and calling a
copy constructor. As far as I understand, in the following code the copy
constructor may or may not be called, depending on the compiler:
A what()
{
A my_A;
// do something with A.
|
thread by: sam_cit |
last post Apr 23 '07 by: Ian Collins
Hi Everyone,
I searched for mmap() and i found the following in wikipedia,
'Anonymous mappings are mappings of physical RAM to virtual memory.
This is similar to malloc, and is used in some malloc implementations
for certain allocations'
I understood that the memory contents are mapped to files using
mmap()
|
thread by: Alessandro Monopoli |
last post Apr 23 '07 by: anon
Hi all!
I'm having HUGE problems converting some code from STLPort 4.6 to 5.1,
to make some old program compile under Visual Studio 2005.
Do you know something about? Or a tutorial or something?
The code is the Renderware openExport.
Bye!
Alex
|
thread by: tika |
last post Apr 23 '07 by: tika
hi,
can anyone temme how to send mail through SMTP using C++ or C# tat does not depend on any mail client???
pls help as soon as possible.
thanks & regards,
tika.
|
thread by: hairobinson |
last post Apr 23 '07 by: hairobinson
What is Core dump? how will it occur? Especially with Linux OS? Please share the code example if any?
|
thread by: Ilkinho |
last post Apr 23 '07 by: Ilkinho
I`ve got class Stock and operator >> defined for it:
istream &operator>>(istream &is, Stock& e){
is>>e.stockName>>e.producer>>e.date.m_day;
return is;
}
Also class BunchOfStocks which stores Stock objects in a map.
class BunchOfStocks{
map <Stock, int> stocks;
public:
copy (istream_iterator< Stock, int > (ifile),
|
thread by: Johs |
last post Apr 23 '07 by: Pete Becker
In Pratical C++ Programming by Steve Oualline (O'Reilly) I found this
code example:
#include <iostream.h>
int result; // the result of the calculations
char oper_char; // the user-specified operator
int value; // value specified after the operator
int main()
{
result = 0; // initialize the result
|
| |
thread by: gNash |
last post Apr 23 '07 by: Flash Gordon
Hi all,
i have some question on memory allocation.. if we use strlen()
for const string it will give string length because it will count a
variable upto '\0' character..
Is there any way to know the length of dynamically allocated
memory block..
and malloc(30) how to check 30 bytes has been allocated in memory?
|
thread by: peter.great12 |
last post Apr 23 '07 by: peter.great12
An excellent resource on Software Configuration Management has been
added including principles functionality for those who want to explore
and intend to get benefit. Must Read!!
http://www.it-techexperts.com/SCM.asp
|
thread by: gNash |
last post Apr 23 '07 by: Flash Gordon
main()
{
char arr="hai";
strcat(arr,arr);
printf("%s",arr);
}
its printed haihai..
|
thread by: Pol |
last post Apr 23 '07 by: Zeppe
Hi,
Currently I'm using Visual Studio 2005 .net. I started a new project 2
weeks ago. The application had no error, but now VS tells me:
<pre>Fehler 1 error C2143: syntax error : missing ';' before 'using' d:
\Visual Studio 2005\Projects\thoughtbox\thoughtbox\thoughtbox.cpp 6
</pre>
But I never modified anything in this file, and there...
|
thread by: eshuv |
last post Apr 23 '07 by: JosAH
hi
I am faceing this problem when comlling the .cpp file .
fatal error C1004: unexpected end of file found
|
thread by: Alessandro Monopoli |
last post Apr 23 '07 by: Victor Bazarov
Hi!
I have tons of problems linking STLPort to my project: it seems the
projects does not find any function or object in the lib, that I have
compiled following the instructions (including make install) with
Visual Studio 2005.
Visual Studio finds the .lib file, but it seems it doesn't find the
functions.
|
thread by: Kelly B |
last post Apr 23 '07 by: mark_bluemel
I need a function which returns me a "word" from a given string and
then sets the pointer to the next one which is then retrieved during
further calls to the function.
I think strtok( ) is the solution but i could not understand the use of
the function as given in the C99 standard
EXAMPLE
#include <string.h>
static char str =...
|
thread by: WuJianWei |
last post Apr 23 '07 by: weaknessforcats
Is there a way(function) to distingusih between different data types?
if u can, provide me with the code...
thank u...
|
| |
thread by: hairobinson |
last post Apr 23 '07 by: weaknessforcats
How do we access the private member variable outside the class with out using friend ?
|
thread by: veenaelango |
last post Apr 23 '07 by: weaknessforcats
Please help me in "Converting an IP address to 32 bit long integer using strtok( ) and unions in C
|