Beginners (Page 5)

***Newbie*** Need help with strings
 
Please help me with the following code. I need to return both first and last name respectively usin...
[3 replies] Last: Thank you so much FurryGuy. I really appreciate your help. (by jokeriswild)
File i/o not working correctly?
 
I'm having a lot of issues getting the data from my input file, which is opened in main, to give the...
[2 replies] Last: Thanks, I think that did it! It was part of a loop, so I had to figure... (by hazmatastic)
by spun12
Euclidean GCD of multiple values
 
Hi everyone, I'm currently having trouble developing an algorithm to find the GCD of multiple valu...
[1 reply] : gcd(a,b,c) = gcd(a,gcd(b,c)) Use recursion :) (by ephraimr)
Hanoi Tower puzzle with vectors
 
Hello, I am trying to implement a Hanoi Tower puzzle with vectors in C++. I specifically have to us...
[6 replies] Last: @MrArtichoke Very nice, and a lot shorter than what I was coming up w... (by whitenite1)
cannot convert argument 1 to something error
 
done
[no replies]
Really need advice as to why this isnt working
 
This is the file setup that contains fake student information: 918273645,Steve,Albright,ITCS2530,MA...
[no replies]
BinaryFiles and infinite loops
 
So, if I just input spaceless data into the 'edit' string it works fine. As soon as I input a senten...
[7 replies] Last: Then don't enter any spaces when using the extraction operator since i... (by jlb)
Sorting and Swapping with Pointers
 
These are just the reference instructions for this project(question is after subscript) : Create ...
[4 replies] Last: Let's start with the Sort function. There are 2 conditions when a swap... (by fun2code)
exchange a symbol
 
we want to replace every ',' with '/' from '(' to ' ) ' in a string called A which user enters ...
[2 replies] Last: the most simple way to do this is to find the indexes of '(' and ')' i... (by jgg2002)
by teok
String manipulation
 
Hi I got a simple question which Im having an hard time getting to work. Lets say I have a string...
[1 reply] : http://stackoverflow.com/questions/5891610/how-to-remove-characters-fr... (by Thomas1965)
by aff
Recursive function with two different data types
 
Hi, I am having problems with generating a simple recursive function bool intTest(int n, char c) th...
[2 replies] Last: Solved, thank you!!!! if ((n/10) > 0) return (intTest((n/10),c)); ... (by aff)
Overloading operator and ostream
 
In my program I'm trying to override == operator and also stream operator <<. I have some errors in ...
[9 replies] Last: I guess we can't have it both ways without writing another ctor or som... (by fun2code)
Copy constructor and move constructor
 
I'm trying to learn C++ 11. I'm confused about copy constructor and move constructor . Can anyone...
[4 replies] Last: I'm sorry to say that these are all USELESS! These are written as dif... (by PSYCHAMERON)
by Dizi
Help.. Can't figure out Min & Max
 
Hello, I'm writing a code for a program that has different departures and land for an airport. I...
[2 replies] Last: Hi Moschops, I see where my mistake is at. Really appreciate your he... (by Dizi)
Writing an encrypted file to another file?
 
Write a C++ program that reads text from a file and encrypts the file by adding 4 to the ASCII valu...
[6 replies] Last: Thanks for your help, I think I finally figured it out. (by djsmith217)
Need help with a card game application
 
Hi, I need to make a card game application for my class that uses a standard playing card deck, exce...
[5 replies] Last: I think I've got it now, thanks for all your help! (by zipporaid)
Set lower/upper bound implementation
 
Hello, I have some troubles with this code, which I can't compile/run... It's all about upper bou...
[1 reply] : #include <iostream> #include <set> struct pos { int x,y; }; bo... (by JLBorges)
Dungeon crawler help
 
Everytime i press 'r', it does not move the 'P' char to the right like i want it to. Not sure what i...
[7 replies] Last: Thanks a lot. (by fivestar)
by setia
Monty Hall problem solution
 
How about step by step mathematical solution of game Monty Hall if the program like this ? Please he...
[1 reply] : Double post: http://www.cplusplus.com/forum/general/190197/ http://w... (by chicofeo)
C++ from basic to advance by practice
 
Hello everyone, Here is a new tutorial C++ from basic to advance by practice, I just started to uplo...
[no replies]
Pages: 1... 34567... 49
  Archived months: [mar2016]

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