General C++ Programming - December 2016 (Page 12)

Code + hardware question
 
Hello everyone. I need some advice. I want to write a C++ software that can talk with a remote co...
[7 replies] Last: I would suggest that you use arduino or raspberry pi for your project.... (by coder777)
having a problem with a homework problem
 
I'm currently stuck on a homework problem. I have most of it down, but when my input hits the variab...
[1 reply] : The problem is that you do not set the member variable loan, rate, ye... (by coder777)
input Integer output in column
 
I tried asking for help, but i haven't gotten any yet. My program that I've been working on is meant...
[1 reply] : OP: be patient and don't multi-post http://www.cplusplus.com/forum/gen... (by gunnerfunner)
sorting array of structs
 
struct Process{ int pid; int burst; int arrival; }; int main(int argc, char *arg...
[9 replies] Last: Though my compiler (GCC 4.9.2) doesn't complain in the first instance... (by jlb)
i need help with hw
 
c program that uses a random number generator to populate an array that holds 30 integers. the range...
[4 replies] Last: my mind is just in another place right now (by netwarrior)
Array; Please help
 
I need to write a program that asks the user to enter any integer value. The program will store only...
[10 replies] Last: Another way. Calculate as you go: #include <iostream> #include <limit... (by closed account 48T7M4Gy)
Loop display error
 
I'm having some issue with my code and with using system("CLS") and system("PAUSE"). Can someone poi...
[1 reply] : The loop starts at 50 and ends at 155. And the files formatting loop... (by PulsarNova)
HELP w/ TicTacToe
 
Hello, i am in urgent help with my TicTacToe game, coded below. Cant get the user inputed number to ...
[1 reply] : Please repost your code using the code blocks: It will be much easier ... (by koothkeeper)
Urgent!! TicTacToe
 
Hi, i'm in urgent help on how to fix my code below. When I run the program, and type a number for wh...
[1 reply] : You read-in as an 'int', but test this against an ASCII-code character... (by nuderobmonkey)
HELP couldn't solve it
 
Write a C++ program that performs the following: a. Declare a two arrays called arrayA and arrayB t...
[1 reply] : How far did you get? Show the code you wrote so far and where you are... (by Chervil)
access to initialisation list
 
Can someone say, how I get access to the optional arguments of an initialisation list? For exampl...
[2 replies] Last: Thank you, coder! (by nuderobmonkey)
Need your inputs please (1,2,3)
 
Good morning, I am working on this project but I keep getting error and warnings messages. Please he...
[42 replies] Last: TotalCharges are not correct. Can you be more specific about what is... (by AbstractionAnon)
by lo2
Pointers with the same adress
 
Hi there, I have a function to which I pass a double**, which I then swap with another double** i...
[9 replies] Last: Roughly speaking yes. tmp will retain its value from one function ca... (by Chervil)
Automatically provide program input and check output?
 
I need a tool to grade student programs. These are going to be simple CLI programs that just request...
[2 replies] Last: Well, since these are beginners, sometimes they don't add all necessar... (by anarelle)
singly linked list with three nodes
 
/* Create a singly linked list which contains 3 nodes. The user is requested to provide a single v...
[2 replies] Last: Probably not my business, but adding node *firstNode = nullptr; as ... (by anarelle)
by nlstmn
largest n sorted elements from txt file
 
I am required to write a program which finds the largest n numbers in a txt file and prints these la...
[5 replies] Last: OP: iterators is very much a part of the standard library (#include <i... (by gunnerfunner)
Create two struct data types?
 
Hello, I need to.. Create two struct data types. Insure that the first type has scalar and array...
[1 reply] : struct Second; // forward declaration struct First { public: //... (by boost lexical cast)
by mvgnum
Bit/Byte management. Any help?
 
Lately i have been learning about bit management in cpp and i have some questions pls. 1) Suppose...
[1 reply] : 1. Suppose that there are two producers that use shared memory as a ... (by mbozzi)
by gull
pin error
 
I have a question for entering an atm number in a simulated atm. What happens is when i enter 1 to e...
[no replies]
struct print issue (1,2)
 
hello all I was having trouble with this structure that has data from a file read into it and im tri...
[22 replies] Last: Yes, that looks rather better. My attempt at the same function has v... (by Chervil)
December 2016 Pages: 1... 1011121314... 18
  Archived months: [nov2016] [jan2017]

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