Beginners (Page 68)

I'm having problems separating code.
 
Hello, my teacher told us to take his program and divide the poker hand into a class and using fun...
[no replies]
Array Functions Issue (srand)
 
Hello, My code below is printing the same number (which is negative and shouldn't be with the if ...
[4 replies] Last: Thanks AbstractionAnon, I starting out doing as you said...actually I ... (by JoJodoggy1)
by Java90
Agenda with only structs...
 
Hi, I need some advice how can I read a data of my file.txt and compare with a string entered by u...
[2 replies] Last: I tried with that and I couldn't fix the problem....I need to compare ... (by Java90)
storing string characters into integer vectors
 
Can someone help me find what is causing the program to crash. I've been trying for awhile and cant ...
[1 reply] : well, I ran it with a simple 3+2 equasion. briefly debugging, first t... (by Esslercuffi)
Need HW help ASAP thanks
 
Im very new to coding and dont understand how to do this. can someone plz help. thanks Write a ...
[6 replies] Last: ok thanks for your help :) (by Badatcoding)
by vxk
array query
 
In the following code why does the third cout statement throw an error ? int main(int argc, ...
[7 replies] Last: ohh yes c++ is equivalent to c=c+1 or c += 1 but in *(c+1) i a... (by vxk)
Why do you pass objects by reference?
 
I was watching one of bucky's tutorials about friend functions and this was the code he used in his ...
[2 replies] Last: Thanks! (by Whooooo)
Can Anyone Help Out a C++ Beginner with Code ASAP?
 
Hello everyone. I really need some help from you guys since I'm a beginner to C++ and I need to get ...
[no replies]
Help with an error: undefined reference
 
I keep getting the same error: |In function `main':| 65|undefined reference to `calccost(int, floa...
[1 reply] : That error indicates you have not implemented a function named calcco... (by AbstractionAnon)
Why Runtime Error?
 
I am solving a problem at codeforces 17A - Noldbach problem (http://codeforces.com/problemset/probl...
[3 replies] Last: You loop condition is wrong: tou are looping one more time than needed... (by MiiNiPaa)
2D Array Dealing Deck of Cards
 
I am trying to find a more efficient way of "dealing" the cards (lines 57 - 118). I only need to dea...
[2 replies] Last: You don't need face values or suits until you display the hands: Your... (by PCrumley48)
Prime Number or Not
 
Ok, this is my new code that I wrote and no matter what I try it always says that 45 "prime number a...
[2 replies] Last: Hey thanks for the help! I was able to use your logic into my own vers... (by specter113)
by BJzero
i need help with reading from a text file
 
hi there, i have a homework to do, write c++ code for union find.. in order to do that i have to r...
[9 replies] Last: Amount of entries is num_edges , not max . Max is the maximum possib... (by MiiNiPaa)
by hosoi
Function that adds two objects in the same class?
 
I need to write a member function in class Money that adds two Money objects together and returns th...
[5 replies] Last: Money& Money::operator=(const Money &rhs){ if (this != &rhs){ this... (by mobotus)
by CDavis
Structs in classes
 
So I have a problem that I have to work on which I'm having issue finding info on the internet or I'...
[16 replies] Last: Please ignore my last post. The OP sent me a private message with more... (by dhayden)
Some mistakes existing in the program and I dont know why
 
I know there must be some problems with the boolean expression in each if-statement. A friend tells ...
[2 replies] Last: Less-than is a binary operator. Binary operator has two operands and... (by keskiverto)
System::Object issue
 
Hi, I did a reference to a DLL and I am trying to use a method that requires a System::Object^ as a...
[6 replies] Last: Ooh sorry for that (by andy1992)
How to read from a text file and print into program for calculating integers?
 
Hi, Im 6 weeks into my uni course and I need to somehow in my task, read 8 numbers from a text file ...
[10 replies] Last: Wow, you're so great, I didn't know about that. (by EssGeEich)
I/O - How to read data from input file and write it to ouput file and calculate the average number
 
My input file is named scores.txt with the below information: Becky Muggah 34 65 76 43 76 34 76 3...
[5 replies] Last: If some people in your file have less than 10 scores, then that means ... (by andy1992)
Need help with strings
 
Hi, I need help with strings. I want to be able to search for a specific character, like "a". And if...
[3 replies] Last: I hope it will help you a little. Run this: #include <iostream> #inc... (by Observer)
Pages: 1... 6667686970... 129
  Archived months: [sep2014]

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