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

i need help as fast as you can guys
 
me and my friend write a c++ guessing game but we can't calculate its complexity & running time so that's the code and i wish some one could help us fast #in...
[2 replies] Last: I need only solution as the delivery date of this code after 4 hours f... (by kyrillos)
by nlstmn
copy found integer from linked list
 
How to copy found integer from 1st linked list to 2nd linked list, and then delete it from the 1st linked list? Help please The only thing I am intersted in is ...
[4 replies] Last: edge6768, understood. thank you! (by nlstmn)
Looking for an api?
 
Hey guys i've got a project i need to work on , im trying to look for a free api that i can work with something like google maps in for a mobile app, ive used t...
[3 replies] Last: Okay so actually i found a better solution, im just going to make a we... (by dark ninjuh)
Help with C++ Program
 
1. File Previewer Write a program that asks the user for the name of a text file. The program should display the first 10 lines of the file on the screen. If th...
[no replies]
need programmer. will pay.
 
I have a c++ program written for an arduino leonardo that works fine on my new Raspberry Pi b3. The signals from a ColorPal 28380 color scanner go to pin 9 of ...
[1 reply] : Wrong forum, follow the link below. http://www.cplusplus.com/forum/job... (by TheMaster)
Adding year
 
question solved! ty.
[3 replies] Last: Hopefully the comments I wrote in the source code explain to you what ... (by TheMaster)
Is it possible to define a macro as a preprocessor directive?
 
I want to know whether it is possible to define a macro as a preprocessor directive. For example: #define GENERATE_ERROR #error "Error!" I tried it but ...
[1 reply] : Doesn't seem to be possible. http://stackoverflow.com/questions/23320... (by Peter87)
Need program to repeat itself
 
I am trying to get my program to repeat itself after doing something through if statements. I have Windows 10 and am using Code::Blocks. Thanks in advance.
[2 replies] Last: You should use Visual Studio 2015 Community Edition (free) if you're o... (by Hydranix)
by ivo93
output to files
 
Hello everyone.I have a program witch lets you in put some data in it.My task is to have this data output to a file,the problem is i am not sure if this is ...
[1 reply] : Example code for declaring a file and writing to it. #include<iostre... (by TheMaster)
I want to improve my c++ skills, any rec?
 
Hello, I study Physics and I want to specalise in Computational Physics to make simulation softwar of physical systems, so i want to improve my programming skil...
[5 replies] Last: Buy a book on computational science, look up libraries for physical co... (by TheMaster)
Array help needed
 
Program #4 Write a program that reads grades from the keyboard into an array. The program should read up to fifty grades or stop asking when the user enters a...
[4 replies] Last: Declare float i locally inside void, match the order of your variable ... (by TheMaster)
Very Odd Right-Click Bug
 
I was debugging a project that I am working on when I noticed that right clicking makes the program go insane. Right clicking in the console window pastes whate...
[3 replies] Last: I just checked my parent's computer which runs Windows 10, and if you ... (by Peter87)
by moodi
C++ read from file
 
I have a C++ program that Im working on and it should read from a Text file and i can't figure out the program and why it wont work. So when you run the progra...
[no replies]
Why doesn't this variadic template work?
 
template<class T> T max(T first, T second) { return first > second ? first : second; } template<class T, class... Args> T max(T elem, Args... args...
[2 replies] Last: "max() requires 2 arguments but none is provided" cannot be the entire... (by Cubbi)
Subtract values in a data file from elements in an array
 
I have an array called NewStock containing quantities of parts in inventory. I want to take input from a data file called P09T.DAT and take the values from the...
[5 replies] Last: Thanks. I covered part of the code in my previous post. The rest of th... (by Chervil)
anyone help me with this
 
Write a program that asks the user to enter his full name. The program should display first name and last name. full name is 3 names #include <iostream> #i...
[8 replies] Last: @kjaved8: I had the same problem couple of months back, reported it an... (by gunnerfunner)
by nlstmn
put integers from txt file to linked list
 
i have a code where i count the numbers of integers in txt file (there is a million integers) now i want to copy these integers into the linked list for furthe...
[1 reply] : #include<iostream> #include<fstream> using namespace std; struct No... (by gunnerfunner)
by nlstmn
largest 30 elements using binary search
 
how to find the 30 largest elements through the txt file using binary search? I should find 30 largest elements from txt file and then store it in array
[3 replies] Last: The standard library has a "binary search": http://www.cplusplus.com/r... (by keskiverto)
by naf999
C++ Create a program
 
Hello guys. Hope you people are doing well. Got a task as below: " required to write a material order recording program which applies struct and file IO feat...
[5 replies] Last: Well, there are lot of fundamentals missing For example this line: P... (by Chervil)
decimal to octal conversion program. output comes in reverse.
 
Hey. Im writing a program that converts decimal numbers to octal. the problem that its giving output in reverse. Like, decimal number= 8, octal number is actual...
[11 replies] Last: The trivial solution is to use std::oct . See http://www.cplusplus.co... (by keskiverto)
December 2016 Pages: 1... 7891011... 18
  Archived months: [nov2016] [jan2017]

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