General C++ Programming - October 2016 (Page 18)

Find The Error
 
class A { public: void Func(const std::string ); //Functions }; class B { ...
[4 replies] Last: Array Something like this. Basically I am using a loop to display... (by Stalker)
Please help me understand this line intersection function
 
I'm aware that this is probably not the best place to post this but no other place has helped me thu...
[1 reply] : cross() refers only to the magnitude with sign of the product. rtop =... (by ne555)
copying an array into another
 
Hi guys, Consider we have an array like this: int ar1 = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; We w...
[5 replies] Last: mbozzi is correct that ar2 = ar1 doesn't copy elements if ar1 and ar... (by closed account iN6fizwU)
create class
 
Hi i am a student. I have an assignment that is to create a class Person which asks the user to inpu...
[18 replies] Last: Hey! Could you please take a look at this new code and help me with it... (by hamzams25)
HEXADECIMAL ONCE AGAIN
 
#include "stdafx.h" #include <iostream> #include <string> using namespace std; int main() { str...
[1 reply] : '1' is not the same that 1 '13' is a multi-character literal, n... (by ne555)
Help with WHILE statement
 
I'm suppose to write a program that continues to ask the user for a number between one and eleven (i...
[3 replies] Last: #include <iostream> using namespace std; int main() { int userN... (by closed account LA48b7Xj)
Invalid types 'double[int]' for array subscript (on cout line)
 
Need help: int main() { double fibonacci, n; cout << "Enter the number of fibonacci numbers...
[2 replies] Last: Thank you so much and sorry I will use them next time. (by benjamin4242)
by Gyiove
c++ set functions specific default argument
 
Hello everyone! I'm not quite if I've seen it around, I did not find it on internet but I believe t...
[4 replies] Last: Thank you! (by Gyiove)
An edx.org Harvardx CS Intro Course Homework Problem Question
 
As the title says, this is for the CS Intro course on edx.org, CS50 (Introduction to Computer Scienc...
[no replies]
Class with instance and inheritance with instance
 
I want to make 2 classes, first class that will be called Object and second Rectangle. In Object cla...
[2 replies] Last: Can someone help me with this? (by Putarda)
Tic Tac Toe
 
I have an assignment to make tic tac toe on c++ using classes . I want to add a following feature fo...
[2 replies] Last: Here is a tutorial using the Windows SDK: http://www.codeproject.com/A... (by Thomas1965)
by Won
Multiplicity in map
 
Dear forumers, I have a question maybe related to maps. I would like to find solution for the...
[4 replies] Last: Thank you very much! It works perfectly! (by Won)
pseudo code of C++ Trainer
 
I need to write a system that will help users to learn C++. The system should allow users o select ...
[1 reply] : Do you mean something like: http://www.cplusplus.com/doc/tutorial/ htt... (by keskiverto)
I am having trouble implement my first linked list
 
Specifically, I'm experiencing difficulties exploiting my node class to create a list of student obj...
[2 replies] Last: Sorry, I'm not sure I follow. Did I do something incorrectly? I don't ... (by johndoejohndoe)
If I create bilingual dictionary, how to store words? text file or database?
 
Hello friend. If I create a bilingual word to word dictionary, for example Turkish and English dict...
[1 reply] : Since you'll probably not need to make sophisticated queries, there's ... (by mbozzi)
std::map
 
#include "stdafx.h" #include <map> #include <iostream> #include <string> #include <sstream> using...
[6 replies] Last: It works perfect!! (by Tomheza)
Write a C++ program that asks the user for the student’s grade in percentage, and outputs the letter grade for it.
 
Write a C++ program that asks the user for the student’s grade in percentage, and outputs the lett...
[2 replies] Last: Are you sure? The cin >> x should be at the start of the do while like... (by closed account LA48b7Xj)
by Revert
Permutations
 
What's up! So it is my first time taking C++ and I have no experience with programming and I'm doing...
[5 replies] Last: Yeah, I thought it was something like that :) (by theturk1234)
Help!!
 
Ive got this program to work using regular class functions, but when i switch it to class templates ...
[4 replies] Last: @Radio4: Yes, change menu to an int. (by theturk1234)
The Modulo Operator
 
Okay so im doing some problems that involve the modulo operator. I get it but I would like someone t...
[2 replies] Last: Ohhh i get it, i did it the same way you did for the other problems i ... (by MHD8181)
October 2016 Pages: 1... 1617181920... 23
  Archived months: [sep2016] [nov2016]

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