Beginners - July 2018 (Page 17)

Hi i need some help for my program which is banking system, i could not run it , i am a beginner
 
#include <stdio.h> #include <dos.h> #include <stdlib.h> #include<iostream.h> #include<conio.h> ...
[14 replies] Last: oh thank you so much (by tommy251)
can't use getline for a file save function?
 
Okay so I'm working on this and for some reason I can't use getline in my save function, I switched ...
[1 reply] : The problem with getline() is probably because somewhere prior to this... (by jlb)
Errors C3867 and C2446? Followed a tutorial, i got the link
 
I'm just following another game dev tutorial, been a while since ive been coding so I'm probably jus...
[4 replies] Last: It's fine, I mean I really should know better at this point and its pr... (by moosyman)
Segmentation issue with Double linked list Split
 
Hello, I am completely new at this, and need your help fixing my methods. my mergeList is addedin...
[2 replies] Last: You need to post all of the code, including main, so we can run it. (by tpb)
hint for this question(minimize the sum)
 
https://www.hackerrank.com/contests/101hack55/challenges/minimize-the-sum/copy-from/1308625213 he...
[11 replies] Last: @zyan1zyan and @ipg2016069 sorry couldn't reply, was away from my lapt... (by sc7)
Struct Initialization
 
Hello below you will see that I tried to define a struct and then initialize some of its members and...
[4 replies] Last: If you don't specify it will use the order that the members are define... (by Peter87)
functions, loops and decisions. please help?
 
my teacher wants us to do this Write a function called sumConsonants that will take as arguments two...
[2 replies] Last: You may want to start by following the instructions: my teacher want... (by jlb)
use of static variables and functions
 
So I must create a function that uses a static variable to keep track of a bank balance (it should b...
[3 replies] Last: Thanks for the responses, I think I have it now. (by justStarting)
Reading and writing file
 
I am having trouble figuring out how to go about this. This is the prompt. C++ program that wi...
[14 replies] Last: soccer53, I feel like you're just copying things without having any cl... (by Ganado)
what is optimistic(less time complexity) way to solve this problem?
 
please help? how to count common characters (character by character) in two strings in cpp? what ...
[13 replies] Last: yes, in the map one, you would have to iterate the map using the strin... (by jonnin)
by sc7
Problem in finding the right root of the quadratic equation
 
There is a cuboid. Assume that the width of the base is X. Then the Length of the base should not ex...
[4 replies] Last: @tpb thanks, its resolved now. (by sc7)
control may reach end of non-void function
 
Good day to all! I'm experiencing some issue with my custom 'vector' template class that I'm require...
[3 replies] Last: You could do that. Or you could just have a return at the end on its o... (by Repeater)
Function parametar
 
I want to know why I need to mention int x in my loop in order to run program, because I tought that...
[1 reply] : It's two different variables that happen to have the same name. You c... (by Peter87)
SIGABRT ERROR
 
Hi i am getting sigabrt error for this problem on codechef.Please help anyone. Here's the questio...
[11 replies] Last: @Wasp , use vector of strings, I tried it, It will only pass the first... (by sc7)
by wsme
Reading a Line from stdin in C
 
Hey all, Making a guitar tab template writer, and wanted user to be able to set the name of the fil...
[1 reply] : scanf("%s", tab->fileName); // core dump here tab->fileName is NULL ... (by Thomas1965)
Cannot count words properly - File Handling Error
 
Hey Guys I am making a program to revise file handling,i thought i was pretty much done with it for ...
[6 replies] Last: You could be just a little bit less offensive in the light that i am j... (by thenewnubkid)
adding the totals of functions in main
 
I am still learning the function calls and I seem to be stuck when trying to add other functions tog...
[1 reply] : Never mind... I did some debugging and realized my data was not passin... (by justStarting)
by xdigit
Confuse regarding operator precedence
 
I am trying to understand how increment (and decrement) operator works based on where they are place...
[11 replies] Last: That is interesting. I ran it with x=5 and I got y=11. But as soon as ... (by xdigit)
July 2018 Pages: 1... 151617
  Archived months: [jun2018] [aug2018]

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