
please wait
by Yezman
What can a one-dim array NOT be indexed as.
|
Going over my practice exams for my final.... Which of the following is true.... B) The index type of a one-dim array can be any data type. B is fals... |
Dec 15, 2011 at 1:35am
[1 reply] : I believe you can only index an array with an integral type, so an int... (by IceThatJaw)
|
by Final9mare
Binary Search Recursion help
|
Hi I need help with coding the function where I search for an element in an array. I keep getting a infinite recursion can someone help me with what to do with... |
Dec 15, 2011 at 1:19am
[1 reply] : Your recursive calls to your binarysearch() function need to operate o... (by Zhuge)
|
by nicoling1234
HELP: debugging
|
algebra: int n; int algebranswer, algebranswer1, algebranswer2, algebranswer3, algebranswer4, algebranswer5, algebranswer6, algebranswer7, algebranswer8, algeb... |
Dec 14, 2011 at 11:35pm
[no replies]
|
by kaos51
Deleting Nodes!
|
I have no IDEA how to delete nodes (or the entire list for that matter). Thanks in advance. private: void drawNode(Node^ myNode, int level) { // 1 D... |
Dec 14, 2011 at 11:23pm
[2 replies] Last: This code isn't C++. Looks like some kind of Microsoft language. (by Moschops)
|
by SilverThorn
Calloc of a struct
|
Hello gentlemen (and ladies). I am building a database for a project and I came across this calloc function that seem to be appropriated to what I want if I und... |
Dec 14, 2011 at 11:06pm
[5 replies] Last: You're getting mixed up with pointers to char and arrays. In the case... (by jim80y)
|
by DrNoname98
How do i return an array?
|
Hello, I am a new user, and i have run into a problem. This function is not returning the array, which seems to be a common problem. I have tried implementing... |
Dec 14, 2011 at 10:39pm
[8 replies] Last: No, it does not work. Stewbond's code is incorrect and a little confu... (by Disch)
|
by Drejj
Identifier not found
|
Okay, so I'm really new to C++ This will become really evident as you keep reading. So i keep getting the error "error C3861: 'inputCheck': identifier not f... |
Dec 14, 2011 at 9:44pm
[9 replies] Last: Yep, fixed it. Also, wasn't getting an error for this but i altered my... (by Drejj)
|
by jew
How get to work?
|
I am fairly new to programming, and this website, and am trying to get a simple program to work. I am trying to read data from a file, and for now, output it, ... |
Dec 14, 2011 at 9:21pm
[3 replies] Last: I now cannot seem to get it to display the data in a column. It appea... (by jew)
|
by KKlax
Help with this do/while loop
|
This is a program that determines what animal you are if you respond correctly to a set of questions related to animals. However, the code is not functioning... |
Dec 14, 2011 at 9:03pm
[5 replies] Last: Add cin.clear(); before line 27 and 40. Also, you could declare ch ... (by wjee0910)
|
by caveman007X
Help with time.
|
I need to know what I am doing wrong? I understand that theoretically it should not take you days to type in your name. But this is the simplest least amount of... |
Dec 14, 2011 at 8:15pm
[6 replies] Last: Is your problem that you are always getting 0 or a negative number? Y... (by Stewbond)
|
by agreenman20
Problem linking the array to txt file
|
Ok this is my txt file I am trying to get the last and first names (in that order) to show up in my program. The output that shows up is 2686760, 0 2686760, 1 ... |
Dec 14, 2011 at 7:55pm
[2 replies] Last: Even using ios::in I'm stumped... #include <iostream> #include <fstr... (by agreenman20)
|
by adibahuda
new things for me
|
can someone please tell me what does these sign means?? "%d","%19","%[^\n" and stdin??? |
Dec 14, 2011 at 7:14pm
[4 replies] Last: "%[^\n]" is a format specifier for the scanf() family of functions, wh... (by Cubbi)
|
by djmdjmdjm
algebraic equation help
|
basically this is my assignment: Write a program to verify if the following expression is true. x^2 - y^2 = (x + y) * (x - y) The program will do the f... |
Dec 14, 2011 at 6:55pm
[1 reply] : float x, y; cin >> x >> y; cout << "This expression is " << (x*x - y... (by Stewbond)
|
containers and adapters in c++ |
could someone eloborate on containers and adapters with understandble examples ? Thanks Gopi Krishna P |
Dec 14, 2011 at 6:52pm
[1 reply] : The reference section of this site is very good. It provides a simple... (by moorecm)
|
by KKlax
How to create input/output file for ModuloZ program?
|
I am in the middle of a final, and I have the Moduloz program written. However, I do not have any instructions on how to create an input file so that the Modul... |
Dec 14, 2011 at 6:44pm
[1 reply] : I haven't heard of ModuloZ and google didn't bring much up right away.... (by Stewbond)
|
by RKint
glibc detected
|
Hi, My program is working well when I input small numbers. But, when the numbers increase, I receive this error: *** glibc detected *** ./code: free(): inv... |
Dec 14, 2011 at 6:21pm
[9 replies] Last: Very very thanks :) Now I understand... thanks a lot again for your pa... (by RKint)
|
by djmdjmdjm
help with divisors
|
basically this is my assignment: Write a program to determine and display the divisors of a number n and their count. The program will do the following: 1.... |
Dec 14, 2011 at 5:14pm
[8 replies] Last: I'd put it here: #include <iostream> using namespace std; int ma... (by Stewbond)
|
by Lynx876
Enabling DoubleBuffered?
|
EDIT : Edited the title of the topic... Wow, fail... lmao!. It was Enabling DoubleBurred? This was an original post which came around to this question, s... |
Dec 14, 2011 at 5:00pm
[12 replies] Last: webJose, I could kiss you... LOL Thanks a lot for the help! It's very... (by Lynx876)
|
by anomaly
How to stop my calculator from being able to be bugged
|
Hello, I have a little problem. It is possible to bug my calculator by entering '1 - 1' which will cause it to loop uncontrollably. I've set up an array contain... |
Dec 14, 2011 at 4:53pm
[1 reply] : I'm not sure why 1-1 would crash your program. Might be good to get ri... (by Gaminic)
|
by Coheed
Looking for some help on my hw
|
My teacher can NOT teach this subject and now I have this assignment due tomorrow and I have no idea what I'm doing or how to go about this! Its a pretty basic... |
Dec 14, 2011 at 4:20pm
[5 replies] Last: Oh well if you message me what you have so far and the instructions he... (by KS05)
|