General C++ Programming - May 2011 (Page 21)

Help in making a Caesar Cipher maker
 
I am designing a Caesar Cipher maker. It will take characters in an array using cin.getline() then compare each character of the text with its numerical valu...
[13 replies] Last: Thanks a lot!!!!!!! I feel so foolish, overlooking such an obvious f... (by Nisheeth)
Adding symbols
 
Hey guys, i am having problems adding certain characters into a string. The below codes basically uses boost tokenizer and seperates the string based on the...
[1 reply] : If I understood you correctly, an escape character (a back slash) will... (by Zeillinger)
Problem with tokenizer
 
Hey guys, i been trying to tokenize a string using the boost library. int main(){ using namespace std; using namespace boost; string s = "Th...
[1 reply] : Look at this example from the boost site: // char_sep_example_1.cpp ... (by coder777)
PCA-LDA library
 
Hey guys, Is anyone aware of a light open source c++ library performing principal component analysis (PCA) and linear discriminant analysis (LDA)?
[1 reply] : You might want to check out libsubspace http://code.google.com/p/libsu... (by ifratric)
by ghada
c++ array program..need help please
 
this is the Qustion: Write C++ program that contains two functions: main and a function named "reverse". You should initialize an array of floating point value...
[4 replies] Last: Just a small point: ...the function “reverse” that takes as its a... (by closed account z05DSL3A)
Convert text file to tar
 
How to convert text files to tar in c++......
[2 replies] Last: Looks like he/she want to create an archive.... download the source ... (by writetonsharma)
More Program Ideas
 
Does anyone have any more pretty advanced program ideas?
[3 replies] Last: I recently came across a paper entitled "Low-Cost Laser Range Scanner ... (by closed account z05DSL3A)
by Skills
Array (Histogram)
 
You are asked to write a program (in functions) that will read in twelve integers (all between 0 and 40) which are monthly figures of some imaginary place. You ...
[7 replies] Last: You don't have beg for the help. People here are always more than will... (by writetonsharma)
probleme avec camshiftdemo.c
 
Je suis entrain d'utiliser camshiftdemo.c(opencv) pour commander un ac-rov le probleme c'est que la cible est perdue facilement meme avec un mouvement très len...
[no replies]
trouble passing char arrays
 
So i have this: char fname ; char oname ; //then i get input from the user in = 5; int now = 0; while((char)inputs != ' ...
[6 replies] Last: That's the way you learn. enjoy your programming. :) (by writetonsharma)
by bkm
ı have a problem pls help
 
10-element array of those averages in a program to find prime my code: #include<stdio.h> #include<stdlib.h> int main() { int array ,i,a,j; printf("e...
[1 reply] : It is always going to show the last value of a. Make a an array of ma... (by writetonsharma)
Does anyone have any more Program ideas?
 
Read the title. Does anyone have any more Program ideas?
[3 replies] Last: What kind of program ideas you are looking for? Programing ideas have ... (by writetonsharma)
Program crash during dubug
 
Hello there! Been breaking my head for couple of hours,the program i´m writing for a school asigment crashes every time when i try to compile it,and i have no...
[4 replies] Last: This is going to crash. In your constructor, your nroftowns=0 , whic... (by writetonsharma)
by Clue
function that gives the fraction for a number
 
Do you know any function that given a real number x, gives us the integers that are the numerator and denominator of its fraction? I have a real x, and I'd...
[1 reply] : If you can find such a function, you'll break mathematics. f(√2)=? (by helios)
Class help.
 
Hi. I am stuck in the following problem and I am hoping that if anyone can help me in this. So imagine a class.. Class myClass{ func1(params ); func2(param...
[4 replies] Last: also if youre only going to have fun2 be called by func1 it would be b... (by ascii)
Help!
 
Write a program that contains a class that implements the days of the week. The program should be able to perform the following on an object of the class. ...
[1 reply] : Well, it looks like you need to add functions to do these: 4. Return ... (by firedraco)
How to Make a Full-Out Calculator
 
First start with #include <cstdlib> #include <iostream> #include <math.h> using namespace std; //Basic Functions double basfunc(double x, double y) { dou...
[1 reply] : Next we will make the "Next" functions //Next Functions double nextf... (by mcqueen)
Need some experts validating a piece of code (functor)
 
Hello. I am in the middle of writing a series of classes to compute pretty much anything (distances, temperatures, times, speeds, etc.). My approach consists ...
[1 reply] : Ok, so no worries anymore. Today I was able to compile and perform a ... (by webJose)
Initialize Constructor when its an array
 
Hi all, How do you initialize a class constructor when its an array? I'm struggling with the stuff in bold. class PhoneCall{ private: string n...
[10 replies] Last: I think the copy ctor is not bypassed in vector<>. :-( I recently rea... (by webJose)
seg fault
 
hi I just wrote a function about the Breadth First Traversal. when i try to compile it,it return a seg fault error, i don't know how can i fix that , can anybod...
[4 replies] Last: You need to run your program with the debugger, which will show you th... (by Athar)
May 2011 Pages: 1... 1920212223... 32
  Archived months: [apr2011] [jun2011]

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