
please wait
by jjkrynock
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. I've read some of the forums and googled a little but I can'... |
Mar 5, 2016 at 6:23am
[3 replies] Last: Thank you so much for that little piece of help, that makes a big diff... (by jjkrynock)
|
by kanjiwa
Trying to use two functions
|
My first time writing functions, really. I'm getting the error "a function definition is not allowed before '{' token" at the second function. What am I missing... |
Mar 5, 2016 at 5:51am
[3 replies] Last: @thors36, thanks I caught the missing braces there after posting this.... (by kanjiwa)
|
by chang123
struct data type error
|
fixed |
Mar 5, 2016 at 3:10am
[4 replies] Last: Omg it runs but still theres a problem with the code. I will try my be... (by chang123)
|
by tigerlilycnm
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 I exit the function that sets all the contents for the peg. ... |
Mar 5, 2016 at 2:44am
[1 reply] : The header file for the tower game, with three calls to the peg class ... (by tigerlilycnm)
|
by DreamTime
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 HashTable. It has a get function which returns a pointer to... |
Mar 5, 2016 at 1:10am
[1 reply] : here is simple example of accessing data from another class. http://c... (by rafae11)
|
by etrusks
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 floating point numbers so I tried to define it like this templat... |
Mar 5, 2016 at 12:04am
[2 replies] Last: Tnx a lot for reply man! Just come home and I was ready to post a bit ... (by etrusks)
|
by connormcwood
Are Different Coloured Strings Possible In C++ Console
|
Are Different Coloured Strings Possible In C++ Console? |
Mar 4, 2016 at 11:54pm
[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 though I've forgotten a lot things. I've created a program that ... |
Mar 4, 2016 at 11:15pm
[4 replies] Last: Ok, thanks. At the end I decide to go with your way ;) (by nbro)
|
by axel609
opening files
|
does anyone know how to open file in macbook air using code::blocks because I'm having trouble opening files. |
Mar 4, 2016 at 9:44pm
[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 and then output the number of times for each. However I want ... |
Mar 4, 2016 at 9:38pm
[2 replies] Last: I just need to count lower and upper case as the same. Why do you ... (by Thomas1965)
|
by FourFrame
Good SDL tutorials
|
I am having trouble understanding Lazy foo's SDl tutorials. Are there any tutorials out there that are simple, thorough, and explain each command completely? ... |
Mar 4, 2016 at 8:27pm
[no replies]
|
by CGunn86
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, windows ( SDL_DestroyWindow ), and textures ( SDL_DestroyTexture... |
Mar 4, 2016 at 8:14pm
[12 replies] Last: @Moschops I'll give that a try. (by CGunn86)
|
by elbuto00
Need Help For nested loop
|
do{ MAIN MENU 1. Count String 2. Random Numbers 3. Exit Enter Your Choice: if (1) Enter String: EXAMPLE Do you want to try again? y/n (if YES it will just retu... |
Mar 4, 2016 at 7:40pm
[4 replies] Last: @theturk1234 & OP - you have some problems in the code you posted whic... (by AbstractionAnon)
|
by Adeelpak
Flush & Endl problem
|
Dear all, I'm new in programming and I'm just testing Arrays with pointers. Problem: 1. If I choose endl then it pick 2 element of the array 2. If I c... |
Mar 4, 2016 at 7:28pm
[4 replies] Last: Why do you think it is a compiler problem? Chervil 's explanation sh... (by AbstractionAnon)
|
by fast7777
Linear Search Function
|
I am trying to make all the characters in an array uppercase, however it is giving me an error that says: cannot convert std :: (aka std::basic string<char>)' ... |
Mar 4, 2016 at 7:24pm
[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,National Code,Starting to work Time and finishing time it wo... |
Mar 4, 2016 at 7:01pm
[3 replies] Last: Line 77: timeOutput() is a void function. You can't cout a void. If... (by AbstractionAnon)
|
by kamilhassaan
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 what I write for the file input. #include <iostream> #incl... |
Mar 4, 2016 at 5:53pm
[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 reason when i try to run my program it is telling my that I am... |
Mar 4, 2016 at 5:32pm
[2 replies] Last: So, since getFahrenheit and getCelsius are only actually doing an equa... (by Rawrr)
|
by kamilhassaan
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 what I write for the file input. #include <iostream> #include <fst... |
Mar 4, 2016 at 5:12pm
[1 reply] : Do not duplicate post. http://www.cplusplus.com/forum/beginner/186054/... (by AbstractionAnon)
|
by etrusks
std::ifs.seekg problem
|
Hi, I was trying to create class through which I could read specific characters in a file using operator and it kind of worked. It was working if there was ... |
Mar 4, 2016 at 5:04pm
[5 replies] Last: As always thank you man! Looks like the book is not that super in dept... (by etrusks)
|