General C++ Programming - March 2009 (Page 4)

by Lfred
Greetings & Peculiar input data problem.
 
Hello, I'm new to the forum my name is _Lfred. I am here to ask for an opinion on a problem from a ...
[3 replies] Last: Thank you, I noticed that too while looking over this program and Chan... (by Lfred)
How to create files..
 
HELLO EVERYBODY, I AM A NEW MEMBER, I NEED A LITTLE HELP, HOW CAN I WRITE A PROGRAM THAT R...
[2 replies] Last: thanks a lot (by willscpp)
by h0d3
need tips in creating my program
 
Hi everyone!!!! Im a beginner in c++!!! I want to make a program that displays a 3 number combinatio...
[no replies]
diff between "CDummy&" and "CDummy &param"
 
Hi, I have seen the tutorial of Classes II of C++. What is the difference between "CDummy&" and "...
[7 replies] Last: Internally it is passed by pointer, but the idea is that references al... (by jsmith)
Access a Class's Member Information
 
Hey guys, I was wondering if there is any function or way to get a list of members, in string or ...
[1 reply] : No, not without parsing the source file containing the declaration. I... (by jsmith)
by dkaip
a container with pointers on stucts
 
Hello all I have a serious problem. I have constuct the Rl struct with containers and strings. I w...
[5 replies] Last: Thank's The right syntax is typedef vector<rR*> rRl; ... and ... (by dkaip)
Dynamic Nested For Loops
 
I'm working on a project right now where I'm wanting to generate every possible string up to N chara...
[6 replies] Last: I am aware of this. Dealing with this many strings proposes an interes... (by GenTiradentes)
How to make error messages?
 
Lets say I made a square root function and I want an error message if the input is negative. How... ...
[6 replies] Last: Oh yes; it wouldn't implicitly cast to an unsigned... Thanks. (by seymore15074)
functions within a class
 
class A { int a public: get_a(); set_a(); } The sizeof(A) = 4 bytes. Where a...
[4 replies] Last: study this and you will understand: http://en.wikipedia.org/wiki/C... (by writetonsharma)
Finding String's Neighbors By Up To 2 Differing Positions
 
Hi all, Given a seed string, I want to find its neighbors with at most differ in 2 positions. All...
[no replies]
by jimctu
Structs Problem
 
Hello everyone... I´ve got a problem that is bugging me for a while... and how I´m not an experi...
[3 replies] Last: thx ppl... it solved the problem ^^ i´ve spent a long time trying ... (by jimctu)
linking C object file to C++ object file on linux
 
Hi, this is my problem: I have two file in C,one of this have .c extenction and I have compile it w...
[10 replies] Last: sorry! the previous solution is wrong! this is the right version: t... (by biancalatte)
by sadi
only one semicolon!!!
 
good day all, I'm a new member and I have a c++ challenge and need your help the problem is ...
[10 replies] Last: hahahahaha... great minds on work.. :) (by writetonsharma)
keep getting errors/warnings
 
here is the source code #include <iostream> #include <string> #include <vector> #include <alg...
[2 replies] Last: yeah that worked. thanks. my bad (by tlittle)
Heap corruption
 
I'm getting what seems to be a somewhat common error, that my heap has been corrupted. Unfortunatel...
[5 replies] Last: why dont you post your code so that somecan can find the error in it?? (by writetonsharma)
using vectors
 
can someone explain the vector to me. I am writing a project where you input a number and if the ra...
[2 replies] Last: Vectors are similar to arrays except their size does not have to be de... (by buffbill)
by cipok
atm
 
can anyone help to create the automatic taller machine(atm) prgrm just using the include<stdio.h> on...
[2 replies] Last: stdio.h is the c-standard-io. It contains all the functions you need f... (by eker676)
default parameters in constructor?
 
this code won't compile. it gives a linking error because i'm calling a function that doesn't exist ...
[3 replies] Last: thanks for the info (by gen1mx6)
getline() 'Wrapper Function'
 
I have to construct a getline() function and I need it to be a wrapper function for the getline() fu...
[no replies]
inorder traversal function of binary tree
 
As part of an assignment I have been asked to implement an in order traversal function for a binary ...
[5 replies] Last: I have to display the data of each node before deleting the individual... (by jpmcfly)
March 2009 Pages: 123456... 21
  Archived months: [feb2009] [apr2009]

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