Beginners (Page 66)

by Atton
MathPad
 
I have been making efforts to create a calculator using C++. However with every project I make I hit...
[6 replies] Last: Thanks I might have hit the heart of the problem. (by Atton)
OStream Operator overloading
 
Why is it that I am still getting this error after I overload the operator<<? 2 no operator "<<" ...
[2 replies] Last: I see.. Thanks.. I got it now (by procastination)
What is left and right operand?
 
This is a dumb question but when i am reading a tutorial sometimes i see then left and right operand...
[1 reply] : X + Y Here X is the left operand of operator+ (as it is on the left ... (by MiiNiPaa)
by mexi
Overfloading operator* for matrix_vector multiplication
 
Hello everyone. I writed a program to multiply a matrix with a vector using operator*. When I compi...
[5 replies] Last: Thank @ShodanDo, @Ispil very much. I repaired my program and it runned... (by mexi)
Play my game !
 
this is the source code of a game i created. it contains : -snail races -tic tac toe -calculat...
[6 replies] Last: in my Orwell Dev C++ (TDM GCC 4.8.1, ISO C++11) there is no single wa... (by MiiNiPaa)
by Musi
Initialize const global variable.
 
I've been trying to use const global variables but they never seem to be initialized even after main...
[4 replies] Last: Thanks a bunch JLBorges, I actually just found out whats causing the p... (by Musi)
enum class inside a class?
 
Is it okay to declare an enum class inside a class? Cause Strongly type enums has already a scope...
[1 reply] : YES (by shadowCODE)
using letters inside while() and If() conditions
 
Hello, This program that I am trying to write is supposed to take in data from a user at a diving c...
[3 replies] Last: change prompt from std::string to char . Also in line 46, y i... (by shadowCODE)
why to use pointers instead of this?and it has the same result?
 
why i should use: #include <iostream> #include <new> using namespace std; int main (void...
[5 replies] Last: ... (by MiiNiPaa)
Need help with class
 
so i need a class that asks the user for their name and then returns "Hello<name>" so far this is wh...
[5 replies] Last: returnName is a datatype just like int or bool or string Would line 34... (by soranz)
Making a schedule using classes
 
Hello, I'm having a bit of trouble with my code, I'm trying to make a 7 day/ 24 hour scheduler. M...
[3 replies] Last: Line 11 declares an array of 7elements (by 24) Then Line 19 attempts t... (by soranz)
Outputting a 2 digit number with a space in between using an array
 
Ok. Im working on an assignment were you're supposed to output a number using arrays. I have the cod...
[8 replies] Last: Excellent! Cheers :) (by kemort)
Sorting loop won't execute
 
I'm trying to sort a list of words alphabetically. I put in several nested loops, but I can tell no...
[4 replies] Last: Ok, so why are you still using constructs like this: [code firstline... (by TheIdeasMan)
Xcode Errors for C++
 
Hey there, so I'm a beginning program student and we have this assignment to build a program for a f...
[1 reply] : Your problem is that you are not clear of how to create a function. Yo... (by liuyang)
Solutions
 
I am just practicing more functions. I would appreciate a solution to these two questions: 1) Write...
[2 replies] Last: I did, but some of it doesn't make sense to me. I would appreciate if ... (by sarangheh510)
Detecting EOF when reading and writing
 
So I am doing an assignment for an online course, which involves recovering deleting jpgs from a cam...
[5 replies] Last: Since this is a C++ forum, I'm going to give you a C++ answer: http:/... (by IWishIKnew)
by gmac
Write a program to generate the entire calendar for one year. The program must get two values from the user
 
Write a program to generate the entire calendar for one year. The program must get two values from ...
[14 replies] Last: That is convoluted... Yall are dancing around the meat of the issue b... (by IWishIKnew)
Please help a poor fellow out, tokenizer
 
I am having hard time getting next line from my tokenizer //----------------------------------...
[1 reply] : #include <stdio.h> #include <string.h> #include <iostream> const in... (by kemort)
Vowel Counting Program Problems
 
I am making a program that is supposed to check how many vowels are in a string of characters, it wo...
[5 replies] Last: Thanks! Works beautifully now! Plus I learned a bit which is always a ... (by Druidude)
recursive function help
 
does anyone have any idea how one could implement a recursive parsing function that will create and ...
[no replies]
Pages: 1... 6465666768... 121
  Archived months: [sep2014]

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