Beginners (Page 83)

Up for the challenge?
 
I'm supposed to fill a vector by reading a file with a list of President's birthdays. I am to use a ...
[4 replies] Last: my updated code: #include <iostream> #include <fstream> #include <s... (by phatboy)
by phAMG
Subtracting from inventory
 
Deleted, Thanks
[1 reply] : Code is text. Please don't give us images of your text. Also, this i... (by cire)
confusion with primary expression if/else if statements
 
I keep getting an error code at line 39 that says a primary expression is required before || token. ...
[3 replies] Last: Thank you so much for that little piece of help, that makes a big diff... (by jjkrynock)
Trying to use two functions
 
My first time writing functions, really. I'm getting the error "a function definition is not allowed...
[3 replies] Last: @thors36, thanks I caught the missing braces there after posting this.... (by kanjiwa)
struct data type error
 
fixed
[4 replies] Last: Omg it runs but still theres a problem with the code. I will try my be... (by chang123)
Towers of Hanoi with dynamic array and 2 classes
 
I am at my wits end at this point. I cannot get the contents of the dynamic array to stay set once ...
[1 reply] : The header file for the tower game, with three calls to the peg class ... (by tigerlilycnm)
Call A Function in one class from another class
 
Is it possible to call a function inside one class from another class? I have one class that holds a...
[1 reply] : here is simple example of accessing data from another class. http://c... (by rafae11)
Whats wrong with my std::enable_if?
 
Hi I want to overload output operator<< but I want to do it differently for integers and for floatin...
[2 replies] Last: Tnx a lot for reply man! Just come home and I was ready to post a bit ... (by etrusks)
Are Different Coloured Strings Possible In C++ Console
 
Are Different Coloured Strings Possible In C++ Console?
[1 reply] : There is no "C++ console". There are various terminal emulators that ... (by keskiverto)
by nbro
Program that calculates the frequencies of characters read from the standard input
 
After almost 2 years without touching any C or C++, now I need to do it again, finally :) even thoug...
[4 replies] Last: Ok, thanks. At the end I decide to go with your way ;) (by nbro)
opening files
 
does anyone know how to open file in macbook air using code::blocks because I'm having trouble open...
[4 replies] Last: OSX uses a Unix-like convention for file paths. This means that you us... (by Computergeek01)
How do I count occurrences of upper and lower case letters as the same?
 
Write your question here. I'm writing a code that counts the number of occurrences of each letter a...
[2 replies] Last: I just need to count lower and upper case as the same. Why do you ... (by Thomas1965)
Good SDL tutorials
 
I am having trouble understanding Lazy foo's SDl tutorials. Are there any tutorials out there that...
[no replies]
Why do we need to free memory?
 
So I'm working with SDL2 and being a good little programmer I make sure to delete any pointers, wind...
[12 replies] Last: @Moschops I'll give that a try. (by CGunn86)
Need Help For nested loop
 
do{ MAIN MENU 1. Count String 2. Random Numbers 3. Exit Enter Your Choice: if (1) Enter String: EXA...
[4 replies] Last: @theturk1234 & OP - you have some problems in the code you posted whic... (by AbstractionAnon)
Flush & Endl problem
 
Dear all, I'm new in programming and I'm just testing Arrays with pointers. Problem: 1. If I...
[4 replies] Last: Why do you think it is a compiler problem? Chervil 's explanation sh... (by AbstractionAnon)
Linear Search Function
 
I am trying to make all the characters in an array uppercase, however it is giving me an error that ...
[1 reply] : line 1: You're passing an array of std::string objects. line 10: Yo... (by AbstractionAnon)
by Mohi
Making some sort of intelegent table :D
 
Hello guys, I have written a code to get information of 10 employees including First Name,Last Name,...
[3 replies] Last: Line 77: timeOutput() is a void function. You can't cout a void. If... (by AbstractionAnon)
I need help removing the comma and some help with managing a "word"
 
Let's suppose that this is an another .txt file; max,6,13.6,84.9,10.1,47.4 And this is wha...
[3 replies] Last: That was just an example of how to correctly test for input failure in... (by AbstractionAnon)
by Rawrr
Troubles with Functions
 
I am having trouble getting a char function to work, I have everything else working, but for some re...
[2 replies] Last: So, since getFahrenheit and getCelsius are only actually doing an equa... (by Rawrr)
Pages: 1... 8182838485... 90
  Archived months: [feb2016]

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