Beginners - August 2010 (Page 18)

i want to make an exe..
 
i want to make an exe to open aonther exe reading it from path like \test\test.exe then this applaction close its self can i do that using C++?
[1 reply] : If all you are trying to do is just launch another process, and don't ... (by Reynold)
by igorze
problem: geeting message from the loop
 
My problem is if "printf("%d\n",begin)" never gets a number from the loop "for" I want it to write "oops no numbers were found" what should I do? ...
[1 reply] : Use a flag, if remains in 0 after traverse all the range, then output ... (by ne555)
by erynn
matrix algebra problem
 
how to solve matrix algebra problem Z=A^(-1)*(B*B) + 3*(A*A)*B^(-1). i especially do not know how to write code fragment if a number is being multiply by a ma...
[1 reply] : I don't really understand your problem. You could do g.MatMultiply(Q,... (by hamsterman)
How can memory leaks be found experimentally?
 
I want to test a function for memory leaks. Can I just compile a program that loops it an arbitrarily large number of times and see if the computer eventuall...
[3 replies] Last: On modern OSs with virtual memory, yes, leaks are plugged when the pro... (by helios)
by wtf
Strings with special characters in foreign language
 
How can I get the computer to cout in a foreign language such as spanish with ñ or german with ö, ä, ü and ß? if I cout these characters in a string, they...
[7 replies] Last: Gee, why didn't I think of that? (by wtf)
How can C++ code be accessed elsewhere?
 
I have a C++ function that I like. How can I access it from, say, Excel VBA? I've heard "COM" as an answer in Google searches, but not how to make code for ...
[2 replies] Last: A DLL works for calling functions in other C++ programs, right? Fro... (by Chemical Engineer)
strings: find() function confusion?
 
Hi, When using the predefined function find() to search a string for a substring or character, I've noticed that if it can't be found, c++ returns 4294967295. ...
[2 replies] Last: The value you should check against is std::string::npos. std::st... (by Galik)
Why is my GMod binary module getting these errors?
 
I'm trying to compile this DLL for Garry's Mod that will bypass scriptenforcer but I'm getting loads of errors. I have almost no experience with C++ and am curr...
[1 reply] : Well, it's sort of telling you exactly what the problem is. Why are... (by Syrin)
can't acces in a .csv file that's already opened
 
Hi all, My problem is very simple. a) I have an excel sheet that draws financial data from a software through DDE connection. That's very easely done (whi...
[2 replies] Last: Yes, just finally had this idea. Looks like it works, thanks for your ... (by wboustany)
DIRECT3D
 
#include <windows.h> #include <d3d9.h> #include <time.h> #include <iostream> using namespace std; // Application title const string APPTITLE = "Create ...
[3 replies] Last: sorry i made a new one in the winProgramming forum... (by L E G I O N)
Exponent program question because im getting some stupid error
 
So basically im making a program which ouputs the exponent of the exponent of a number so basically, if you put in 5, it does 5^5^5 Heres my code #inc...
[4 replies] Last: you're only finding the exponent once, you calculate 5^5 for example, ... (by quirkyusername)
same code gives different outputs on different computers. why does this happens?
 
My friends and i are working on a code that will convert an input number into the resistor colour code.This is my code. #include <iostream> using namespace...
[2 replies] Last: The problem is that code is undefined. If the read fails you don't kno... (by Galik)
What may cause a program to stop?
 
Hi guys. First, I want to compliment the forum members for their patience and helpful answers. I always fill that I'm not doing that enough. Now, to my q...
[10 replies] Last: thank you everyone for such answers....after reading the posts got man... (by jesmidou)
While loop && "was not declared in this scope" error
 
I have this code that works fairly well, but depending if I put an extra while loop or not I get errors: hw7.cpp:34: error: ‘selected’ was not declared in ...
[2 replies] Last: If you declare something inside a while, for, if, function, it survive... (by ne555)
virtual methods
 
Can anybody efficiently explain virtual methods ????
[9 replies] Last: virtual may point to no operation at all Um, no? virtual is requi... (by firedraco)
how to repeatedly ask until getting a satisfactory input
 
How can I repeatedly ask the user until "cin" a satisfactory input? Case 1: until "cin" 1-100, other letters and notes are not allowed Case 2: until "cin" pos...
[5 replies] Last: thx all. i've got it. (by horace5563333)
SPR/SPX?
 
What happened to the SPR/SPX?
[no replies]
by Reguba
Polymorphic type?
 
As I was reading the Type Casting section of the C++ guide, I became confused in the dynamic_cast section. In this example: class CBase { }; class CDerive...
[2 replies] Last: I plugged it into the compiler and sure enough it said it was not a p... (by Reguba)
C++ DirectX
 
Hey everyone I'm new to the forums. But I'm trying to make an image move up and down on the screen slowly but I'm unsure how to do it, can anyone help me please...
[4 replies] Last: I'm using Visual Studio 2008 with the DirectX SDK You're actually... (by Disch)
error: ‘cout’ was not declared in this scope
 
I wrote the following program: #include <fstream> using namespace std; int main( int argc, char**argv) // returns 1 on error { for (int ctr = argc; ctr; ...
[6 replies] Last: Thanks, that made it work ;) (by CaptainBlood)
August 2010 Pages: 1... 1617181920... 28
  Archived months: [jul2010] [sep2010]

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