General C++ Programming - May 2019

Converting from one base to another base
Hello this is my first time posting in here and I am very new to C++ coding. I had a homework assign...
[3 replies] Last: Hello again @Jennifer1181, First, let me remind and illustrate again ... (by Niccolo)
Working with a small group of 3 to port halo 1 to mobile, looking for c++ programmers and c#
Don't want anyone with a shitty attitude, looking for people who are passionate and want to stride t...
[12 replies] Last: Android or IOS? (by closed account 367kGNh0)
.hpp file without .cpp
Hello, I'm about to create a priority queue using a heap to it. So, to do so I will fill the MaxHe...
[2 replies] Last: Thanks so much! Got it now (by unkinkedash)
by B3anss
C++ Distance Calculator
I’ve been working on this c++ program for a little while and I’ve finally got it to run. Unfortu...
[5 replies] Last: Oh, and while we look at it, you do realise that pow(e, (-t/tau)) is... (by lastchance)
by Manequ
How to fix this?
hi guys heres my code: #include <iostream> #include <conio.h> // getch() #include <cstdlib> // sy...
[7 replies] Last: Kajtek, dont copy that or i will kill you (by Manequ)
int main(){ int c; srand(time(0)); //h //s //d //x Character player1("Warrior", ...
[11 replies] Last: cant use arrays because health, attacking, taking damage are class fu... (by doug4)
Server C++ Library
I need a library to use with Allegro to use servers. Thank you.
[1 reply] : I'll set aside the obvious "why use Allegro" inquiry, and just deal wi... (by Niccolo)
Hi guys! I need help ... I intend to make a game with Allegro only that I want to make changes to th...
[1 reply] : FYI fetching the images from the web is going to have performance prob... (by jonnin)
by vpi764
need the same code using loop
Write a program that uses a loop to generate, and output to the screen, the sequence of values 1, 2...
[5 replies] Last: c++ loops can all be interchanged with some extra code (for example a ... (by jonnin)
by Manequ
system("cls") problem help
//rysowanie planszy----------------------------------------- system("CLS") // oczyszczanie ...
[5 replies] Last: Right, so what you should have posted was your ACTUAL error message(s)... (by salem c)
Competitive Programming Problem
The problem and my attempted solution is as follows Being a fan of contemporary architecture, Farme...
[4 replies] Last: if you do `d' steps to the left you'll end in the same spot that if yo... (by ne555)
Code Outputting Different output on two different graders
So I wrote a solution to a competitive programming problem as follows #include <iostream> #include ...
[6 replies] Last: The original post had undefined behavior that coder777 mentioned. I do... (by Ganado)
Allowing to omit brackets in try/catch will be useful?
Hi everyone. I sometimes think that it would be very convenient if I can omit brackets('{' , '}') i...
[7 replies] Last: Nice! (by Duthomhas)
by RJ008
My program does not work
Hi, this is a program meant to do a counting sort, but for some reason, when I run the program, i di...
[4 replies] Last: Hi, I tested out the program and it works fine. Thank you very much f... (by RJ008)
Trapezoidal map search structure
Hi, I'm trying to implement the trapezoidal map algorithm for point location and I have a dilemma a...
[13 replies] Last: Oh ok, It's not just ownership. I just wanted to underscore that un... (by Niccolo)
how do i use my wifi dongle to contact devices and give them a command
how do i write code in c++ that 1. uses my wifi dongle to contact all devices in the room 2. th...
[2 replies] Last: The UDP protocol allows broadcast to all available devices in the net. (by coder777)
co ordinate geometry problem with SDL
Hi guys, I am just plotting a line with two points x and y, I created a Coordinate class that will...
[2 replies] Last: ¿does your parser work? ¿do you retrieve the slope and independent t... (by ne555)
by het
Sorting Question
create a function named firstNameSortIndex that takes one argument a dynamic array of structs of ty...
[3 replies] Last: hey thanx for the motivation and help, i figured it it it was just bub... (by het)
require help in solving a problem
hello i am almost new to c++ programming and i am trapped with the solution of this riddle questio...
[9 replies] Last: [quote=chicofeo] To give you an idea... thank you very much for your s... (by pioneer06a)
Papatunga solicita ayuda 1"fichero.txt"); if(fich.is_open()){ while(getline(fich,linea)){ stringstream ss(l...
[3 replies] Last: Are we being trolled? (by Duthomhas)
May 2019 Pages: 123... 7
  Archived months: [apr2019]

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