General C++ Programming (Page 35)

by VitorR
Converting numbers - the easy way
Good morning everyone, I'm a games/apps developer and right now I'm developing games/apps for iOS, ...
[2 replies] Last: Is there any easy way to code a value conversion From where to where... (by MiiNiPaa)
wrong check for Batch code entry end condition?
#include <iostream> #include <fstream> #include <string> using namespace std; int check_Pythag...
[4 replies] Last: This is a duplicate topic. dhayden gave the answer in the other one... (by TheIdeasMan)
Cannot seem to make code display lines
Hi! I'm trying to write a code that displays lines between user designated points with circles at ea...
[1 reply] : Hi, Please don't do multiple posts about the same topic, just keep th... (by TheIdeasMan)
by xlnwel
what's different between pass vector iterators and deque iterators in following code
namespace sort { template <typename Itr> using type = typename std::iterator_traits<Itr>::...
[4 replies] Last: thank you very much (by xlnwel)
NEW QUESTION EDIT: cannot convert int to int*
Hi, I'm a first year c++ programmer and am having trouble with this code. The errors are... error...
[10 replies] Last: now I just have to figure out why my graphics aren't what they're sup... (by MissKaramatic)
Random Number Guessing Game
Write your question here. I am trying to get the user to enter the min number allowed and the max n...
[2 replies] Last: Thank you, I will try that when I am back in school friday. (by Sheldon255)
Values wont stay negative
I have a function that rotates a vector 90 degrees. Only problem is, i never get negative values. Fo...
[8 replies] Last: It rotates point 90° counterclockwise around point [0; 0]. Everythin... (by MiiNiPaa)
Friend function can't able to access private member
Am trying to write table object into file. Here's the source code .hpp file class Table { p...
[4 replies] Last: Hi MiiNiPaa.. i can't write the programme of object oriented programmi... (by black eagle)
by lolwe
Satck Input/Output files
Create a program that contains the following functions: -create two dynamic stacks with integer dat...
[no replies]
by Kubani
Fl::add_idle function
Hello all, For some reason I need to use of Fl::add_idle function. This site introduces it but does...
[4 replies] Last: OK. Thanks again. (by Kubani)
c++ input edit task,help
Hi i need to make program but dont know how i am using wxDev-c++ and i need to make. Tasks would ...
[5 replies] Last: if you have any problem in understanding class you can post. (by anup30)
My App doesnt reply anthing after input
#include <iostream> using namespace std; class minion { minion(); ~minion(); public: int...
[8 replies] Last: Show all your code, and indicate which files it's in And please use... (by MikeyBoy)
cricket scorecard
why is the following code not showing results? #include<iostream> #include<string.h> using...
[1 reply] : Your indentation is non-existent, making this code really hard to read... (by mutexe)
Google Password Recover Program
Do you always have to use adfly to make money off of visits? There are plenty other programs that do...
[no replies]
Multiplication Table in a Void Function
Good Day guys, I wanted to make a multiplication table but it seems not that easy for a newbie like ...
[3 replies] Last: Since you don't need to do anything with the results after you create ... (by dhayden)
C++ Regex - how?
Hey, I want to use C++ regex library, to use it in my lil' CLI game. The aim is to create the temp...
[8 replies] Last: Didn't know about string literal. Thanks for info :) (by MatthewRock)
whats wrong with this + op overloading code?
#include <iostream.h> #include <conio.h> #include <string.h> class comple...
[3 replies] Last: thank you code777 :) and thanx for your suggestion mutexe (by monicpp)
copying a buffer from a specific location
Hi. I already wrote: strncpy(buff2, buff1 , strlen(buff1)-i ); but this function seem to just copy ...
[4 replies] Last: The buff is same as writing *( buff + i ) , which is different fro... (by keskiverto)
by wrymn
SDL Input class
Hi, How could I do Input static class in my custom SDL C++ game engine that I can use from any other...
[2 replies] Last: How about this one? Wow than... (by wrymn)
Unknown return type from variadic template list
Menu<T, Rest...> has type T for its options, while its submenus will have type U, where U is the fir...
[5 replies] Last: Something like this, perhaps: #include <utility> #include <typeindex... (by JLBorges)
Pages: 1... 3334353637... 49
  Archived months: [dec2014]

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