
please wait
by firstTym
returning a 2d array
|
How do you return a 2d Array from a fuction |
May 28, 2013 at 7:54pm
[2 replies] Last: const int SIZE = 3; int** return_array() { int** array = new int*[... (by Fransje)
|
by phantasm
Help me this exercise plz
|
Write a program that generates a vector of dimension 10 and its components are assigned to the first ten square numbers. I'm a beginner with C++ here is my co... |
May 28, 2013 at 7:48pm
[2 replies] Last: #include <iostream> // library for standard input output #include <v... (by Ramzi89)
|
by Ramzi89
Try/Catch
|
Does the catch section of a try catch have access to variables within the try section? In the following example how does the catch section delete the list? Does... |
May 28, 2013 at 6:23pm
[2 replies] Last: OK thanks a lot Fransje. You wouldn't have any idea what my lecturer w... (by Ramzi89)
|
by unagidon
'A' help me
|
(31) bet.. #include <iostream> #include <ctime> int race (int a, int b, int c); void race(); int hold (int b, int c); void init (); int money = 200; int... |
May 28, 2013 at 5:08pm
[9 replies] Last: it's wrong and the int placebet() function confused me (by unagidon)
|
by todricos
Ostream_Iterator Question
|
Hey Forum, Sorry for the general question but I'm still very new to C++ (and programming in general). I am trying to teach myself about the STL and its uses... |
May 28, 2013 at 4:26pm
[4 replies] Last: > So the back_insert_iterator is, in effect, turning copy() algorithm ... (by JLBorges)
|
by Vigii
How to call GNUPLOT from C++ program
|
Hi All, I'm a beginner seeking to know how the gnuplot can be called by usage of c++ program. My main purpose is to plot a graph/contour which changes fo... |
May 28, 2013 at 3:20pm
[1 reply] : http://www.gnuplot.info/links.html (by keskiverto)
|
by Qdot543
template ,h and .cpp full of errors
|
So in my nativity and rush into templates I made the mistake of splitting the template class that I created into an h file and cpp file. After reading http://w... |
May 28, 2013 at 3:15pm
[3 replies] Last: You're doing all sorts of weird and non-standard things to try and get... (by MikeyBoy)
|
by sjkruger
LNK 2019 LNK1120 error
|
I'm using Microsoft visual studios and cmake wrapper to write a script with the insight toolkit package... just beginning and having some I/O errors. I'm very ... |
May 28, 2013 at 3:08pm
[5 replies] Last: That's got it. A few other minor bugs and it worked. thanks cire. (by sjkruger)
|
by dhilchie
loosing significant figures
|
I am reading data in from a file and I loose the last digit when I cout. // read from file and fill arrays double data ; // array reads angle, w... |
May 28, 2013 at 3:04pm
[3 replies] Last: Yes and yes. (by Cubbi)
|
by catdance
Error no suitable constructor exists
|
I've got a function that returns the object that is being checked. It is giving me an error telling me that I do not have a copy constructor. I do have two co... |
May 28, 2013 at 2:53pm
[3 replies] Last: Thanks! (by catdance)
|
by dhilchie
Filling an Array
|
I am filling a multidimensional array up from a file and inside the loop when i print the value of what i want it is correct but when i cout outside of the loop... |
May 28, 2013 at 2:16pm
[4 replies] Last: AHHH!! Understood Thanks ! (by dhilchie)
|
by rmxhaha
Learning Scanf
|
So I am trying to enter a competition and they said that cin and cout in iostream are just too slow for that kind of stuff int testcase; scanf(... |
May 28, 2013 at 12:57pm
[5 replies] Last: You forgot the space before the first %c. To make it similar to cin >... (by Cubbi)
|
by orionn
Help with file I/O
|
Hello CPP! I'm new to this forum but I'm hoping I can start contributing at later times. I need some help with a certain program of mine. It saves 3 integers, n... |
May 28, 2013 at 12:34pm
[3 replies] Last: In line 3 of read you open an input stream for output. Don't do tha... (by cire)
|
by symbit
Book recommendations?
|
I've recently bought Jumping Into C++ by Alex Allain (incredible book), and am using C++ Primer Fifth Edition by Stanley Lippman as reference. I am aware that t... |
May 28, 2013 at 11:50am
[4 replies] Last: Your using C++ Primer 'as a reference'? I don't understand why you are... (by closed account ypfz3TCk)
|
How to get a job as a c++ programmer? |
to be a self educated computer programmer is my choice but to get a job, what do i need? |
May 28, 2013 at 11:47am
[6 replies] Last: [quote=jasonrobertz357]what do i need? Without a degree is hard. What... (by coder777)
|
list iterator not incrementable |
I'm following this tutorial: http://devmaster.net/posts/3232/how-to-structure-a-game After reading this I wrote a practice program and my problem came when I w... |
May 28, 2013 at 10:36am
[4 replies] Last: @Rowan836 Haha, works perfect thanks! But why? Because before ... (by vlad from moscow)
|
by Babbo Natale
Insert a reference into a vector<>
|
Hello everybody, This is a simplification of my code. The error is on the last line, when i execute the push_back. The error is: error: no matching function... |
May 28, 2013 at 10:11am
[9 replies] Last: Make abb non-const and pass address to push_back() and take care that... (by coder777)
|
by yingC
Edit Data in file and updating it to file
|
Hello, Im trying to edit some of the data in a file, and updating new data into a same file. I was read the whole data into a memory, and edit it in memory.... |
May 28, 2013 at 9:44am
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ http://www.cplusplus.com/... (by MiiNiPaa)
|
Program on Show menu and calculate bill |
Hello friends, i have got a project work on a question. Write a program to create a restaurant menu and enter the choice of the user on the basic of choice mad... |
May 28, 2013 at 9:24am
[1 reply] : I dont know abot that but u can do the same using a stucture of array... (by cyberdude)
|
by junaidkhan
float fucntion in class
|
Hi guys: How are you.... I have a problem an dont know how to solve it,,, I used fucntions in classess, 2 fucntions, one is for addition and other is for percen... |
May 28, 2013 at 8:37am
[2 replies] Last: Try the following float percentage() { float per = a * 100.0f/total;... (by vlad from moscow)
|