General C++ Programming - February 2018 (Page 3)

by carrCC
Finding the range of prices
 
I'm trying to figure out how to get the right price range when a user inputs their low and high pric...
[1 reply] : for c in cities: if between(low, c.price, high): print(c.nam... (by ne555)
Help with this program?
 
So here it doesn't even run. I think I have the functions mostly right (i just have to get syntax r...
[6 replies] Last: OKay everything is working except for middle. Cant get the syntax righ... (by aaronpeart)
array of function pointer with specific parameter
 
i need to create a float function pointer array and every function in the array must take a specific...
[3 replies] Last: I didnt even think of that thank you. (by ReaperSoul)
Help with Code
 
i have to write a code to figure out medical the price of out of pocket premiunms and I'm having som...
[no replies]
convert digits into letters
 
hello guys i am trying to convert my 1 into 't' and my 0 into 'f' but so far no luck. Any help will ...
[4 replies] Last: thanks! (by mpower17)
by Mykel
Sort lines in alphabetic, numeric orders
 
Hello guys, First of all I want to apologize for my poor english but I will try to explain my que...
[3 replies] Last: Wow, it was so SIMPLE! Thank You guys VERY much! :)) (by Mykel)
What this function does?
 
can someone explain these code http://www.cplusplus.com/reference/string/string/find_last_of/ std...
[4 replies] Last: Thanks ;) (by Peter87)
make flow chart generator for C code
 
can anyone give me the source code to make a flow chart generator for C language.....which is create...
[2 replies] Last: What is the output format Is it pdf? jpg? svg? html? (by bobsakino)
by abc1
Time complexity
 
f(n)=1+n+log2n.Time complexity of f(n) is a)o(1) b)o(n) c)o(log2n) d)o(nlog2n) please assume w...
[6 replies] Last: Technically, the answer is that calculating f(n) is constant, so the ... (by helios)
Please review my code and tweak it. Thanks a bunch <3
 
My code is supposed to be for an Arilines that allows the customer to purchase flights, calculate ho...
[3 replies] Last: 1) Each switch must have opening and closing braces. 2) Is weekday W o... (by fcantoro)
by jb2015
need HELP correcting this program
 
I am trying to write an if else program that gives the tax and child credit based on three options: ...
[5 replies] Last: You did not try with negative children and your uninitialized t happen... (by keskiverto)
Finding min value out of certain group in list repeatably, faster to sort first?
 
If I have if a list of say <string, int> pairs, and wanting to go through and take out one pair at a...
[6 replies] Last: Cool. Thanks, everyone! (by sonar87)
Help removing EXTRA whitespaces and EXTRA newlines from file
 
Hi, I have to submit this assignment to Vocareum which it has 3 parts. I'm stuck in removing extra w...
[4 replies] Last: Checking only for ' ' (space) and '\n' (new line) is naive. In a stand... (by JLBorges)
How to join 3 programs in 1?
 
I am working on a project where i should convert decimal numbers to binar, octal and hexadecimal. I ...
[6 replies] Last: Have you noticed? bin = nr % 2; nr /= 2; mbetja = decimal % 8; deci... (by lastchance)
Is it common to convert code from one language to another?
 
For example if I see an application written in Go that I would like to use in my C++ system, would i...
[5 replies] Last: McAwesome answers. (by JohnDeBord)
by biwash
bakery
 
You are going to build a simulator for a Bakery Business. The bakery sells up to 10 different items,...
[2 replies] Last: It is as fiji885 already mentioned, no one is going to do it all for y... (by Misenna)
Mapping a file and display the output
 
I am trying to read a .txt file and one of the branch from a .root file, I would like to display for...
[no replies]
Storing the default properties and capabilities
 
Hello, I am currently working on a C++ project for a range of embedded devices which have several...
[no replies]
by jb2015
need HELP correcting this program
 
I am trying to write an if else program that gives the tax and child credit based on three options: ...
[1 reply] : Do not double-post. Previous: http://www.cplusplus.com/forum/general/2... (by keskiverto)
February 2018 Pages: 12345... 11
  Archived months: [jan2018] [mar2018]

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