General C++ Programming (Page 5)

Recommendations: Book parsing mathematical functions/expressions
Hi everyone ! I'm sorry if the topic already exist, i was looking but i don't find it. Also, i apol...
[1 reply] : I have here Bjarne Stroustrup's book "Programming -- Principles and Pr... (by nuderobmonkey)
How do I create an infile with a Mac (Xcode)?
I did this but there was an error. I don't know how you can do this. // open the infile ifs...
[1 reply] : Maybe the file is not there. Anyway it's better to use perror to get a... (by Thomas1965)
cout help
How do i get this to work? void BSTree::printInorder(Node* node) { if(node!=nullptr) { ...
[1 reply] : You need overloading the 'operator<<' function which handles the ostr... (by nuderobmonkey)
How is this read aloud?
I like to use the proper terms when reading code out loud to myself, and I don't know how to read th...
[3 replies] Last: If you were talking to another programmer you'd call it "std cin". ... (by SamuelAdams)
C++ DLL building _declspec(dllimport) errors.
As I am building a new version of my game engine dll with just updated code, I'm getting errors that...
[1 reply] : help? (by Putarda)
by cooka
Should compute the following menu with call by reference. Thx for ur help.(ps : I'm not that gd in function)
#include <iostream> using namespace std; void readValues (int & ,int &); // 2 values A and B int ...
[6 replies] Last: hi cooka, seems you are a student and this is a college program. as i ... (by eec)
by m1smr
Learn OpenGL or Vulkan?
Hello, I want to learn a graphics API, but I´m not sure which I should learn. Is it still worth...
[1 reply] : Opengl is a great starting place ... its been around for a long time a... (by jonnin)
Reading using getline
What i need to do is read in a line, take the first 4 to see if a class is being offered, then the r...
[1 reply] : one way might be to use string.erase read the line copy it to string1 ... (by SamuelAdams)
view a text file
Hi guys, here is my program about a carpets company, i did the 2 menus where you can place the order...
[1 reply] : It's your homework, maybe you should do it yourself ? If you have a q... (by SamuelAdams)
erasing element from a list which will traversed
So far I know it's forbidden erasing an element from a list while this list will be traversed. Is th...
[6 replies] Last: To me, as I'm at a relative beginner level, I've used for almost all ... (by nuderobmonkey)
by Bliink
Can someone kindly explain to me what are bitmasks exactly used for? I read about them on wiki, sear...
[8 replies] Last: The communications protocol we were using was for vehicles. say a mess... (by jonnin)
by Bliink
Minimax algorithm Hello, This image above, is kind of vague to me, it was fro...
[6 replies] Last: Thanks <3 (by Bliink)
Why My Tic Tac Toe is not working.
#include <iostream> #include <string> using namespace std; const int raws = 3; // this man...
[1 reply] : What are the error messages you are getting? (by Chobrenga)
Cell phone tower capacity
Sorry this is long but I am almost finished with this assignment and just cannot finish the last par...
[no replies]
by yrawat
test aray
Study Observing Variables feature of MSVS described here. As you work on the below project, demonstr...
[2 replies] Last: The main function is as follows and our code should work properly with... (by yrawat)
by ISM34
Traveling Salesman Problem C++ Code Issue
The following code is an algorithm I designed to solve the Traveling Salesman Problem. I am using a ...
[no replies]
Ive got this code but it won't run and i can't find any more errors int main(){ int *p, i, a ; ...
[5 replies] Last: You need to reset your pointer to the beginning of the array. Also it... (by Thomas1965)
Lexical Analysis/getToken() Question: Simplified
This question resides within a lexical analysis program: I've been working on a member function Tok...
[1 reply] : Line 26 needs to return the token type Line 56 looks wrong to me. If ... (by dhayden)
Bit Array operator overloads
Hello all there is a program that I am writing and it requires me to define these three friend funct...
[4 replies] Last: operator != is easy: Implement it with operator==(): bool operator !=... (by dhayden)
Asio read queue
I needed to asynchronously read n bytes from the tcp stream in asio, but I couldn't find any appropr...
[4 replies] Last: That may be the case. I haven't had much experience with the api at th... (by zoran404)
Pages: 1... 34567... 34
  Archived months: [feb2017]

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