Beginners - May 2013 (Page 7)

Not printing .txt info
Write your question here. User.cpp #include "User.h" string User::getID(){ return iD...
[3 replies] Last: It's working now. I was using the function get and ofcourse it wasnt r... (by Verance)
by SeBeQ
Pointers to local var - unclear effect
Hi everyone I typed example to learn: ... void replaceNumberAndPrint(int *x) { printf("%d\n"...
[3 replies] Last: The behavior of that program is undefined (because it attempts to dere... (by Cubbi)
returning a 2d array
How do you return a 2d Array from a fuction
[2 replies] Last: const int SIZE = 3; int** return_array() { int** array = new int*[... (by Fransje)
Help me this exercise plz
Write a program that generates a vector of dimension 10 and its components are assigned to the first...
[2 replies] Last: #include <iostream> // library for standard input output #include <v... (by Ramzi89)
Does the catch section of a try catch have access to variables within the try section? In the follow...
[2 replies] Last: OK thanks a lot Fransje. You wouldn't have any idea what my lecturer w... (by Ramzi89)
'A' help me
(31) bet.. #include <iostream> #include <ctime> int race (int a, int b, int c); void race(); i...
[9 replies] Last: it's wrong and the int placebet() function confused me (by unagidon)
Ostream_Iterator Question
Hey Forum, Sorry for the general question but I'm still very new to C++ (and programming in gener...
[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. ...
[1 reply] : (by keskiverto)
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 ...
[3 replies] Last: You're doing all sorts of weird and non-standard things to try and get... (by MikeyBoy)
LNK 2019 LNK1120 error
I'm using Microsoft visual studios and cmake wrapper to write a script with the insight toolkit pack...
[5 replies] Last: That's got it. A few other minor bugs and it worked. thanks cire. (by sjkruger)
loosing significant figures
I am reading data in from a file and I loose the last digit when I cout. // read from file ...
[3 replies] Last: Yes and yes. (by Cubbi)
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...
[3 replies] Last: Thanks! (by catdance)
Filling an Array
I am filling a multidimensional array up from a file and inside the loop when i print the value of w...
[4 replies] Last: AHHH!! Understood Thanks ! (by dhilchie)
Learning Scanf
So I am trying to enter a competition and they said that cin and cout in iostream are just too slow ...
[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...
[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 Fift...
[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?
[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: After reading ...
[4 replies] Last: @Rowan836 Haha, works perfect thanks! But why? Because before ... (by vlad from moscow)
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...
[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 w...
[1 reply] : (by MiiNiPaa)
May 2013 Pages: 1... 56789... 65
  Archived months: [apr2013] [jun2013]

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