Beginners - August 2016 (Page 21)

by MAhmed
Help me understand
 
can someone help me understand line number 12-13 how it is working #include<stdio.h> #inclu...
[1 reply] : Another way of writing those two lines is as follows. if (c == 0) //... (by Peter87)
Reversing a string
 
A little help with my program please. I'm trying to print out an inputted string in reverse ----> ...
[12 replies] Last: @Thomas1965, I was going to mention reversed iterators. your code is ... (by closed account E0p9LyTq)
by MAhmed
Problem in Code
 
i'm making a code in which user will give input and it will return multiplication for example if us...
[4 replies] Last: i've never learnt this can you explain? { if(!c) c = b; else c ... (by MAhmed)
File is not being read and stored
 
Hello, ive been trying to figure out what im doing wrong here. #include<iostream> #incl...
[5 replies] Last: Actually it probably should look more like: for(auto& itr : rain... (by jlb)
by iluah
Example sms service in studybook is not compiling
 
Hi all, I just joined this website for a problem I can't seem to figure out. I am trying to comp...
[2 replies] Last: Thanks for the quick reply coder777, good to know it was the compiler! (by iluah)
Templated Doubly Linked List Problem
 
Okay, so I've been working on an assignment for a few days, it is a doubly list and I seem to be get...
[4 replies] Last: Your copy constructor doesn't work. It needs to set the prev pointers.... (by dhayden)
pancake glutton problem
 
The problem I am facing is that I cant get the number of pancakes eaten to be arranged with respecti...
[18 replies] Last: This particular pancake problem has a number of traditional permutatio... (by closed account 48T7M4Gy)
by Vena
Metropolis algorithm for 2D Ising model
 
Hi at the moment i am writing my Bachelor theses about Montecarlo simulation for the 2D Ising Mod...
[2 replies] Last: [quote=TheIdeasMan]Just a note for the future :+) There also shouldn'... (by Naughty Albatross)
by MAhmed
Prime Numbers
 
I'm making an prime number code which should print all the prime numbers for example: 1 3 5 7 1...
[12 replies] Last: (Does that help?) :) (by Naughty Albatross)
Working out wastage for game
 
Hi i'm working on a game for my course and i'm stuck on trying to work out the wastage i know i need...
[3 replies] Last: Another way to get whole number of lemons to compare and therefore get... (by closed account 48T7M4Gy)
calling an array from another program
 
hi, I want to put "hello world" in memory and I want to print it out in another console. how can I d...
[4 replies] Last: I see only two ways. Interprocess communication, which by looking at ... (by vasilenko93)
Infinite Loop in Doubly Linked List
 
Like the title says I'm experiencing an infinite loop in my doubly linked list. Using gdb I've found...
[2 replies] Last: Hi, I am probably out of my depth here, but who knows these ideas mig... (by TheIdeasMan)
Linked list: Head not displaying?
 
First member is always PRESIDENT. Last is always SECRETARY. Rest are MEMBERS. Club cannot have more ...
[1 reply] : Aren't they the same conditions, though? With regards to the loop r... (by cire)
by Cannor
Explain process
 
Can someone do me the favor of explaining how this output is 4? Thanks in advance. Struggling with t...
[6 replies] Last: A more sophisticated way is to use an actual debugger. Hopefully there... (by TheIdeasMan)
Help. Strings already betrayed me.
 
Hello, I'm trying to solve the excersice "Strings are your friends, untill they betray you" from htt...
[5 replies] Last: Thank you very much, i have to practice more to fully understand how p... (by maticode20)
A little help with my code?
 
Hello guys, I'm new to C++, the following code is a homework assignment and the compiler that I'm us...
[2 replies] Last: Thanks for your assistance. But the problem has been solved. haha. The... (by alexrider0820)
How to create objects from a derived class
 
I'v just stated working on derived classes first i created the person in my program and then the de...
[2 replies] Last: ok sure thank you (by pouyasobhani)
by Cannor
Beginner's issues in Trivia
 
So I am quite new to C++. It does take time before things stick to my brain and it is not easy to gr...
[2 replies] Last: Thanks!! This will be useful in fully understanding it, I see a lot c... (by Cannor)
real basic class function help!!
 
hi, i just start to use a class function in c++ in visual basic and i'm stuck with this code #inc...
[3 replies] Last: // i want to set main as fixed can not be changed What does that mea... (by AbstractionAnon)
While problem
 
I have written the program that ccontinues to ask the user to enter any number other than 5 until th...
[12 replies] Last: :) (by closed account 48T7M4Gy)
August 2016 Pages: 1... 19202122
  Archived months: [jul2016] [sep2016]

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