| |
thread by: Angel Tsankov |
last post Feb 27 '06 by: Ian Collins
Should pre/post increment/decrement return const or non-const?
What about other functions?
|
thread by: tomrobin |
last post Feb 27 '06 by: BobR
Hi,
I'm having trouble with data types. I understand that the double data
type is 64-bit, which should correspond to 15 digits(?).
However, it seems from running this program that it can only handle up
to 6 digits:
#include <iostream>
using namespace std;
|
thread by: Wo'O Ideafarm (51) |
last post Feb 26 '06 by: Wo'O Ideafarm (51)
http://www.ideafarm.com
This is a request for comments and for your involvement in a project to
eliminate the MS monopoly and to promote the software craft.
|
thread by: foolygoofy26 |
last post Feb 26 '06 by: Banfa
what is the code to get the value of a special character in a C++ string. Like getting the 3 character of the string "Hello world" it would be "l".
also
what is the code to make a string all to upper case.
thanks
|
thread by: ashu |
last post Feb 26 '06 by: Malcolm
can i make my own file rename, delete functions. if it is the how it
is possible
help me
|
thread by: Alex |
last post Feb 26 '06 by: Daniel T.
I don't know why this works:
class C {
public:
C(int x, int y) : a(x), b(y) {}
int a,b;
};
float avg(const C* c)
{
|
thread by: janelpoole |
last post Feb 26 '06 by: janelpoole
See the "IT Power Jobs Listing" page at:
http://myweb.ecomplanet.com/POOL4833
|
| |
thread by: Chameleon |
last post Feb 26 '06 by: Phlip
When I use
vector<int>
vector<int*>
vector<anything*>
I have 3x code, or because of same size:
sizeof int == sizeof any pointer
I have only 1x code?
|
thread by: janelpoole |
last post Feb 26 '06 by: janelpoole
See the "IT Power Jobs Listing" page at:
http://myweb.ecomplanet.com/POOL4833
|
thread by: electrixnow |
last post Feb 26 '06 by: Victor Bazarov
I use a code snippet called tokenize that works quite well. But I need
to modify it so it returns an empty string if two commas are found
together: ie. string test="1,2,,4,5"
I would like to have
tokens = "1"
tokens = "2"
tokens = ""
tokens = "4"
|
thread by: utab |
last post Feb 26 '06 by: TB
Hi
Is there way to go to the start character of the the proceeding line
while reading from a file. (Sth like working '\n' but immediately will
take me one line down)
Lets say; my file is
abcdefghkl
123 23 43 54
|
thread by: amruta |
last post Feb 26 '06 by: Bob Hairgrove
Hi
1] can anyone tell me if i inherited a BASE class (with int and float
as data members)
then does that count into size of obj of derived class.
2] can i perform a operations like adding 2 obj and storing it's sum
into 3 rd one of type struct in c++. to my knowledge it's ans is NO.
but cn i use operator overloading to do this?
i...
|
thread by: sargonisaac |
last post Feb 26 '06 by: Moonlit
I am trying to get Directory content list in VC++ 2003, here is my
code:
DIR *pdir;
struct dirent *pent;
char str;
pdir=opendir("./users/" + FullName); //"." refers to the current dir
// if the dir doesnt exists, create it
if (!pdir){
mkdir("./users/" + FullName);
|
thread by: major |
last post Feb 26 '06 by: major
Hi all,
I have a function like:
template <typename T>
void f (){
T a;
....
}
how to call it in the main?
|
thread by: felixnielsen |
last post Feb 26 '06 by: felixnielsen
imagine a hollow cube.
every wall can have one of two states: open or closed. This would take
6 bits to represent.
Now, i allso neew to know whitch way i entered the room, this could be
representet with a integer from 0 to 5 = 3 bits.
As 2^6*6-1 = 383 and an 8 bit integer can hold a max value of 255, we
ofcourse have to do some creative...
|
| |
thread by: lucifero |
last post Feb 26 '06 by: lucifero
Hi
I'm
using:http://lazyfooproductions.com/SDL_tutorials/lesson03/windows/devcpp/index.php
I've done everything, but still have that error:
undefined reference to `IMG_Load'
|
thread by: sivashankar21 |
last post Feb 26 '06 by: benben
how i can improve my programming skill in pointer using c++
|
thread by: Roula |
last post Feb 26 '06 by: Roula
Ok folks, we've recently added 1 click links to over 45 Oscar Sites,
PLUS, we've now added Nominee Interviews,and Articles, and we're
constantly adding to the mix! There are also
industry blogs, as well as podcasts! Our tribute to the Oscar's is a
special event, but our toolbar offers incredible links to the most
amazing Entertainment sites...
|
thread by: sunny |
last post Feb 26 '06 by: Vladimir S. Oka
I am looking for C source code that can find the area of maximum square
that can fit in butterfly curves.I am struck with project because of
this. I would greatly appreciate if some one can help with this
problem.
Thanks
sunnyv
|
thread by: Jordan Taylor |
last post Feb 26 '06 by: Backer
I am confused about protected member functions and objects. Is there
any particular advantage of declaring members protected?
|
thread by: Assertor |
last post Feb 26 '06 by: Assertor
Hi, All.
(VC++6.0)
I found some strange thins when using getline() and seekg() of
std::ifstream.
After the file position of an open file was shift to the end of the
file,
seekg() did not work rightly. (i.e. I could not move the file position
to the begin or some position using seekg())
|
thread by: no one |
last post Feb 26 '06 by: Heinz Ozwirk
Hi,
How do I kill a process in xp? It is really anoying. I have the code. I
suspect that I don't have permission to do it.
What is wrong with it?
HANDLE hProcess;
PROCESSENTRY32 pe32;
|
thread by: lromanus |
last post Feb 26 '06 by: Gianni Mariani
I am relatively new to C++ so this is probably a basic question: Can I
overlay a class over a chuck of memory just like one can overlay a
struct over memory. I need to parse a frame comming from the network
hardware.
Thanks,
Piotr
|
| |
thread by: romayankin |
last post Feb 26 '06 by: romayankin
Hello All,
I'm writing cross-platform code so i'm bound to standards. Here is
the code I have:
~~~~~~~~~~~~~~~~~~
double **mx = new double*;
for(int i = 0; i < col - 1; i++) {
mx = new double;
sizeOfMx += sizeof(double) * row;
}
|
thread by: srikanth |
last post Feb 26 '06 by: Charles Krug
please give me a source code to find inverse of a matrix
|