Search Results

Showing results 1 to 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: darren2005 ; Forum: C++ and child forums
Forum: C++ Dec 16th, 2008
Replies: 8
Views: 770
Posted By darren2005
Thanks for help - will try what you suggested with the system cmd and the text editor

;)
Forum: C++ Dec 16th, 2008
Replies: 8
Views: 770
Posted By darren2005
I do understand - Just thought that someone would have an idea as to what could cause the issue.

The .bat file looks and acts fine until it comes down to the KEYTOOL command. Just does not like...
Forum: C++ Dec 16th, 2008
Replies: 8
Views: 770
Posted By darren2005
Yes - that does work. Does C++ have any issues writing a ( - ) to a text/bat file?
Forum: C++ Dec 16th, 2008
Replies: 8
Views: 770
Posted By darren2005
Ok - will try this, however the .exe does run the .bat file with no problems. It does execute other commands in that .bat (SET CLASSPATH & SET PATH, etc) file but not the above KEYTOOL command?
...
Forum: C++ Dec 15th, 2008
Replies: 8
Views: 770
Posted By darren2005
Hi,

The was my application works is that my C++ .exe will create a .bat file, which will then in turn run the .bat file.

ofstream myfile ("tmp.bat");
if (myfile.is_open())
{
myfile <<...
Forum: C++ Nov 17th, 2008
Replies: 15
Views: 1,953
Posted By darren2005
Thanks for your guidance!

I am trying to create a listening application which will listen and wait for communications via port 6666. This involves setting a CLASSPATH and calling the JAVA...
Forum: C++ Nov 17th, 2008
Replies: 15
Views: 1,953
Posted By darren2005
Forgot to say - How?
Forum: C++ Nov 17th, 2008
Replies: 15
Views: 1,953
Posted By darren2005
OK - let me know if i wrong, but you suggest:


Have the c++ file create a .bat file with the required commands (dynamically). Then once the file has completed its function, delete it - a bit like...
Forum: C++ Nov 16th, 2008
Replies: 15
Views: 1,953
Posted By darren2005
Thanks again - do you know if there is something similar to "echo on" in c++?? I would like to know what’s going on in the background. I am able to compile with no probs, but the .exe is not working...
Forum: C++ Nov 16th, 2008
Replies: 15
Views: 1,953
Posted By darren2005
Thanks - but I'll stick with setjava.insert(53,user); for now.

I take it that the first Character from a string is "0" and the seond a "1" when using setjava.insert(53,user);
Forum: C++ Nov 16th, 2008
Replies: 15
Views: 1,953
Posted By darren2005
This is not working, but I'm sure its just me??


string user;

cout << "1. Enter FULL PATH to directory: ";
cin >> entry;

user = entry;
Forum: C++ Nov 13th, 2008
Replies: 15
Views: 1,953
Posted By darren2005
Very True - but to be honest, I do prefer C++ evan though its new to me.

Thanks for the advice anyway ;)
Forum: C++ Nov 13th, 2008
Replies: 15
Views: 1,953
Posted By darren2005
MosaicFuneral - Thanks very much for that! Will try get my head around str.insert();

Would it be:

str.insert(53,setjava);

For

system(("java -Djava.security.manager...
Forum: C++ Nov 12th, 2008
Replies: 15
Views: 1,953
Posted By darren2005
Can anyone let me know how I could include a variable within a system command?
(This is a win32 project and not an application.)

I am using: (some code taken out)


system(("set...
Forum: C++ Nov 10th, 2008
Replies: 4
Views: 2,734
Posted By darren2005
Hi,

Thank you very much for that. It now works!!!!

Using:

string user;
string entry;

cout << "2. Enter FULL PATH to DIR: ";
Forum: C++ Nov 10th, 2008
Replies: 4
Views: 2,734
Posted By darren2005
Thanks for your reply!!

Sorry if I am being thick, but is this correct (some of the script has been removed)?

#include <string.h>

using namespace std;

string entry;
Forum: C++ Nov 8th, 2008
Replies: 4
Views: 2,734
Posted By darren2005
I'm very new at C++ and would like to know how I would change a directory via user input? This will be a Win32 Project and not a Win32 application.

I know I can use (as standard - and without user...
Showing results 1 to 17 of 17

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC