| |
thread by: Joe Laughlin |
last post Jul 22 '05 by: Tom Widmer
Joe Laughlin wrote:
> Mike Wahler wrote:
>> "Joe Laughlin" <Joseph.V.Laughlin@boeing.com> wrote in
>> message news:I60Dvs.FqL@news.boeing.com...
<snip>
>>> Joe Laughlin wrote:
>>> std::back_insert_iterator<std::string>::operator=(const
>>> std::back_insert_iterator<std::string>&)
>>
>> 'back_insert_iterator' requires that the container...
|
thread by: Ian |
last post Jul 22 '05 by: Steven T. Hatton
I've downloaded 3rd party libraries and I'm trying to link them in
with my code but when I use -l<library name> it gives me the error
"ld: cannot find -l<lib name>". When I link the libraries explicitly
it seems to work okay, ie by entering the full address to the library
on the command line or in the makefile. I'm running on Linux, I...
|
thread by: cppsks |
last post Jul 22 '05 by: Markus Elfring
Here is the code that I am working with:
#include <new>
#include <iostream>
#include "stdlib.h"
class Base1
{
public:
Base1() { cout << "Base1:" << this << endl; }
|
thread by: Mister Zimbu |
last post Jul 22 '05 by: Mister Zimbu
I'm having problems with a program I wrote- when it comes time to output
a file, the call to fopen locks up and I have to break the program
manually. I've pinpointed the actual stopping point to fopen, but due
to my lack of knowledge with gdb, etc., I don't know how to go any
further with the debugging from there.
I'm running gcc under...
|
thread by: Eric Lilja |
last post Jul 22 '05 by: Michael Kurz
Hello, I'm working on my C++ homework and I have a question about the
following function.
It's part of my code the handles command line arguments. Here's the code:
static void
extract_numbers(const char* optarg, vector<string>& numbers)
{
const char* str = optarg;
while(true)
|
thread by: ZubZero |
last post Jul 22 '05 by: Gernot Frisch
Hello,
i have to write a utility in c++ for windows 2k/XP.
But i have 2 difficult problems.
I asked many programmers i know, but none of them was able to tell me
how i can do this.
1. I would like to disable a specific USB-port (not all ports, only
one).
I have a USB Cardreader with an integrated 7-port USB-Hub.
|
thread by: Ruben Campos |
last post Jul 22 '05 by: Ruben Campos
I have a problem with a template function that is declared as a friend of a
template class. I'll first show the exact problem with source code:
// MyClass.hpp
template <typename T>
class MyClass
{
// ...
friend void MyFriendFunction (MyClass <T> * const ptrMyClass);
// ...
|
| |
thread by: John |
last post Jul 22 '05 by: Richard Herring
I have some code that uses header file "avi2bmp.h"
Where can I download this from?
John
|
thread by: sj |
last post Jul 22 '05 by: sj
Hi;
I am writing a c++ code to transform matrix, (a) to (b) using
divide-and-conquer method in four recurrence. I am having difficulty
to merge four submatrices to get the answer. could someone give me a
source code or explain to me how to do it. I am sorry if this is not a
right place to ask.
Thanks
ks
|
thread by: Johan |
last post Jul 22 '05 by: David Harmon
Hi,
Can somebody help me with this problem : I have the following member
functions
#define FUNC(x) get##()
class A
{
the declarations etc, etc.
|
thread by: gibffe |
last post Jul 22 '05 by: John Harrison
Hello
I have a big problem with hash_map in stl.
I'm trying to create hash_map<const char *, char *> map
to keep key => val pairs as 4 byte C "strings".
Everything is ok when i do let's say
my_hash = "efg";
my_hash = "bb";
|
thread by: Adrian |
last post Jul 22 '05 by: Adrian
Hi all,
A while ago while I was doing a part time c++ course at uni and we where
asked to write a code solution to a little problem. The idea being that
you can type in either a name or a mark and return all results that
match what you typed. The code had to include a doubly linked binary
tree. (sorry dont have the original problem...
|
thread by: Super KHB |
last post Jul 22 '05 by: John Harrison
I am still trying to display 2D arrays with pointers.
My prof gave us the prototype
void DisplayArray (int (*);
where inside the function DisplayArray(array)
*(*(array + row) + col) would be the same as array
But it does not even accept the prototype. Please help!
|
thread by: Ariel |
last post Jul 22 '05 by: Ariel
When passing an object by value to some function foo(), the copy
constructor gets called and inside it i see that the address of the
temporary obect is X.
but when entering to foo() i see that the address of the temporary
object is Y.
By looking at the assembly i think that the copiler copies the
temporary object to a different location...
|
thread by: trying_to_learn |
last post Jul 22 '05 by: Bob Hairgrove
im in the primary stages of learning C++. The book im learning from says
Dont use using namespace.. directive in header file
However im trying to make the following header file.I need to include
<string> header file and also will have to say using namespace std to
make the string class visible.
qn)how do i resolve the requirement of *not*...
|
| |
thread by: F. GEIGER |
last post Jul 22 '05 by: F. GEIGER
Often I have to parse files containing lines of formats like the following:
ItemName::1::100
ItemName is a name, 1 and 100 are the min and max values of a range.
When I parse such lines I split them into substrings, where "::" is the
delimiter. Then I feed them into static methods of classes, that are
concerned with:
|
thread by: Ann |
last post Jul 22 '05 by: John Harrison
I have recently installed VC++ 6.0. When I create a new workspace and
add .c and .h files, the IDE cannot find a build tool for .h files.
Is there any other component that needs to be installed besides the
regulare VC++ installation (installed from Visual Studio).
Thank You,
Ann
|
thread by: Oren |
last post Jul 22 '05 by: Oren
Hi,
I use the Winsock ActiveX in VS C++.
the problem is that I am unable to catch all the exceptions.
for instance if I have a server who listens at port 1111 and I try to
connect to the wrong port or if the server is offline I get error
messagebox "connection is forcefully rejected". it seems that I can't
catch that message somehow.
...
|
thread by: Ray |
last post Jul 22 '05 by: Ray
Does anyone know if there is a notification broadcast, or alternatively a
message that can be sent to the system, that would inform me that a web
camera attached to the local computer was in use, or not?
Thanks,
Ray
|
thread by: Ann |
last post Jul 22 '05 by: Victor Bazarov
I am newbie to VC++. Presently I am working on a Java project that
requires integration with C API using JNI.
When I run a sample project like HelloWorld....
Then HelloWorld.h get included and project is very easily compiled..
But when I include a different file like...rfidDataManager.h, I get
this error
fatal error C1083: Cannot...
|
thread by: Chris F Clark |
last post Jul 22 '05 by: Chris F Clark
1) I would really like to ask this on comp.lang.c#, but no such group
exists. However, perhaps someone in one of the above two groups
will know the answer and help me out.
In my product, I use a variation of a design pattern called
"generation gap". In particular, there is library code that knows
about certain classes that are user...
|
thread by: Ganesh Gella |
last post Jul 22 '05 by: John Harrison
Hi all,
I have seen few places where constructors are declared like this.
class A {
explicit A(){};
};
I can understand this,
class A {
|
thread by: Lieven |
last post Jul 22 '05 by: Default User
Are all the posts here archived somewhere? I need to find the answer to an
old post of mine.
|
| |
thread by: James |
last post Jul 22 '05 by: Jacek Dziedzic
Hi,
I am using Visual C++ 6.0. I got a "stack overflow" error message when
running the program because of a "double array". I have a
computer with 1GB memory. Can I extend the memory for the program
running? How?
Looking forward to hearing from you!
Regards,
|
thread by: Smitsky |
last post Jul 22 '05 by: Victor Bazarov
Why do I get (using Dev-C++) "111," when I should be getting "101" when I
enter "5?" I never get a "0" as an output. Can anyone let me know why?
Thanks. Steve
//----------------------------Code Starts------------------------------->
#include<stack>
#include<iostream>
using namespace std;
|