Beginners - June 2010 (Page 23)

Problems with LLL
 
So my display_all function is only displaying the most recent entry. I fear that this means that I h...
[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...
[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 ...
[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 ...
[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. ...
[1 reply] : Try changing this -> Rational final = new Rational(nfinal, dfinal); ... (by m4ster r0shi)
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 ar...
[9 replies] Last: See, I have something more like this in mind: class UnitType { ... (by jrohde)
Textbook Example Displaying Bugs
 
Got this example piece of code from a textbook I'm learning from and it's displaying some wierd bugs...
[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 ma...
[2 replies] Last: Thank you (by JoH)
Trying to replace a line from a file
 
#include <iostream> #include <fstream> #include <string> using namespace std; int main(){ c...
[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 v...
[2 replies] Last: In the case you cite, you are passing smart pointer objects by refer... (by PanGalactic)
C++ range checking
 
ok well I'm using a switch statement for variable "choice"... I want to either: 1) check that...
[6 replies] Last: operator>>() doesn't unconditionally pop the buffer? Damn. (by helios)
How to get my program to pause briefly before displaying a message?
 
In this theoretical console application: #include <iostream> using namespace std; int ma...
[4 replies] Last: Because it is distressingly endemic to teach new programmers said ho... (by Duthomhas)
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 ...
[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, drizzl...
[3 replies] Last: No typecasting needed here. What errors is the compiler giving you? (by hamsterman)
Classes in Classes
 
I am having trouble getting a function to work in Visual C++. I have a Point class: class Point ...
[2 replies] Last: Thank you. That seems to have worked. (by kevin06s)
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 ...
[1 reply] : This was to be my original response. I had been called away to put th... (by Duthomhas)
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 lit...
[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 ...
[4 replies] Last: Thanks guys, I got it done, somehow I was getting the concept wrong. ... (by disini)
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...
[3 replies] Last: Yes that is also a great alternative. System specific APIs can be hard... (by ragn4rok234)
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 go...
[11 replies] Last: I did not mean it is not useful to read books. It matters a lot and so... (by chiara)
June 2010 Pages: 1... 212223242526
  Archived months: [may2010] [jul2010]

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