Beginners - April 2015 (Page 3)

std::list
 
but does the std::list library has a member to use the nextpointer of the iist iterator? checkinn i ...
[no replies]
Adding hexadecimal # issues
 
So my method to add hexadecimal numbers together is giving me issues. for my beginning while loop if...
[no replies]
Input validation for arrays, so that no number is repeated?
 
How would I do input validation for this code, so no number is repeated? int table ; int row =...
[3 replies] Last: Did you look at the example program in the documentation of std::shuff... (by keskiverto)
Edit & Delete function
 
Hello everyone, My final project of the year is due tomorrow and i need to get this project finished...
[no replies]
Why is my code not compiling?
 
I honestly have no idea what "invalid types of int for array subscript" means... #include <ios...
[2 replies] Last: Thanks :) (by birdyrc)
2d Array help? Any advice is appreciated!
 
How would I add the sum of the random numbers in the row, and do the same for the column? It's for a...
[1 reply] : Do you know how to calculate the sum of values of a 1D array? (by keskiverto)
Returning value AND index in an array?
 
My task is to find the largest number in an unsorted array recursively. I need to return both the va...
[1 reply] : Where is your "by reference parameter"? Your code doesn't "return" an... (by keskiverto)
by savanh
please help me
 
hello, i hope you all doing well.i have this part of code but when i try to choose 2 then get to per...
[2 replies] Last: Please use proper indention: class bor:public ani { subscript su... (by Gamer2015)
Inheritance
 
I am just lost on trying to fix this code. I changed everything i thought possible but i still get a...
[6 replies] Last: thank you so much for helping! (by mmiller03)
Read from input file and later write back to that file
 
So in my C++ program, we have to first read data from a file. So for that I have declared my input...
[4 replies] Last: Something I'm been playing with and learning how to read and write fro... (by Sanction)
Can anyone explain this to me Plz
 
hi guys, I came across this code int a =10; if (++a == a++) { cout << a++ << endl; ...
[5 replies] Last: Have you tried to run the program several times? If there are differe... (by keskiverto)
by enemy
No time for friends->no friends (1,2)
 
Hello! Is that with friends really more complicated then it seems? Here is the original wikiped...
[21 replies] Last: Hi , xd i wasn't able to respond , i was away but my friends did to ad... (by closed account SECMoG1T)
Writing a 2048 game for final project, have a couple questions.
 
Hello everyone, I decided to make 2048 for my final project in my c++ class, and I need some advice ...
[1 reply] : ans 1) int x =rand()% number will give assign a random number f... (by vxk)
code reads outputs results twice for some reason
 
Hello. I am writing a code for a school project which asks me to read in certain values from 2 text ...
[1 reply] : The problem is probably being caused by this line: while (not testC... (by jlb)
by enemy
meaning of "const" before function type
 
hello! Please, does someone have a good link to where this construction can be used and whta for? m...
[1 reply] : http://duramecho.com/ComputerInformation/WhyHowCppConst.html (by mutexe)
by MRQ1
Understanding the use of C++ concepts in large projects
 
Hello everyone ! . I have been programming in c++ for a while now and now i am studying advance conc...
[3 replies] Last: I just went looking for a link to that book to post...got distracted b... (by closed account z05DSL3A)
minesweeper game validation help
 
hi, im relatively new to c++ and i have created a minesweeper program. so far ive got quite far but ...
[2 replies] Last: thank you :D (by baka123)
Can I output contents into multiple ostreams?
 
Like these: ofstream ofs1("test1.dat"); ofstream ofs2("test2.dat"); cout<<ofs1<<ofs2<<"Hel...
[7 replies] Last: boost::iostreams::tee_device http://www.boost.org/doc/libs/1_57_0/li... (by JLBorges)
Sorting the array.
 
I need to write array and sort array elements from low to hight number. This is what I have done, b...
[2 replies] Last: #include<iostream> using namespace std; void sort (int n); void swap... (by MRQ1)
Urgent Help on MPH to KPH coding
 
I have to create a code to convert MPH to Kph. I know the formula is Mph * 1.61 What do I need...
[1 reply] : first of all i dont think the first template is necessary. The outline... (by Aceix)
April 2015 Pages: 12345... 52
  Archived months: [mar2015] [may2015]

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