| |
thread by: me |
last post Jul 19 '05 by: me
Hi,
I trying to add a menu bar to my main widget.
The reslut is, that the menus (like file menu) apear and work ok, but
the menubar it self is not being refreshed at all.
I looked at all the documantation I could find, and I cant find what I
am doing wrong...
When my main widget first apears, the area of the menu bar will be
full with...
|
thread by: Chandrashekar |
last post Jul 19 '05 by: Karl Heinz Buchegger
Hi all,
I am using "vectors" and also Borland C++ compiler for fist time. I
wrote the following code.
/***********************************************************/
#include<stdio.h>
#include<iostream.h>
#include <vector>
#include <algorithm>
|
thread by: Marc Schellens |
last post Jul 19 '05 by: Marc Schellens
How can I delete a file in C++?
thanks,
marc
|
thread by: don |
last post Jul 19 '05 by: Victor Bazarov
This is a great code developing editor which works with just about any
programming language out there.... Its best feature is the way it lets you
create shortcut phrases for any of your most often typed code syntax, which
it then expands automatically.... it has fantastic search and replace
routines and a fully customizable color display for...
|
thread by: Jeremy Cowles |
last post Jul 19 '05 by: Victor Bazarov
Just curious (and I will probably regret this), but what kind of projects
are you all working on? I am just starting to learn C++ and I was wondering
what kind of systems the /average/ developer works on.
Jeremy
|
thread by: Charles Keepax |
last post Jul 19 '05 by: Josephine Schafer
Just a little quick question what is the effect of putting a const after
a member function definition.
Charles
|
thread by: Vikas |
last post Jul 19 '05 by: Vikas
I am working on an application to be written in C++ which has to read
a binary file and parse it to get the data out of it. The file format
is Integrated Product Message (IPM) which contains message type,
elements and sub elements in it.
Now the elements in the file and their value depends on message type
and one element's value may be...
|
| |
thread by: Vasileios Zografos |
last post Jul 19 '05 by: Thomas Matthews
Can someone please tell me what this assignment does?
iType |= EB_YMIN_ZMAX;
|
thread by: Mark |
last post Jul 19 '05 by: Victor Bazarov
I'm compiling an application with a Borland C++ compiler. We use the
VERSIONINFO in the rc files to store product information.
VS_VERSION_INFO VERSIONINFO
FILEVERSION 6,500,09,105
PRODUCTVERSION 6,500,09,105
FILEOS VOS__WINDOWS32
FILEFLAGS 0
FILETYPE VFT_APP
|
thread by: claire.bell1 |
last post Jul 19 '05 by: Psy
Hi,
Is there a standard library or tool for C++ that lets you draw 2D graphics
in a window? Does anyone know a good website that teaches how to do 2D
graphics in C++?
Thanks,
Vipa
|
thread by: Shubhadeep |
last post Jul 19 '05 by: Jakob Bieling
Dear Sir,
Can anybody please tell me why cannot we have virtual destructors like
virtual constructors in C++ ?
Thanx,
Regards,
Shubhadeep
|
thread by: minjie |
last post Jul 19 '05 by: Victor Bazarov
Hi,
I'm writing an app that fetches a row of data from the database, and
extract the value from each column (of that row of data), and insert
each value into a linked list for later display on the GUI. Since the
values are of different data types, I'm using stringstream (say, ss)
to hold the data and converts each one into string when...
|
thread by: las |
last post Jul 19 '05 by: John Harrison
Hello, Im trying to figure out the difference between int and char
#include <iostream>
#include <stdlib.h>
int main()
{
int i = {1};
char c = {'1'};
|
thread by: Ulf Rimkus |
last post Jul 19 '05 by: Ulf Rimkus
Hallo!
Now I've tried out for quite a long time how to access the -operator from
a base class. But I cannot find out how to do this. Well, it's an example
from "Think in C++".
So, I guess I need some help from any real C++ programmer.
Greetings, Ulf
// 14.9 Inherit a class StringVector from vector<void*> and redefine the
|
thread by: Laxman |
last post Jul 19 '05 by: Laxman
==C.H <==
#include <fstream.h>
class C
{
public:
C(int i);
friend ofstream& operator<<(ofstream& os, const C&);
};
------------------------------------------------------------
==B.H <==
|
| |
thread by: Rahul Joshi |
last post Jul 19 '05 by: Shane Beasley
Hi,
Is it possible to define static member functions that are 'const',
i.e. they just read but do not modify the static data members of
a class? Declaring functions like:
class SomeClass {
static int read() const;
};
|
thread by: Marc Schellens |
last post Jul 19 '05 by: Marc Schellens
fstream.open( name, mode) fails
fstream.fail() returns true.
How can I find out what went wrong?
(ie. file does not exist for reading, permissions...)
thanks,
marc
|
thread by: christos panagiotou |
last post Jul 19 '05 by: Vasileios Zografos
hi all
I am trying to open some .raw files that represent images (256x256, 8
bit per pixel, no header) in a c++ program
I cannot copy paste the module here as it uses a method from the VTK
(Visualization Toolkit)
the module i ve got is already tested with the same dataset and it works
if these files have been created under windows and...
|
thread by: Marc Schellens |
last post Jul 19 '05 by: John Harrison
I have (or better had) a class wich contains
a fstream (as a private member).
I made a vector of this class.
When I resize() the vector I got several error messages,
about some stuff being private int that context.
Is this gcc (3.2) specific or is there a 'official' reason for this?
thanks,
marc
|
thread by: Sandy |
last post Jul 19 '05 by: vijay
what is the difference between SEND NOTIFY MESSAGE AND POST MESSAGE
AND SEND MESSAGE.
If which circumstances these functions are used.
Regards
Sanjeev
|
thread by: gukn9700 |
last post Jul 19 '05 by: John Harrison
the following code cannot pass the compiler:
#include <fstream>
#include <iostream>
using namespace std;
int main()
{
fstream outfile("i:\\test.txt", ios_base::in | ios_base::out);
|
thread by: Joerg Toellner |
last post Jul 19 '05 by: Jakob Bieling
Hi Group,
Dont know how to solve my problem with my little brain by myself. Maybe my
way is not the best at all and maybe not C++ style...but i don't no to do
better at the moment. So excuse my maybe horrible coding-style.
I have the following files:
a.cpp
b.cpp
|
thread by: Joerg Toellner |
last post Jul 19 '05 by: Joerg Toellner
Hi Group,
sorry, its again me with a dumb question.
If i have a function with the optional parameter "mode" like this:
void myfunc(char *blah, int mode = NULL)
{
if(mode == NULL)
do_something();
|
| |
thread by: Makis Papapanagiotou |
last post Jul 19 '05 by: Makis Papapanagiotou
Hello,
Does anybody knows any good book as a reference, concerning advanced
exception handling methods for C++ and so on?
I am not refering simply to the "try" & "catch" statements.
I am trying to find a detailed description concerning set_terminate(),
set_unexpected(), set_new_handler(), etc.. functionality
|
thread by: Abhi |
last post Jul 19 '05 by: Dhruv Matani
Hi,
I am looking for some memory pool implementation of new/delete. Is
there any freeware/shareware/software out there?
Any pointers would be great help.
Thanks
......Abhi
|