Beginners - September 2017 (Page 20)

Easy to use GUI with graphical capabilities
 
Hi, I'm relatively new to C++ but learn best when I get stuck in beyond my depth, I'm looking to cr...
[4 replies] Last: Been trying QT with its IDE for a bit but it doesn't like ANYTHING I'm... (by bakerw71)
Reading and writing to txt file from different cpp files.
 
I've created a cpp and header file called staff. Staff inputs closing and opening hours of a train s...
[8 replies] Last: Yes it is did not want to add them into a single question. Though that... (by GhettoBurger)
storing struct as an array of bytes?
 
Hi I'm trying to understand some code that I saw for the Arduino here: https://playground.arduino...
[5 replies] Last: thanks both, much appreciated (by rozick1)
Cannot read from a text file!
 
I've posted my code before but i'm still having problems. Well first the program does not read from ...
[2 replies] Last: Sorry i'm new to c++. Would it be possible for you to correct my code ... (by ArchRon1n)
Simple If statement Issue
 
Hi there, I am having some trouble understanding why my program is not working here. I am trying to ...
[8 replies] Last: #include <iostream> using namespace std; int main() { int cool ... (by closed account 48T7M4Gy)
by Hanske
While loop with conditions
 
Hello, I've already did a couple searches on the forum but wasn't able to find a particular solut...
[5 replies] Last: Yep! Exactly. Thanks for the help! (by Hanske)
by Reekoh
Help. Abort() has been called
 
Write your question here. Hi. I need pointers on what could be wrong with my damage calculations. ev...
[1 reply] : = is used for assigning values. If you want to compare equality you sh... (by Peter87)
by zxkun
prototype in my function is not declared
 
#include<iostream> #include<string> #include <iomanip> using namespace std; int menu(int cho...
[6 replies] Last: #include <iostream> // #include <string> // ??? // #include <iomanip>... (by closed account 48T7M4Gy)
Hash String During Compilation Time
 
I copy a code from stack over flow. its purpose is hash a string during compilation time. on v...
[3 replies] Last: Many Thanks! (by Wu zhen hai)
Bool function to check if two arrays are identical
 
hello, I need to write a bool function that checks if two 1D arrays of equal length are identical. I...
[5 replies] Last: #include <algorithm> // http://en.cppreference.com/w/cpp/algorithm/e... (by JLBorges)
by Alu
Converting strings in a String Array into lowercase
 
Is there a way to convert strings inside an array into lowercase? So say I have an array like: ...
[1 reply] : When you aren't using straight C++ it is a good idea to also indicate ... (by Duthomhas)
Calculate position and angle
 
Hello everybody, I am self-teaching myself game physics and currently I am reading a book called "Ma...
[10 replies] Last: Thank you Jonnin :) (by MultiMedia)
recursive boost exception using io_service
 
I was expecting the code below to continue throwing an exception, since a call to the ios object is...
[no replies]
I/O with files
 
Hello, geeks! I'm having a code that saves data of an object into a file looks like this... //Th...
[4 replies] Last: Player.cpp #include <fstream> #include <iostream> #include <stdexcep... (by Enoizat)
Help my code stops at the end!
 
total rainfall Average Monthly Rain: The average monthly rain is total rain of 12 months then divi...
[11 replies] Last: http://www.cplusplus.com/forum/general/220758/ (by closed account 48T7M4Gy)
how to think c++ output about this code
 
I can't understand the funz function, how I can think this code? i have only this idea: 12 is != 0...
[1 reply] : #include <iostream> int funz(int, int); int main() { std::cout ... (by JLBorges)
Overloading subscript operator
 
Hi, I would like to overload the subscript operator so that I can use tuples like an array e.g. my...
[3 replies] Last: Another very similar approach. Wrote this out earlier today, but never... (by mbozzi)
student report card and ranking
 
hello everyone. i would like to ask all of you. is anyone know any source code that help the user t...
[2 replies] Last: thank you very much Handy Andy (by RTsuNa08)
by zxkun
struct not showing the right number
 
Hi, my struct : student .test is not showing the right result. here is my code: #include<iostrea...
[3 replies] Last: oh fixed, I think my IDE has some issue, it says can not open the file... (by zxkun)
September 2017 Pages: 1... 18192021
  Archived months: [aug2017] [oct2017]

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