Beginners - December 2015 (Page 12)

by Dkob1
Check my answer please
 
int x = 7; int *ptr = &x; a.) What will be displayed if you send the expression *iptr to cout? 7 will be displayed b.) What happens if you se...
[4 replies] Last: So I did run it and your answer is correct. Just a heads up, but a pro... (by renaldorini)
having problem with coding.
 
ı was doing my homework. ı did the first part but ı couldnt pass to second part can somebody help me ? also is it possible to write it in c language ? http...
[5 replies] Last: ı didnt get anything . still ı need help :( (by mahmut35)
Destructor for singly linked list
 
Hi all, I am trying implement a simple singly linked list and I am having a bit of trouble in my linked list deconstructor, or so I believe. The error occurs...
[6 replies] Last: And that would explain why I am getting garbage values in the debugger... (by mlholder)
BST to AVL Don't understand the difference
 
How can i change the BNS TO AVL With this code? What is the difference and what do i need to change to make it different? #include <iostream> #include <s...
[7 replies] Last: It's keep saying getHeight is not declared but i already declared it ... (by TheIdeasMan)
Equality of two arrays
 
Write your question here.HI Hi guys :) my task is to check equality of two arrays here is my code. I have no idea where is the problem in my code. #include "...
[7 replies] Last: my task is to compare all elements in the arrays then print out true ... (by AbstractionAnon)
After 24 hours I beg for debugging help.
 
I am making a game ( not in c++ ) and I am trying to use c++ to pre-generate puzzles to solve in said game. The game is simple, a riddle... You have two bottles...
[14 replies] Last: Hi, A couple of other things: actions = actions + 1; is better wr... (by TheIdeasMan)
BINARY TO TXT AND TXT TO BINARY
 
ANOTHER GOOD DAY WITH GOD I am working on a simple, and perhaps open source, c++ program that will open any File01 (.txt, .img, .bin, etc), convert each 0's ...
[1 reply] : That's an awful long-winded way to say "I'm interested in cryptography... (by cire)
Column Arrays + Multiplication..
 
#include <iostream> #include <fstream> using namespace std; ifstream datain ("Walnut_High_School"); int main(){ int count = 0, player_number , weight ; w...
[17 replies] Last: Not really. But the amount of explanation needed will take longer than... (by Chervil)
function not adding correctly
 
ok so this is just a function in a larger program im writting but i need help getting the output to come out correctly. i am adding binary numbers as chars not ...
[5 replies] Last: im getting closer now but im not sure what is messing it up now the ou... (by apurpledragon)
Moving a circle in C graphics on Visual Studio
 
I really need help guys.. I started C++ yesterday.. managed to make a circle.. How do I move it? ( I need to make a simulation of acceleration.) #include "...
[4 replies] Last: Yes, it is outdated, 2004 is a long time ago when talking about comput... (by jlb)
Grade array help needed! (1,2)
 
Heyhey! Need some help with my array for printing nad calculating grades. So the task is to build a program with three arrays; Courses, score and grades, and al...
[30 replies] Last: Program is working quite fine now! Will try to evolve it from here on ... (by ProperConfused)
it prompts a force stopped message
 
guys, i have made this code for strings when i compile it shows no error it also runs but after displaying the strings the program sudddenly stops and displays ...
[2 replies] Last: got it thanks! (by yash8087)
printing a function more than once
 
#include <cstdlib> #include <iostream> #include <string> #include <fstream> using namespace std; string name(string fname, ifstream& in) { while (!in...
[2 replies] Last: Do not loop on !eof(). This does not work the way you expect. eof is s... (by AbstractionAnon)
How would I return a string
 
Please can you tell me how would I return a string to a function ?
[6 replies] Last: What is std:: ? First , you need to know what a namespace is. http... (by AbstractionAnon)
I need a good tutorial for makefiles in general and linux commands too
 
Over six months ago, I made this post (please do have a look at it, it should explain my background, and why I'm asking such stupid questions): http://www.cplus...
[7 replies] Last: However, how many of these are particularly useful to a programming e... (by Moschops)
by Zorac
Sorting a vector with a bool function (overloading?)
 
Hey there. I currently have program made that takes words from a textfile and print out how many times they appear. I currently have two problems, the first ...
[9 replies] Last: Thanks for all the help cire! I got my program working and i understan... (by Zorac)
About Array
 
Uhmm, Hi!~ Can someone help me to array the result average into highest to lowest.. Thank you Uhmm, if you cant get me, here's my example If i had already got...
[no replies]
by sharms
Input/Output program
 
The manager of a football stadium wants you to write a program that calculates the total ticket sales after each game. There are four types of tickets—box, si...
[1 reply] : I have to repeat inFile for all categories of sales See: http://www.... (by closed account 48T7M4Gy)
by Jon15
Credit Card Simulator
 
I am new to classes and am having trouble understanding this project. I don't understand how to send the input variables to the class and have them changed when...
[13 replies] Last: also, what does your line 76 mean/do in your main? I haven't seen tha... (by jlb)
Decrement not working
 
Hi, I have created a game that uses this turn logic as it progresses however the turnCounter won't seem to countdown. I have a created a countdown functi...
[1 reply] : Hi, How does getTurnCounter() access a Difficulty object? What ty... (by TheIdeasMan)
December 2015 Pages: 1... 1011121314... 43
  Archived months: [nov2015] [jan2016]

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