General C++ Programming (Page 35)

I need help with a simple C++ encryption transposition Cipher program please?
 
The user key (word) is entered and I want to use that to encrypt the message. The message is encrypt...
[3 replies] Last: just google sreach ________________________ Sogold acc - http://www.d... (by sogold)
by ketnav
Object oriented Function call
 
Hi I have a small problem, I've a code for "caesar cipher" which is functioning properly in c++ (no ...
[1 reply] : Please help needed guys...It's a bit urgent (by ketnav)
random cards
 
this is my function to generate random cards. string facevalue = { "DA","DK","DQ","DJ","D2","D3",...
[5 replies] Last: http://www.cplusplus.com/reference/algorithm/shuffle/ (by keskiverto)
how to reverse texts using/without using functions
 
The second part(where I don't make use of a function) works, the first part... #include <iostream...
[1 reply] : First, void reverse(int x,int y,char z) should be changed to void r... (by skaa)
Problem with my Array
 
Hi everbody, I wanted to know, I made a little program that pick a word from a text file than pass t...
[5 replies] Last: Thanks by the way it worked pretty well!! (by jj09786)
Function Program Help
 
I was instructed to create a program that finds the winner of a talent contest. The contest has five...
[2 replies] Last: An array would be helpful, but sadly I am not allowed to use an array ... (by raiiiny)
by ketnav
Online compiler for object oriented c++
 
Hi, I wanted to know if there is any compiler online to test my object oriented program...For exa...
[1 reply] : All C++ code can be in one file. "Object oriented" does not substanti... (by keskiverto)
Code for menu using potentiiometer and button
 
I have a button, potentiometer, LCD and a K64F board. How do i go about making a menu that the user...
[no replies]
Class template for stack in C++
 
Here is the original requirements: Write a class template for a linked-list implementation of a sta...
[2 replies] Last: You might want to try this as a test case for your code. int main() {... (by doug4)
using ## in define
 
on the 'if' line, i get error : Undefined symbol 'si' but i want it to use the value of 'i' not the ...
[3 replies] Last: here is the rest of the code #define SELECTCASE(sMainStr) { AnsiS... (by sergelac)
Making Program Compatible
 
I currently have a main.cc and a database.cc file that work perfectly, but my main.cc file does no m...
[4 replies] Last: I see you took my advice from the other thread and make a separate Fli... (by AbstractionAnon)
2 dim array I/O files
 
So I am attempting to write a program to read from a file that is layed out like so: Name 0.0 0.0 ...
[1 reply] : You need a second getline() probably before the second loop. (by coder777)
by norcal
Help: Rock, Paper Scissors Game
 
Here's the assignment: http://www.rdb3.com/python/exercises/7.8.pdf I dont know what im doing wrong...
[4 replies] Last: int userscore,compscore; userscore=0; compscore=0; Move this code o... (by Thomas1965)
How do I get a variable to recalculate with every iteration of a WHILE loop?
 
I'm trying to create a counter that increases in increments of two in the first column and then also...
[1 reply] : timeCalc = 0; (by SamuelAdams)
by a10e29
Mismatched Signatures???
 
Hi, class Foo { public: virtual void baz(void*) = 0; }; class Bar : public Foo { public: void b...
[2 replies] Last: Good answer. https://en.wikipedia.org/wiki/Precondition In the pres... (by a10e29)
out of range, no error
 
I am trying to force an out-of-bounds error and cannot. Can some one please tell me why this is occu...
[2 replies] Last: "aha" Thx (by technologist)
Big int adding problem
 
I have a problem in adding the 2 big int that i cant adding the different length integer. can someo...
[1 reply] : try to use the code tag to quote your code, it will make it look much ... (by ZeroStart)
vector index.
 
if i have vector<string>player_0={"DK","DJ","D9","D4","H2"}; and D is for the suit of diamond H is f...
[4 replies] Last: bool all_cards_of_same_suit( const std::vector<std::string>& cards ) ... (by JLBorges)
question mark
 
how to make a program where the users type "?" and the program says you have typed a question mark?
[2 replies] Last: its working. Thankyou. (by riyadhhossain01)
[C++] How exactly would one initialise a vector which is being created by a forward declaration?
 
Trying to create a vector of cSquare however I am having difficulties as the class states it needs t...
[4 replies] Last: // using namespace std; // avoid in header files class cPlayer { /... (by JLBorges)
Pages: 1... 3334353637
  Archived months: [mar2016]

Cannot post in this page. To post a new message, go to the first page.