General C++ Programming - December 2010 (Page 2)

matrix multipilation with mpi
 
The objective of the project is to perform matrix multiplication using the parallel computing frameworks : MPI File Formats The program must be standard as f...
[1 reply] : just so that you know, a good place to put your code if there is too m... (by hamsterman)
different memory heaps: _CrtIsValidHeapPointer()
 
Hello, I use plugin architecture in my application, which basically have two part. 1 main (c++ runtime library binded statically "option is MTd in visual studi...
[1 reply] : You're probably creating new objects with new and releasing them with ... (by kbw)
Send Values (int, float, etc) over sockets
 
Are sockets the only way to send data over a network?, and how to send values on them? (ex: how to send a 4 byte long integer?)
[no replies]
namespace use
 
What is the difference between #include <iostream.h> and #include <iostream> using namespace std; When i tried to compile without namespace and a "...
[3 replies] Last: Hi Disch, Thanks much for your time and the explanation. (by najanaja)
Doubly linked list - most recently added variable can't be retrieved
 
I'm working on a shell and I have a pair of linked lists (one to store shell variables (ones that have been defined by or accessible to scripts/users) and one t...
[3 replies] Last: glad I could help. but really, as I said, why would you use a list ... (by hamsterman)
by fafner
quick const question
 
I'm trying to get to grips with some code, and I'm seeing this recurring thing that I'm not familiar with. This is an example: Foo::operator^ (const Foo& ...
[3 replies] Last: I know this link is from Mircrosoft, but it's a pretty good explanatio... (by big o)
#defines for input flags
 
I know how strongly it is discouraged to use preprocessor statements in c++, but in a class which takes input from a joystick and buttons is it really worth dec...
[4 replies] Last: You should use an enumeration rather than #define: enum joystick_fla... (by chrisname)
Eclipse Helios IDE C/C++ my views...
 
I just downloaded this thing, just because I was curious...wow! That is all I can say. However, as far as it goes being user-friendly (big thumbs down). It did ...
[no replies]
Where to find c++ language specification
 
Hello Guys, I wonder, where we can find standard language specification for c++..?? Like we have one for java
[3 replies] Last: Thank u guys thats wat i was looking for.. (by rohandreamworld)
Goto loop entry :-@
 
Here is something that has bothered me for ages, and for which I cannot seem to find a very satisfying answer in C++. I am still playing around with bignum ...
[5 replies] Last: Yes, it is a high-level loop optimization. Like I said, the BP compile... (by Duthomhas)
dynamic_cast pointer from derived to base throws access violation error
 
Hi all, I am not very sure of the exact mechanism that dynamic_cast uses, however the present code behavior is beyond my comprehension. It appears to me to h...
[3 replies] Last: Thank you both guys! This code was more to understand the nuances, tha... (by aaptuster)
by brxue
about cout << flush
 
Hello, Can anyone explain how does "cout << flush" is overloaded as "flush(cout)"? What's the function prototype? Thanks Brian
[1 reply] : std::flush is a manipulator that calls std::ostream::flush that is, ... (by Bazzy)
Behavior for pointer comparison with functors?
 
I would like to know how to implement the contains function from the following code in a portable manner. #include <stddef.h> #include <assert.h> st...
[8 replies] Last: @Duoas, I understand that the topic of pointer comparison is designed ... (by simeonz)
Linker error
 
I am trying to run a simple "Hello World" program. I am running Windows 7, Dev C++ ver 4.9.9.2. My programs is: #include <cstdlib> #include <iostream>...
[10 replies] Last: I encountered this problem when I had another mingw installed at c:\mi... (by headwind)
Made the switch to Code::Blocks today!!
 
I had been using wxDev-C++ for a while, today...I finally tried Code::Blocks, I imported one of my Dev-Cpp projects and it compiled with no problems. I sat down...
[1 reply] : here in our school we use codeblocks as our ide for c++. its nice ide.... (by thecodewall)
Static class members and constant initializing
 
So, I'm learning to program classes in C++ and having some difficulty with the following... class Rectangle { public: double x, y, width, height; ...
[5 replies] Last: Having to declare statics outside the class just looks odd and redund... (by Disch)
Halfway there on Java, change to C++?
 
Hello, I am not a programmer by trade - and have hired a great developer to help me build a desktop application. We're about 1/2 through and during our sessi...
[7 replies] Last: Good advice, great to see talented people in the decision making procc... (by closed account 3pj6b7Xj)
how can i reserve space for a two dimensional vector??
 
the question is how can i reserve space for a two dimensional vector i am afraid that all the slowness is caused from the fact that the vector resizes its capa...
[17 replies] Last: ok i had the problem in my code about that.. but still vectors seem... (by vagelis)
linked list cout crash
 
Hey, this little program I wrote keep crashing. I posted this already in the beginner forum but noone's come up with anything. Here's a copypasta of the origina...
[4 replies] Last: maybe i should have been clearer on the objective of this assignment. ... (by derekwolf)
by admod
How to connect C++ with MySql
 
Hi pals, I try a code in my Dev -C++ Environment v 4.9.9.2 in Windows XP. I save file as "satwant_mysql.cpp" in E:/C++/ Directory.... #include <mysq...
[1 reply] : It would be helpful if you post a copy of mysql.h. (by kooth)
December 2010 Pages: 1234... 24
  Archived months: [nov2010] [jan2011]

This is an archived page. To post a new message, go to the current page.