
please wait
by donvigor
std::list
|
but does the std::list library has a member to use the nextpointer of the iist iterator? checkinn i didn't find it, but is it possible to use it? |
Apr 29, 2015 at 11:07pm
[no replies]
|
Adding hexadecimal # issues |
So my method to add hexadecimal numbers together is giving me issues. for my beginning while loop if i have && instead of || ill get the correct answer but the ... |
Apr 29, 2015 at 10:51pm
[no replies]
|
by birdyrc
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; int col = 3; int main() { for (row = 0; row < 3... |
Apr 29, 2015 at 10:50pm
[3 replies] Last: Did you look at the example program in the documentation of std::shuff... (by keskiverto)
|
by Bmoynagh
Edit & Delete function
|
Hello everyone, My final project of the year is due tomorrow and i need to get this project finished and i am having trouble getting a delete and edit function ... |
Apr 29, 2015 at 10:41pm
[no replies]
|
by birdyrc
Why is my code not compiling?
|
I honestly have no idea what "invalid types of int for array subscript" means... #include <iostream> using namespace std; int magicSquare ; int ... |
Apr 29, 2015 at 10:28pm
[2 replies] Last: Thanks :) (by birdyrc)
|
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 magic square program. int table ; int row = 3; int... |
Apr 29, 2015 at 9:37pm
[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 value and in the index. My problem is trying to store the inde... |
Apr 29, 2015 at 9:22pm
[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 then go inside loop dosent let me put the date when i put 0... |
Apr 29, 2015 at 8:01pm
[2 replies] Last: Please use proper indention: class bor:public ani { subscript su... (by Gamer2015)
|
by mmiller03
Inheritance
|
I am just lost on trying to fix this code. I changed everything i thought possible but i still get an error saying UndergradStudent has not been declared and ex... |
Apr 29, 2015 at 7:06pm
[6 replies] Last: thank you so much for helping! (by mmiller03)
|
by newbiee999
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 inputFile to be ifstream. But then later in the program, I want t... |
Apr 29, 2015 at 6:52pm
[4 replies] Last: Something I'm been playing with and learning how to read and write fro... (by Sanction)
|
by reyad123
Can anyone explain this to me Plz
|
hi guys, I came across this code int a =10; if (++a == a++) { cout << a++ << endl; cout << ++a << "\t "<< a++<< endl; } cout << a << endl; ... |
Apr 29, 2015 at 6:22pm
[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 wikipedia example, what did they want to say with:" "the object ... |
Apr 29, 2015 at 5:24pm
[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 before I start getting into the nitty gritty. I currently ha... |
Apr 29, 2015 at 4:35pm
[1 reply] : ans 1) int x =rand()% number will give assign a random number f... (by vxk)
|
by mustafamm
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 files and then output them to another file called report.txt... |
Apr 29, 2015 at 4:20pm
[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? many thanks!!! const int& get() {return x;} // ... |
Apr 29, 2015 at 3:50pm
[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 concepts but there is a problem. I have problems in understandin... |
Apr 29, 2015 at 3:44pm
[3 replies] Last: I just went looking for a link to that book to post...got distracted b... (by closed account z05DSL3A)
|
by baka123
minesweeper game validation help
|
hi, im relatively new to c++ and i have created a minesweeper program. so far ive got quite far but im having problems with validation of input when the player ... |
Apr 29, 2015 at 3:37pm
[2 replies] Last: thank you :D (by baka123)
|
by northfly
Can I output contents into multiple ostreams?
|
Like these: ofstream ofs1("test1.dat"); ofstream ofs2("test2.dat"); cout<<ofs1<<ofs2<<"Hello, Will I show up in all three terminals?"<<endl; Loo... |
Apr 29, 2015 at 3:26pm
[7 replies] Last: boost::iostreams::tee_device http://www.boost.org/doc/libs/1_57_0/li... (by JLBorges)
|
by hopkins123
Sorting the array.
|
I need to write array and sort array elements from low to hight number. This is what I have done, but dont have a clue how sort numbers by growing numbers.. T... |
Apr 29, 2015 at 2:55pm
[2 replies] Last: #include<iostream> using namespace std; void sort (int n); void swap... (by MRQ1)
|
by gravedigger
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 to correct? #include <iostream> #include <cstdlib> us... |
Apr 29, 2015 at 2:27pm
[1 reply] : first of all i dont think the first template is necessary. The outline... (by Aceix)
|