Beginners - May 2010 (Page 12)

Eternal data files
 
I need to figure out how to compare a variable enter by the user to data that is stored in an external data file. Any suggestions?
[4 replies] Last: If you're using C, then... guh... http://cplusplus.com/reference/cl... (by Albatross)
Array of objects with pointers
 
Hi everyone i have a small problem here I have this class class classA{ public: int *A, *B, *C, *D; int VA, VB, VC, VD; void collide(); void c...
[1 reply] : [/co de] tags please. (by firedraco)
Getting a URL from a certain location
 
Hi some of you read my last post on using the ShellExecute Command to open a certain URL input from the user this thread is kind of a follow up on that thread. ...
[8 replies] Last: ... i dont use linux. and thanks for the great advice. (by Melander)
String array problem? >_>;
 
With the following code, the '@' key set on line 80 does not appear. Also, just noticed that the '@' key won't clear after you edit the string. >_>; #inc...
[8 replies] Last: Nice proper use of an unnamed namespace. :) (by moorecm)
by oman
read matrix 3*4 and how use constructor...check?
 
what wrong with this? #include <iostream> #include <fstream> using namespace std; struct matrix1 { float num; float denum; }; struct matrix2 ...
[1 reply] : Your struct matrix1 and struct matrix2 confuse me please explain why t... (by Computergeek01)
A simple question about n/
 
I cannot figure out what is the purpose of /n or newline in this example I found in this site: // defined constants: calculate circumference #include <io...
[4 replies] Last: Thanks for the infos. Vexer: Yea I think I accidentally made 2 simila... (by mainframe639)
by nora s
remove character from char array,
 
hi how can I remove a specific character from char array that entered by user ? please help me :( #include<iostream> using namespace std; int i=0; ...
[4 replies] Last: Character arrays are often inferior to strings, though gets() indeed i... (by Albatross)
by oman
read matrix 3*4 use hwo constructor...check?
 
what wrong with this? #include <iostream> #include <fstream> using namespace std; struct matrix1 { float num; float denum; }; struct matrix2 ...
[no replies]
declaring equations and variables.
 
Hi, i'm trying to write a program that adds equations with variables for example, 3a+9b+10c-8d=6 9a-2b+3c-4d=4 After reading text books and searching on ...
[3 replies] Last: Seriously, check RedX's link. This code has too many errors in it. ... (by Albatross)
Error with Dynamic stack class
 
I am writing code for homework. It is an inventory program using a stack class and a inventory class. When I complile I get the following error: Below is my...
[3 replies] Last: http://www.cplusplus.com/doc/tutorial/classes/ See: Constructors an... (by Zhuge)
by zingy
cudn't find the solution for the errors..
 
hi i'm trying to run a cloth simulation code in linux machine. it works well in windows but got the following errors in linux. ClothSim.cpp:464: error: '<ano...
[3 replies] Last: A global variable declaration can be done outside of your main() funct... (by closed account Lv0f92yv)
by lql44
How to compile a .cc document using Visual Studio
 
I am trying to do a c++ exercise in my computer.I downloaded Visual Studio 2010 but have no idea about how to compile and run my program on it. Can anyone hel...
[9 replies] Last: You have to add the the "include" and and "lib" folder of wxWidget... (by blackcoder41)
how do you do a nested loop?
 
im doing a code that has to include a nested loop...,how would i do that.. example. a bowling team consists of five players.Each player bowls three games...
[6 replies] Last: i got it :) (by jade777)
cannot find PDB files ?
 
Hello, can anybody tell me why i get endless warnings saying' cannot find PDB files' ? when debugging. I use Visual C++ express. I suspect it's a matter of...
[no replies]
Tutorial Overload Operators
 
This Overload Operator function works: CVector & CVector::operator= ( const CVector& param) { x=param.x; y=param.y; return *this; } I tried...
[1 reply] : CVector& has the ampersand included because you are returning a refere... (by closed account Lv0f92yv)
Tutorial Question Class derivation
 
Hello, I'm still studying the Tutorial and think this is a failure: If it is .... everything is clear.... If it's not ... help me!!! Tutorial Page 102:...
[no replies]
a hint for solving a problem
 
would any body help me to solve a problem that says 9. Write a complete C++ program that produces a table showing the temperature equivalents in degrees Fahrenh...
[1 reply] : So you don't understand what is being asked? I think this is the id... (by moorecm)
multidimensional arrays
 
solved
[4 replies] Last: having the double equal sign does not assign the formula to the specif... (by joniii247)
by hybzik
Multidimensional dynamic arrays & images (updated)
 
EDITED May 19th This first set of code is a program that generates fractals to tga images, which I am trying to modify so that the image can be of any size (...
[8 replies] Last: I've edited the original post as I don't think I described it very wel... (by hybzik)
May 2010 Pages: 1... 1011121314... 33
  Archived months: [apr2010] [jun2010]

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