SpeedUtilities
Processes |
DLLs |
Operating systems |
Manufacturers |
CPUs |
Ports |
Services |
Log files |
Directories |
Internet services |
Software packages |
Viruses |
Network adapters |
Internet bots
» An ultimate catalog of computer data
» An ultimate catalog of computer data
Forum posts for logon.exe
How do I use string variables in a stdlib.h system statement? [duplicate]
Possible Duplicate:
How do I concatenate multiple C++ strings on one line?
Is my last statement not compatible with string variables? I keept getting this error when debugging: *error: expected ')' before 'computer_name'*
#include <stdlib.h>
#include <string>
#include <fstream>
#include <iostream>
using namespace std;
int main()
{
string username;
string password;
string computer_name;
system(''logon.exe ' computer_name '-U' username '-P' password '');
return 0;
}
View complete forum thread with replies
Other posts related to logon.exe
See Related Forum Messages: Follow the Links Below to View Complete Thread
How do I use string variables in a stdlib.h system statement? [duplicate]
What is the carbon footprint of your coffee?
Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.