General C++ Programming - June 2009 (Page 12)

My program is not running on another computer
 
Compiled on my computer with MSVS2005 and worked on my computer programm is not running on another computer? why? The message is: Not configured or settings is...
[7 replies] Last: Solved. Project setting-> C++->advanced : Omit default Library Nam... (by SpbJimbo)
by ak555
normal operations using c++
 
can a program be created using normal c++ to perform general operations on the computer like deleting files changing the desktop background etc.
[3 replies] Last: Using external libraries is better than system() http://www.cplusplus.... (by Bazzy)
ATL Server Web Service on Windows Vista and VS2005
 
Hi There !!! Let's find someone who could help me on this problem. I have created on VS2005 under Windows Vista a new Visual C++ ATL Server Web Service Proj...
[no replies]
what is the best way to put a letter into an array
 
I am wondering what is the best way to put letters (a-z) into an array or a vector, instead of forcing the letter into the array manually. I would like to use a...
[2 replies] Last: thank you, that helped. i was also using functions as well. so that ma... (by Parrish666)
COPY array error-->cannot convert from 'double' to 'double []'
 
i occur an compile error--> error C2440: '=' : cannot convert from 'double' to 'double ' at line 13 how to amend it? using namespace std; # define ...
[2 replies] Last: oh, you are right, why i can't find out this careless mistake --> miss... (by chiwing)
character validation
 
Hey all I'm struggling with my project to extract occurrences of a word from a text file. The semantics of opening/using the file are giving me massive headache...
[3 replies] Last: '\'' - apostrophe '\n' - newline or line feed (10) '\r' - carriage r... (by helios)
how to pass array element to an sub function?
 
i try to pass the add to it's sub function (add) , but find out didn't succeed ~ ~ using namespace std; # define happy__declspec (dllexport) happy ...
[4 replies] Last: big thankyou i have lots of careless mistake~ ~ (by chiwing)
by mioro
Give me a hand please!
 
I am JUST A BEGINNER IN C++ (a week) and I’d like to get help (given the following) #include <iostream> #include <fstream> using namespace std; int main( ...
[10 replies] Last: This will have everything you will ever need!! http://lmgtfy.com/?q... (by jloundy)
Using #include in a parameterized macro?
 
Has anyone ever managed to set up a #define such that you can do code like: import("antigravity.cpp"); and have it expand to: #include "antigravity.cpp" ...
[4 replies] Last: haven't you got anything better to do with your life? It seems prett... (by guestgulkan)
by xargon
copy constructor and templated class
 
Hello everyone, I have a class declaration as follows: template<typename T> class Matrix { }; Now, I want to have a copy constructor. Can I do...
[6 replies] Last: They are not the same type. It is just as if Matrix<Y> were Foo ins... (by jsmith)
memory advice for programmer used to garbage collection
 
Hello, my prior programming experience has been limited to Java and C#. I am still trying to learn the intricacies of C++'s memory management. Here is what I ...
[3 replies] Last: I recommend picking up a copy of Effective STL by Scott Meyers. One g... (by kempofighter)
Struct VS Class
 
After some massive research into the Struct and Class, I've found them to be extremely similar. Apparently, how they manage memory and how they function is very...
[3 replies] Last: There is not much more to be said. Here it is from the standard: ... (by closed account z05DSL3A)
Senior C++ Developer
 
hi All I am urgently looking for a VS C++ Developer with GUI Experience. the client is based in (SA) Houghton. They are looking for min 2 years experience. C...
[2 replies] Last: Is there a metro that runs to SA? If so I'd be interested....I can get... (by jfq722)
by Bwyard
problem. IDK what it is though.
 
Ok i am having a problem. I am using the documentation guide and am on output section i typed the i/o example in the guide in dev C++ but it ownt work. DEV C++ ...
[7 replies] Last: You could check where the libraries are in Dev C++ (Tools->Compiler Op... (by closed account z05DSL3A)
array problem
 
i don't know why below code occur error :"uninitialized local variable 'add' used" at line 11 actually i have initialize add as a double array~ ~ using...
[3 replies] Last: double test98 = add ; This is right, once you have initialized prop... (by Bazzy)
IF within For problems
 
Hi all, I put this into the beginners forum but I'm not sure that was the correct place for it if you would care to have a look, I have quite a long code don...
[no replies]
by j14
How to make user type in coordinates for a point
 
Im very new to c++ and i need help with this, would be much appreciated. what im trying to do is make a game called Malom/ Nine Mens Morris where you display th...
[4 replies] Last: Ah, I think I misunderstood your original question. (In part because y... (by Duthomhas)
Problem with two dimensional vector
 
I write a function, which fill vtwo dimensional vector like a matrix, and its work. Then i read function for output and there is the problem. When for index i i...
[9 replies] Last: It's the CORRECT way to write a program in C++. Any other way is WRONG... (by closed account S6k9GNh0)
How to write vector in binary fail?
 
Did some one know how to write vector, which is inside a class class v{ vector<int> a; public: void read(); void write(); }; void v::write(...
[4 replies] Last: to kbw: Class can be write in binary file like that: fp.write((ch... (by Ivan Dimitrov)
by yalcin
How to return a multidimensional array with a pointer function?
 
Hello, I would like to return a multidimensional array from a pointer function.But multidimensional array dimension's will be enormous.For example,width will...
[2 replies] Last: If you are using C++, stick to using classes like vector or deque .... (by Duthomhas)
June 2009 Pages: 1... 10111213
  Archived months: [may2009] [jul2009]

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