Beginners - January 2016 (Page 18)

by vjanu
Decimal to Hexadecimal Question
 
#include <iostream> using namespace std; int main() { long dec,rem,i=1,sum=0; ...
[1 reply] : #include <iostream> #include <string> int main() { const unsigne... (by JLBorges)
Writing to a File
 
Hello all, I am writing a subroutine to write data to a text file. The function, DisplayResults...
[2 replies] Last: what do you think this does ? data_file << endl; (by SamuelAdams)
by JoanT
Sorting book title alphabetically
 
I tried to sort the titles of the books by using a for loop and if-else statement to sort it alphabe...
[1 reply] : #include "Bookshelf.h" me may need to see that. vector <Book*> lis... (by ne555)
Where to now?
 
Hi need help... i have been programming on c++ for about a year now and i want to enhance my skills ...
[1 reply] : I recommend inventing for yourself a project; e.g., write a game using... (by Zhuge)
Help
 
I have a constructor for a class, it needs to point to another class object, lets say in Class2. Th...
[1 reply] : Simply instantiate your class. Test t1; pugi::xml_node testnode... (by AbstractionAnon)
Undefined reference to class::class
 
Hello all. I have a basic understanding of c++. I am doing some learning by following along on some ...
[3 replies] Last: Thank you both. You're absolutely correct. When organizing my project ... (by HungryX2Hippo)
by alitt
adding funnction
 
hey guys i have a problem with this function answer is wrong #include <iostream> using na...
[10 replies] Last: thanks for answer (by alitt)
Understanding 2D Arrays
 
Alright guys. Here it goes. I just can't absorb the concepts of 2D arrays. Just don't know where I e...
[7 replies] Last: @JLBorges It is now as clear as a day! Thanks for all the energy you e... (by TheLoneWolf)
Snake Game
 
Hello there, I have made a snake game and there are no problems with my code. My problem is that I h...
[2 replies] Last: Thank you for the help. (by RogueHunter1913)
Help with arguments.
 
Hello guys! Consider this code. #include <iostream> using namespace std; //I know not to use...
[8 replies] Last: @Jaybob66 Thanks for all your help! (by TheLoneWolf)
by Gector
Some sample code
 
Just two questions today. Could someone point me in the right direction to search for and delete ...
[3 replies] Last: One way to display all the files in a directory. #include <windows.h>... (by Thomas1965)
problem receiving output from user defined function
 
Hey all, I just started learning C++ about a week ago. The program is supposed to print a word equi...
[7 replies] Last: Once we have learnt about arrays, it can be made even more succinct. ... (by JLBorges)
Need to Increment Length of Sorted Array
 
Hello, I am working on a Sorted Array Program. I need to be able to increment the length of the Sort...
[2 replies] Last: I solved it on my own. (by vkhanhvy)
Error running my work flow program
 
Write your question here. I have a few errors that I can't quite figure out. The catch is red lined...
[7 replies] Last: I meant specifically inside of main, not nested functions. Sorry if th... (by TarikNeaj)
Can someone check my code?
 
Hello! I'm working on this assignment that wants us to write a program that assignment 40 random num...
[2 replies] Last: Line 28: You're using the same variable name for your loop variable a... (by AbstractionAnon)
Calling a static array from a dynamic memory
 
So I was making a programm with a class bingocard and a class player. Each player can have a maxium ...
[4 replies] Last: I need this to work so I can check each number on the card for a bing... (by AbstractionAnon)
Smiley faces on char output
 
Hi, I recently started a Tris game, but the chars output are all smiley faces. What did I get wrong?...
[6 replies] Last: See previous post by TarikNeaj and cire Line 13: if(syf=0 "=" sh... (by Chervil)
copy constructor
 
what is difference between deep copy and swallow copy?
[3 replies] Last: @MikeyBoy: You beat me to it! Too funny! (by koothkeeper)
Infinite Loop
 
Below is a function to a program I am writing. The main program and everything else is not included ...
[5 replies] Last: I think that x on line 35 should be a random int because if x = 1 the... (by MikeyBoy)
by Innoox
getline
 
Hello community Have 1 problem with getline #include "std_lib_facilities.h" #include <iostre...
[5 replies] Last: Yeah my english is bad. Oh, nevermind, I just realize it's unimportant... (by Innoox)
January 2016 Pages: 1... 1617181920... 29
  Archived months: [dec2015] [feb2016]

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