General C++ Programming - October 2016 (Page 2)

Function with bool return value- does not output string messages for errors
 
Hi, I was writing a function whose goal is to display some ships on a 10 by 10 char array,and to d...
[no replies]
Are sockets thread safe?
 
Is it safe to send from multiple threads at the same time? I have a single thread that listens fo...
[6 replies] Last: Thanks for the info! (by zoran404)
OpenGL vs Vulkan
 
I want to learn graphics in C++ and I don't know where to start, some say OpenGL, others Direct3D, p...
[no replies]
by nbro
Parse a file as efficiently as possible (with no errors)
 
I've a file which is divided into two parts: 1. The header 2. The data part The header has of...
[4 replies] Last: > Currently, I'm not even using smart points, but I'm simply pushing o... (by JLBorges)
by bozmin
a list as a member variable
 
let say, I want to make a c++that will allow me to read the content of a file that I will call file....
[4 replies] Last: Yes, i am planning to work with only one file. i was planning to put... (by bozmin)
2D array problem
 
#include <iostream> using namespace std; int main (){ int workspace ={{41,42,43},{42,46,47},...
[no replies]
Using private functions
 
Hi, I have 2 class, my first class is reading a text file and editting it, For example if file's ...
[3 replies] Last: You can still make the second class a friend of the first one. clas... (by Arslan7041)
by JM0911
Cannot get this code to compile!
 
Hello, I am working on a program to perform both a linear and binary search to pick a lottery winne...
[7 replies] Last: Remove the semicolon at the end of line 50. Remove the semicolon at th... (by lastchance)
<fstream>and Array question
 
Hey everyone! I need to make a project for my CIS class and I was wondering if anyone could help me ...
[2 replies] Last: Wow thank you! That really helped. Wasn't expecting such a fast respon... (by jgialis)
by DaviFN
C++ WriteProcessMemory() in protected memory?
 
Hello everyone! I'm developing a small program in C++, but I think the process I'm attempting to d...
[7 replies] Last: I found something interesting. Cheat Engine uses lua scripts... And e... (by DaviFN)
Multithreading
 
void AIShell::vertCombos (int &my_combo, int &opp_combo, int &score, int ** gameState){ for (int...
[3 replies] Last: You're passing a member function and its parameters, but you're not pa... (by helios)
Need Help Please!!
 
i'm asking to : " Write a program for entering test scores and calculating results of the scores. T...
[3 replies] Last: #include <iostream> #include <string> #include <fstream> using names... (by One in a million)
Vector with Pointer
 
Hello guys i just thinking why my code doesnt work so i have a class Dispenser with attribute ing...
[3 replies] Last: thx guys for reply my post. I need make the relation with vector with... (by mustain5)
by Gyiove
CPU or GPU on amazon aws & how to handle their GPU?
 
Hello everyone! I'm having a really big neural network written in c++ using matrices. It is an f...
[no replies]
by Phil15
Unhandled Exception
 
Hi guys, any clue why do I get an error here on this->push? template <class T > class Special...
[1 reply] : You're getting an exception because of a stack overflow. This is becau... (by rabster)
Lower_bound strange output
 
Hello, quick question here. I have this code snippet: #include <deque> #include <iostream> #includ...
[3 replies] Last: The container being sorted or at least partitioned is a pre-condition ... (by Arslan7041)
by dhan4
Coin Toss
 
I need to ask the user how many times they would like to flip the coin (call the coinToss function) ...
[1 reply] : Do you know how to ask the user for a number ? (by SamuelAdams)
by antago
Implementing Keyboard Input With C++ in Xcode (OSX)
 
Wonderful help last time. Thank you. I have successfully managed to get a number of features in plac...
[no replies]
Cant get his to run
 
Cant get this program to run. Can someone please tell me why it's not working? Here is the source f...
[1 reply] : Here is the Header File: #ifndef H_Htable #define H_Htable #include ... (by cguercio)
October 2016 Pages: 1234... 23
  Archived months: [sep2016] [nov2016]

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