| |
thread by: AnOvercomer02 |
last post Jul 23 '05 by: Ioannis Vranos
Hi. What is the best way to learn C++? None of the local schools near
me teach any courses on the topic. Thanks.
--
Cody Houston
AnOvercomer02@webtv.net
|
thread by: lmo863 |
last post Jul 23 '05 by: red floyd
Hi,
I was wondering if any of you know what an easier way to turn matlab
code into c++. I have had a look on the internet and Mathtools.com used
to do a program called matcom, but it no longer exists, neither do any
links to it within the site.
Does anyone know if matcom is still available, or if there is any other
software that will do...
|
thread by: pit3k |
last post Jul 23 '05 by: sadhu
How can I call non-const member function of a member of a class in one of
it's const qualified member function so that a compiler won't complain?
Here's the code:
bool otl_stream::eof();
class MyClass {
otl_stream m_otl_stream;
public:
|
thread by: cyberfire451 |
last post Jul 23 '05 by: cyberfire451
I'm fairly new to C++ and have a question.
I'm wodering if there is a way to only read a certain column within a
file. For example:
I have a file with this structured format, (it's just a text file)
David Politzer X A
to test a value I want to read in the X and not the rest. Any help
would be appreciated. Note this is for and entry...
|
thread by: uuk007 |
last post Jul 23 '05 by: uuk007
Hi,
I am very new to C/C++ Programming...
Please let me explain what the following code will do.
#define Check(CN,VC) \
static void CN ## _save(WSDserialize*,void* ){} \
|
thread by: Gernot Frisch |
last post Jul 23 '05 by: Karl Heinz Buchegger
class A
{
struct DATA
{
std::vector<std::string> descriptions, units;
std::vector<double> values;
std::string type, name;
} elalin;
}
|
thread by: DANIEL BEAULIEU J |
last post Jul 23 '05 by: Andreas Wachowski
Basically i am a student taking an operating systems course which
is c++ intensive. Familiar with Java, and so not so familiar with memory
management. Looking for suggestions of exercises or web resources to help
me become familiar with pointers and referencing etc. Thank you.
|
| |
thread by: semi |
last post Jul 23 '05 by: semi
I am pretty new to using C++ and I can't figure this out.
I have class PTM that starts a thread. There is an array of structure
to be shared between PTM class and thread function. For some reason,
string data gets lost when it gets to the thread function.
----------
in PTM.h
----------
using namespace std;
|
thread by: msudalai |
last post Jul 23 '05 by: EventHelix.com
Hi All,
In C++, all the objects of a single class having separate data members.
While all those objects are sharing a single copy of the member
function.
If it is the case where these member functions will be stored? whether
it's on the text section of the process memory?
Can any one explain this, how it works?
|
thread by: WahJava |
last post Jul 23 '05 by: WahJava
Hi developers,
I'm running GCC (GNU C/C++ Compiler shipped with Fedora Core 2). I've
written a program using IOStream classes, in which I'm reading files in
ios::binary mode. I'm using read() method (exact signature not
remembered) of the std::istream class ? When I'm reading the value in
objects attribute (member variable), the read fails,...
|
thread by: cppsks |
last post Jul 23 '05 by: Andrey Tarasevich
namespace test
{
static const int num = 10;
const int num2 = 20;
}
What exactly is the difference here? Which is preferred (if both mean the
same)?
|
thread by: Barry Hynes |
last post Jul 23 '05 by: barman
G'Day folks,
Have been working on this problem for quite some time and still no farther
ahead. :(
Here is my problem...bare with me i am very green :)
I have to implement a Safe List, that is derived from the STL class List and
uses exception handling.
|
thread by: greyham |
last post Jul 23 '05 by: Jerry Coffin
This is a beginner question but is there a better way to do this? I
have an array of unsigned shorts and need to convert it into a string
array with the numbers separated by spaces. I've started to make an
intermediate string of characters that represents the digits. Am I on
the right track? I know java so there must be a simple way in C++...
|
thread by: chirag |
last post Jul 23 '05 by: Thomas Matthews
hi i am writing the following function . but does not seem to put the code
in sequence. it does not compile. its kind of messed up. please help me
improve it. thanks.
void addToEndOfLinkedList(Node * &head)
// Reads a series of integers from the keyboard (ending with -1) and
// appends them to the end of the linked list pointed to by head. ...
|
thread by: PointNot |
last post Jul 23 '05 by: rossum
I'm coding in Dev C++ by bloodshed my questions are....
I want to learn to create GUI windows interfaces, can I do it in here.
I've never learned the visual aspect of C++ yet, and would like to
learn, any good sites to help me out.
THanks
|
| |
thread by: salvo |
last post Jul 23 '05 by: salvo
Hi,
I made a little program in C++, which initially displayed its data to the
standard output with the cout object. Now that I added a little graphic
interface with gtk+, I'd like to keep the class code as indipendent as
possible. This way, I could leave both version, graphic and not.
In the graphic version, every object would output its...
|
thread by: Sonia |
last post Jul 23 '05 by: Karl Heinz Buchegger
I have come across this solution to a tic tac toe game. It basically checks
who won the game:
Is there a better more efficient way of testing if the tic tac toe has been
won/lost or is over?
Thanks in advance,
==========================
function User_Won : boolean
if (takenx (1) = true and takenx (2) = true and takenx (3) = true) and...
|
thread by: TogaKangaroo |
last post Jul 23 '05 by: Ioannis Vranos
Hi, I'm trying to get intimate with my new copy of the .NET Pro
developing environment, specifically C++ Visual Studio. I have a book
(VC++ in 21 days) that I am going through following their examples.
However the book treats the MS VC++ 6.0 environment and I...as I
mentioned am learning .NET.
It hasn't been too large a problem so far, I'm...
|
thread by: Shalafi |
last post Jul 23 '05 by: Ben Pfaff
Hi,
I've modified an old library, flip (fuzzy logic stuff), to work with
new gcc compiler, I've made operation like substituting #include
<strstream.h> with #include <strstream> and inserted where useful
"using std::str..". And i've modified the makefile to add the install
and the uninstall target.
Now i'd like to use autotools and automake...
|
thread by: Steve |
last post Jul 23 '05 by: Victor Bazarov
I don't get it.
In Codewarrior for Mac OS 9.4, numeric_limits<unsigned char>::digits10 == 2.
Unless I don't understand it properly (most likely!) I thought digits10 was
supposed to represent the number of digits (in base 10) a value of this type
needs. In that case, shouldn't digits10 be 3 for an unsigned char (i.e. 255
can be represented...
|
thread by: Juhan Voolaid |
last post Jul 23 '05 by: Ron Natalie
Hi
I'm having hard time finding a way to convert:
std::string input="10.5";
to
float input2;
help is appreciated,
Juhan Voolaid.
|
thread by: gao_bolin |
last post Jul 23 '05 by: adbarnet
I have the following situation:
class A
{
public:
virtual ~A() {}
};
template < typename T >
class B : public A
|
thread by: rasbury |
last post Jul 23 '05 by: David Hilsee
If I were to include in the definition of a string class the following
operators:
class String {
public:
// ...
operator const char *() const; // conversion to C-style string
char operator(size_t i) const; // character indexing
// ...
};
|
| |
thread by: ronny |
last post Jul 23 '05 by: ronny
Can anyone tell me why the following code works fine using an array.
<snip>
double xVal; // array
mxArray *X = NULL; //MatLab mxArrays
|
thread by: elena |
last post Jul 23 '05 by: elena
I'm a Java/C++ developer who is also studying psychology. I'm looking
at an attribute called "cognitive style" right now, and I'd like to get
some responses that measure it using a sample of software developers.
I can go to my friends, however it occured to me it might be
interesting to post in a newsgroup to get a more diverse and random...
|