
please wait
by lovely6922
Problems with LLL
|
So my display_all function is only displaying the most recent entry. I fear that this means that I have not properly set up my linear linked list. Any help woul... |
Jun 3, 2010 at 11:56pm
[no replies]
|
Making forms in a .dll |
You know how in Visual Basic (or Visual Studio), you can make forms? Well how can I code a .dll that creates a form? Is the form coded into the dll? If so can s... |
Jun 3, 2010 at 10:49pm
[10 replies] Last: Thank you. (by C to the UNIT)
|
Launching a program |
Hey guys, I am extremely new to C++, I used to code vb.net and moved onto C#, but I didn't enjoy it as it felt extremely close to vb.net, so I moved on to C++. ... |
Jun 3, 2010 at 8:18pm
[9 replies] Last: It works! Thanks everyone for your support and help! (by C to the UNIT)
|
by sr8888
Read lines into vector
|
Hey guys, I can't figure out how to read a line into a vector of objects... I have a text file with lines such as: Name Number Name Number, etc. I want to rea... |
Jun 3, 2010 at 8:00pm
[1 reply] : To read into a vector, I recommend using vectorname.push_back(object)... (by Albatross)
|
by cdubya
invalid conversion from ‘Rational*’ to ‘int’
|
I'm pretty new to C++ and I am working with classes, and I'm not sure why I'm receiving this error. I'm not finished, but I want in my Rational plus funtion to ... |
Jun 3, 2010 at 6:36pm
[1 reply] : Try changing this -> Rational final = new Rational(nfinal, dfinal); ... (by m4ster r0shi)
|
by qwasqaws
Pointer vs index to array
|
Yello, could someone enlighten me as to the pros and cons of holding a pointer to an object in an array vs holding an int index to it? For example if I had a... |
Jun 3, 2010 at 5:40pm
[9 replies] Last: See, I have something more like this in mind: class UnitType { ... (by jrohde)
|
by jaeger138
Textbook Example Displaying Bugs
|
Got this example piece of code from a textbook I'm learning from and it's displaying some wierd bugs. It plays a game where soldiers are sent to battle and the ... |
Jun 3, 2010 at 3:03pm
[8 replies] Last: I'm thinking that the problem lies within the way the deaths are calcu... (by jaeger138)
|
by JoH
Odd numbers, where there should be 0's
|
I have placed an integer in a matrix and have asked it to read out the values in each part of the matrix. The number is correct where I've placed the integer bu... |
Jun 3, 2010 at 2:40pm
[2 replies] Last: Thank you (by JoH)
|
by ayush20m
Trying to replace a line from a file
|
#include <iostream> #include <fstream> #include <string> using namespace std; int main(){ char fileNam = "c:\\test.txt"; string line; char check; ... |
Jun 3, 2010 at 2:34pm
[no replies]
|
by chiara
Pointers as arguments in functions
|
Hi all, I am still pretty confused about pointers. Say that your function accepts the following variables: function_(shared_ptr<Pink>& pi, shared_ptr<Red... |
Jun 3, 2010 at 1:42pm
[2 replies] Last: In the case you cite, you are passing smart pointer objects by refer... (by PanGalactic)
|
by bobhaha
C++ range checking
|
ok well I'm using a switch statement for variable "choice"... I want to either: 1) check that the value choice is >=0 and <=5... if not display "Invalid ... |
Jun 3, 2010 at 1:15pm
[6 replies] Last: operator>>() doesn't unconditionally pop the buffer? Damn. (by helios)
|
by jackabascal
How to get my program to pause briefly before displaying a message?
|
In this theoretical console application: #include <iostream> using namespace std; int main { int number; cout << "enter in a number"; cin >> nu... |
Jun 3, 2010 at 12:40pm
[4 replies] Last: Because it is distressingly endemic to teach new programmers said ho... (by Duthomhas)
|
by crazzyguy101
Use Name of Class as Input command
|
Hi people. I just had a problem. I want to know how to take name of class as an argument. I think i can do it by using a string variable within the class. Fo... |
Jun 3, 2010 at 10:15am
[5 replies] Last: Thanks i'll try :) EDIT : Calcium is not an object it is just an in... (by crazzyguy101)
|
pointer of pointer in a class |
I have some trouble of using pointer of pointer in a class it is from a open source project, drizzle. The new class is like class DrizzleLock { public:... |
Jun 3, 2010 at 8:21am
[3 replies] Last: No typecasting needed here. What errors is the compiler giving you? (by hamsterman)
|
by kevin06s
Classes in Classes
|
I am having trouble getting a function to work in Visual C++. I have a Point class: class Point { private: int x; int y; public: Point(); void set... |
Jun 3, 2010 at 2:46am
[2 replies] Last: Thank you. That seems to have worked. (by kevin06s)
|
by cknapp1
Can't get my basic i/o program to work
|
Hi, I am trying to make a program that reads a text file and outputs certain information. the text file looks like this (There are about 3000 parts all togethe... |
Jun 3, 2010 at 2:38am
[1 reply] : This was to be my original response. I had been called away to put th... (by Duthomhas)
|
by sysabod
scanf() and gets() used together
|
Deal all, i read a book and it told me not to use the two i/o functions together.Here is a little demo shows why. first of all,the input file is AB... |
Jun 2, 2010 at 11:47pm
[1 reply] : http://cplusplus.com/reference/clibrary/cstdio/scanf/ http://cplusplu... (by Albatross)
|
by disini
guess the capital game
|
Hi everyone, I'm having some problems here with this code. The program is running but is not being able to discern between right and wrong answers. I wonder ho... |
Jun 2, 2010 at 10:57pm
[4 replies] Last: Thanks guys, I got it done, somehow I was getting the concept wrong. ... (by disini)
|
by nessark
How to make a Small Window with effect on it
|
Basically i was wondering how to make a window to be translucent and blur anything that is behind it. I am a Beginner on this Language and any help on this sub... |
Jun 2, 2010 at 10:54pm
[3 replies] Last: Yes that is also a great alternative. System specific APIs can be hard... (by ragn4rok234)
|
by xander333
So I found this list...
|
I was browsing on the net to find a good C++ book when i stumbled upon this list. It seems like a good compilation of books. no I need you pros to please advise... |
Jun 2, 2010 at 10:36pm
[11 replies] Last: I did not mean it is not useful to read books. It matters a lot and so... (by chiara)
|