Beginners - May 2015 (Page 13)

Stuck with how to create a simple function.
 
I'm revising for an exam and we have been given some mock questions to practice on which be alike what is on the actual exam, but i'm stuck with one of them and...
[3 replies] Last: For example, in the following code placed as indicated in the main f... (by Texan40)
Issue with Return totalhour;?????
 
I'm writing a Payroll Calculator for my Intro class, and I've gotten majority of the kinks worked out. We aren't allowed to use any global variables, and it ha...
[8 replies] Last: I figured out my problems, thank you for the help! (by kserg652)
Help with function templates
 
I'm not too good with function templates and was wondering if you guys could help me. I'm trying to change my program to use function templates instead of me wr...
[3 replies] Last: why would you write your own swap function when the standard provides ... (by IWishIKnew)
by Winsu
a and b werent declared in the scope
 
Write your question here. #include <iostream> #include <vector> using namespace std; struct mystruct{ int a; int b; }; void show(const myst...
[5 replies] Last: Change (48th line) for (vector<mystruct>::iterator iter = vec.begin()... (by TheHardew)
help with mode of array
 
this is what I'm trying to do Write a function that accepts as arguments the following: A) An array of integers B) An integer that indicates the number of ...
[2 replies] Last: You will find that using consistent indentation and placement of the c... (by dhayden)
by dean
friend of a function std::enable_if
 
Hi, I'm reimplementing the class std::tuple following this article: http://eli.thegreenplace.net/2014/variadic-templates-in-c/ . One point I'm stuck is how to d...
[no replies]
Coding a platform, side scroller in c++.
 
Hello fellow coders! Well, nice to meet you all and after reading this forum I decided to join it. Just a quick hello first! Anyway, chaps, I've been into cod...
[16 replies] Last: This is really confusing. I do no have skype, would email be ok? (by James27)
getline not working
 
In my program the getline doesn't seem to be working. source.cpp #include "critter.h" int main() { critter Animal; std::string name; int choi...
[2 replies] Last: After you enter 1 and press enter there is a newline in the stream whi... (by naraku9333)
Removing commas manually off a string
 
Hey guys! I'm new to this forum and also C++ programming(please bear with me) and just have a simple question. I recently did a test on how to remove commas off...
[5 replies] Last: Thanks alot guys! That really helped me out on this particular problem... (by fishnsimon)
C++Question
 
Write your question here. I need a c++program for simple calculator???
[1 reply] : If you're trying to cheat on your homework there are hundreds of place... (by cnoeval)
Why does this function not work?
 
I need to explain why a particular function does not work, and fix the error using only parentheses. I have a short main: double a; Complex b(1, 1), c(2,...
[4 replies] Last: JLBorges is right. The first statement finds the modulus of c (c.abs),... (by AskIchthys)
function calls funtions (programm wrotten with a class)
 
Write your question here. How can i make function ( print() ) calls to functions (isInteger() and isProper()) Put the code you need help with here. #i...
[2 replies] Last: it works . thank you coder777 :) (by malmsteen)
Help, I have to put the discount on my code but I don't know how
 
My professor asked me to improvise my previous coding by giving 10% off the price to member and if there is a VIP member, his/her order will be done first, my c...
[1 reply] : Give the code of your program so that we can solve it (by saadusmani)
C# XmlReader Help
 
I'm trying to fetch my Facebook RSS Feed using the XmlReader in System.Xml, but it returns this error: A first chance exception of type 'System.Xml.XmlExc...
[2 replies] Last: Well thanks at least to redirecting me to a C# forum (by Code Apperentice)
Pls I need Help!!!
 
Consider each of the following code fragments below that could be part of a C++ program. Each fragment contains a call to a standard C/C++ library function. Wri...
[12 replies] Last: Am glad you are been helped out. Here is what you will have at the en... (by Kitsi)
Use Of gotoxy(x,y) in C++
 
which header file is to be included to use gotoxy(x,y)statement?
[1 reply] : Did you even try to search for it? http://lmgtfy.com/?q=C%2B%2B+gotox... (by Gamer2015)
Help with error input
 
Here i get input for accNum and gives out error message when the input is not an integer. However, whenever an alphanumeric input is entered (integer followed b...
[4 replies] Last: Nvm. Figured it out.... (by jasperchin)
by SVcpp
Recursively append the first node of Linear Linked List to the end
 
Hello, Still a beginner to this recursive thing. I'm having a really hard time trying to solve this problem. I'm trying to append the first node of a linked li...
[7 replies] Last: @cire It seems like you know a lot about data structures. Any books y... (by SVcpp)
Flashcard Console Application <Help>
 
I am trying to put together something that will help me learn medical terms. The idea is that the words will be randomly selected and displayed and then I have ...
[2 replies] Last: Thanks!! I'm still a bit new to programming, so I'll have to look up ... (by dscheip)
by ynotmi
Is C++ a good start for an Android APP?
 
I am trying to write a simple APP & I was under the impression that C++ was a good start to write my simple Android APP. SO I spend 2 months learning C++!...
[3 replies] Last: I do not know where you got the impression that C++ was a good start f... (by admkrk)
May 2015 Pages: 1... 1112131415... 40
  Archived months: [apr2015] [jun2015]

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