General C++ Programming - November 2016 (Page 4)

by ryard
urgent. please answer
 
I had a problem in understanding the algorithm of this program.Can you tell how this program is work...
[1 reply] : The first thing to notice is that function fungsi() receives three p... (by Chervil)
Make program into executable file
 
How do I make the compiler compile my program into an .exe file? My intention is: I am making a p...
[2 replies] Last: Standard C++ does not have any GUI functions. You can use the Win32 AP... (by boost lexical cast)
Prime Numbers
 
Could anyone please help refer me to a site that uses a fairly complex method to determine prime num...
[5 replies] Last: @ncampbell16 If you want to use use threads (which you do), then you ... (by boost lexical cast)
Important numbers by Monte Carlo Simulation
 
The code below (should) produce some decent approximations to certain mathematical numbers by Monte ...
[8 replies] Last: cire - That's a good point. Certainly if you allowed theta to range ov... (by lastchance)
Cards against Humanity code.
 
I'm currently taking a CS100 course in my freshman year and I've been given a project which is to cr...
[1 reply] : readfile >> s; s is a string, so it will only read up until it hi... (by alex067)
by Joafie
I'm getting a segfault when I output the contents of a structure, but only when the iterator is 1 or higher
 
I'm new to pointers and still a bit confused by them, so any suggestions would be super helpful. Bas...
[2 replies] Last: Wow. Thank you so much for helping me. I didn't copy the code, but I ... (by Joafie)
by cmisip
Template parameter with variadics and shared_ptr (1,2)
 
How come the commented out code does not work?. I am trying to come up with a way to pass multiple ...
[28 replies] Last: > Due to the non trivial copy constructor and move constructor which a... (by JLBorges)
I need to change this program I wrote, from a struct format to a class
 
So basically I worked really hard on this code in my CS150 class and now I need to change it to a cl...
[no replies]
flagging data
 
Vector Program This file http://uahcs.org/CS121/data/SSTdata.txt contains data from an instrument th...
[1 reply] : That's not hard to start, just open the file then input the values int... (by Golden Lizard)
c++ inheritance expected class name before token
 
Halo guys i have error message expected-class name before "{" token here is my code /////////////...
[2 replies] Last: thx you sir its work now (by mustain5)
puzzle search
 
So, I need to write a program that will find all of the words in a crossword, including reversed and...
[no replies]
Project Euler Challenges
 
Hi my names john i am extremely new to coding but iv decided to try to complete 1 challenge a day fr...
[1 reply] : Please do not. You gain access to a forum on that site where you may ... (by cire)
Game
 
Hi, anyone have the code of the game Tic Tac Toa ?
[3 replies] Last: #include<iostream> #include<conio.h> using namespace std; int main(... (by bird1234)
how to delete a topic uploaded on cplusplus.com
 
hello everyone: Can anyone tell me how to delete a topic which has been uploaded.
[1 reply] : You can probably check if the backspace character was pressed using an... (by Peter87)
Searching for a word in multiple txt files
 
Hey I really need help with a project im working on. I can search for a single word in a single txt ...
[3 replies] Last: Then push the files up a vector and loop through them. (by Golden Lizard)
What am I doing wrong here (aside from asking about C in a C++ forum)?
 
I'm trying to use the fgets function here; in the book I'm using, the original code example uses get...
[4 replies] Last: I want to take out the newline, especially if that'll clean up the out... (by DragonOsman)
by opengl
Multiple Or Single tcp connection?
 
I implemented a gateway program, which transfer message between clients and inner server my questio...
[3 replies] Last: thank you (by opengl)
TOO many Arguments to Function Call
 
I keep getting this error and i am not sure how to fix it.. :24: too many arguments to function `C...
[7 replies] Last: OP: instead of WriteCar(), GetCar() consider overloading the insertion... (by gunnerfunner)
Code::Blocks problem
 
I have the following error message in Code Blocks 16.01 when trying to compile and link a C program:...
[5 replies] Last: VS is a much better choice. Let us know about the VS problems if you t... (by closed account 48T7M4Gy)
C++ Problem - Simple Bank transaction system
 
Hi - I can't seem to make this program work, and I believe that the main issue I'm having is in read...
[1 reply] : I'd advise you to use the code tags to make the code more readable. Yo... (by Golden Lizard)
November 2016 Pages: 123456... 23
  Archived months: [oct2016] [dec2016]

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