C :: How To Get Remote / External IP Of Computer

Oct 20, 2013

I am starting to learn C, its quite an easy language to learn from the basics, I hope to learn others as time goes, I wonna know how do I get the external / remote IP of a computer?

View 6 Replies


ADVERTISEMENT

C# :: Run Console App On Remote Computer?

Dec 22, 2014

I'm looking for a way to run my console app in C# on one computer, but the actual program is ran on another computer. IE I open the file or hit "Run" in Visual Studio on computer1, the computer2 runs the program. I was looking online and found some stuff that may be applicable, but I didn't see a very clear answer.

View 6 Replies View Related

Visual C++ :: Find And Open A File On Remote Computer

Feb 26, 2013

I have a file on one server(Windows 2003) and need to access from another server (IIS server - Windows 2008) , I have written the program for the same which works fine and I can access the file.

But when this comes to the DLL (which registered successfully on Windows 2008), its not able to find the file on Windows 2003.

View 15 Replies View Related

C# :: Execute Remote PHP Script?

Aug 26, 2014

i need to create an small windows form, with some buttons, and then those buttons will "exectute" an action on a remote webserver.

Im searching with http requestings and didn't find nothing useful for what i need.

The basic thing is that i just need to press "EXECUTE" and then c# will press one link in the Webserver. I do not need any feedback from the page. I just need that C# execute a link like localhost/startbackup.php then the actions from the startbackup.php will run.

I do not need any information regarding if the page was successful executed or not, or even if it opens one window. Nothing.

View 1 Replies View Related

C# :: Upload A File To Remote Server

Oct 1, 2012

I managed to upload a file to a remote server with below code:

Code:
// Get the object used to communicate with the server.
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://kasunl.worlditsme.com/voo.txt");
request.Method = WebRequestMethods.Ftp.UploadFile;

[Code]....

View 6 Replies View Related

C# :: Error - Unable To Connect To Remote Server

Jan 23, 2015

I have an error with unable to connect to remote server when it debug to this stream line as below :

Code :

FtpWebRequest request = (FtpWebRequest)FtpWebRequest.Create(FTPAddress + "/" + Path.GetFileName(filePath));

request.Method = WebRequestMethods.Ftp.UploadFile;
request.Credentials = new NetworkCredential(username, password);
request.UsePassive = true;
request.UseBinary = true;
request.KeepAlive = false;
request.Proxy = null;

[Code] .....

View 1 Replies View Related

Visual C++ :: How To Retrieve Remote Desktop User Domain Name On Win2008 Server

Oct 9, 2012

How can I do this??

Suppose I have Win2008server and many users from defferent domains log in, so every user has its own session.

How can I obtain from the session the domain name of the user who logged in to server??

View 1 Replies View Related

C++ :: Transfer TXT File From Computer A To B?

Aug 4, 2014

how could I transfer a .txt file from Computer A to Computer B using c++. (over LAN)

View 3 Replies View Related

Visual C++ :: Input X And Y To Computer Sin / Cos

Dec 11, 2012

input X and Y then write the program to compute

Sin(X++) Cos(Y--);Sin(X+X),Cos(Y--)

and write your conclusion for

X=46 & Y=90

View 5 Replies View Related

C++ :: Creating Computer AI For Tic Tac Toe Game

Dec 24, 2014

How I can go about creating a computer AI given the way that I structured my code.

main.cpp

Code:
#include <iostream>
#include "Board.h"
#include <limits>
#include <cctype>
using namespace std;
int main() {
// Welcoming message.

[Code] ...

View 14 Replies View Related

C++ :: Function To Search For A File In Computer

Apr 4, 2013

#include <iostream>
#include <cwchar>
#include <string>
#include <Windows.h>
using namespace std;
#include <shellapi.h>
#pragma comment(lib,"shell32.lib")
static HWND hBut;
#define ShellExecute;

[Code] ....

My function is the issue. I'm not sure how to write a correct function to search your computer for file 'a'.

View 3 Replies View Related

C++ ::  Reading Files Saved On Computer

Jul 20, 2014

I can't seem to get my program to read a file that's saved on my computer. Here's my code:

#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main() {
ifstream inputfile;
string name;

[Code] ....

View 6 Replies View Related

C++ :: Access Registry Of A Computer Within Domain

Aug 6, 2013

I have to implement code in such a way that form one system in a domain we have to change registry of other system within the domain.

View 4 Replies View Related

C/C++ :: Saving Sequential Files To Computer?

Feb 2, 2015

[size="5"][size="4"]

I am programming in C and am having some trouble finding the .txt file I saved after having run my program. It is likely a stupid error on my behalf. However, it is causing me quite a bit of grief at the moment. I attached my source code below  
abgcchp27ex1.txt (2.01K)

I coded my structure within my header file(bookInfo.h) correct along with everything else. My dilemma is a matter of my file location and whether it actually saved.

/* This program takes the book info program from chapter 27 and writes the info to a file named bookinfo.txt. */

// First include the file with the structure definition

#include "bookInfo.h"
#include
#include
FILE * fptr;

[Code]....

View 3 Replies View Related

C# :: Program That Scans Computer Screen?

Nov 20, 2014

I have a problem with a program..I wanna make a program for scan the computer screen.I mean for example there is a video which shows just 5 pictures(apple,pear,banana,strawberry,cherry pictures) but this pictures are turning nonstop in one second. and this case is continuous progress.There are 5 pictures and are chancing. Lets get my problem, I wanna make a program and when apple on the screen my keyboard will push 1,when pear on the screen my keyboard will push 2,banana is 3,strawberry is 4,cherry is 5. I have this 5 pictures which are in the video and I will introduce tham to program and I wanna compare my lib. and screen and get output.

View 3 Replies View Related

C/C++ :: How To Get Computer IP Address And Prints It Without Using IPConfig

Feb 16, 2014

Is there a way/code to get my computer's IP address and prints it without using ipconfig

Example: My computer's IP address is: 198.110.69, it will print an output: 198.110.69 or 19811069 (without dots would be better though) ....

View 2 Replies View Related

C :: Program In Which Computer Will Read Txt File And Encrypt It

Jan 1, 2014

I am writing a program in which the computer will read a txt file and encypt it. The encryption works fine, but the computer cannot read the file perfectly. If there's a newline, the scanning process stops. For example I have the following text in the txt file.

One two three four five
(newline) Six seven eight

The computer will stop reading after 'five'. I assume that is because I use fgets.

View 4 Replies View Related

C++ :: Computer Restarts Every Time Program Is Compiled

Feb 26, 2013

I have a weird problem, my computer restarts imidiately after program writen in dev-cpp is compiled AND run. When I run any program, it lasts about 1 second, then program closes, and computer reboots. It doesn't matter whether program is writen now or earlier, my dev-cpp version is 4.9.9.2. Source code can be as simple as this:

#include <iostream>
#include <conio.h>
using namespace std;
int main() {
getch();
return 0;
}

and it restarts anyway...

View 2 Replies View Related

C++ :: Build Full Computer Algebra System?

Apr 1, 2013

Im trying to build a full computer algebra system in c++

View 1 Replies View Related

C++ :: Use Excel And Word Files With Computer That Doesn't Have Both?

Mar 12, 2014

I have to develop an application that uses Qt, Excel and live-time file checking. My client gave me this:

I have a problem at work. I need you to develop this: I want one application with GUI (it said windows), that generates an report for each sheet (employee name) in the file, with the columns. I don't want to make the computer slower, so check the file and get the name of the employee that is altered and only change his report

How to start it. All Excel libraries I use stop working on my computer and this "File Checking" is other trouble, because if for each second I compare the size of the "old" file with "new" file, the memory will explode.

View 5 Replies View Related

Computer :: Fill A Triangle (in 3D) With Equidistant Points

Oct 9, 2014

I'm in need of an algorithm to find the points within a triangle(vertices are known. 3d coordinates). The points are to be at same distance from one another i.e. the points are uniformly distributed within the triangle.

I have done a search about the topic and have come across some ideas like lattice points generation ,tiling polygons with Lattice triangles [URL] .... and taking their centroids as the points.

View 1 Replies View Related

C Sharp :: How To Print Two Or More Printers Simultaneously In One Computer

Jan 18, 2014

I have two or more printers and one computer. I want to print to both printers the same document at the same time... Thus when I press print on my document both printers will print the file simultaneously.

View 6 Replies View Related

C :: Program Where A Computer And Player Take Turns Rolling Dice

Feb 19, 2013

I am making a program where a computer and player take turns rolling dice.

There seems to be an issue somewhere in my loop where when the player selects from the possible dice choices, it rolls for the computer and does not select the choice and it immediately becomes the player's turn again.

I am trying to get it to where when the computer rolls the dice, it should display the list of possible values, and ask the user to hit the enter key in order for the computer to choose which value to select using the following command:

Code:
while ( getchar() != '
' ) ; I've tried it a hundred times and no matter where I put the command it still skips the computer's turn.

Below is my code:

Code:
while (compscore < 99 && playerscore < 99){
printf("You have rolled the following pair of dice:
");
a =("%i ", rand() % (MAX_VAL - MIN_VAL + 1) + MIN_VAL);
b =("%i ", rand() % (MAX_VAL - MIN_VAL + 1) + MIN_VAL);
multiply = a * b;

[Code] ....

View 11 Replies View Related

C++ :: Calculating The Inverse View Matrix From Computer Graphics

Feb 6, 2015

How do you calculate the inverse view matrix?

Is that really just the inverse of the view/camera matrix?

Or is that something else?

I have seen articles online on the overall mathematical theory behind it but I am using the GLM math library and it has this nifty glm::inverse() function.

I was just curious if I can do a glm::inverse(ViewMatrix) and that would be correct.

View 2 Replies View Related

C++ :: Create A Class That Detect Cellphone Connected To Computer

Apr 30, 2014

I need to know if it is possible to create a class that will detect if a cellphone is connect to my computer via a usb cable without knowing what the make and model of that computer is. If you think it is possible, how would you go about implementing it.

View 2 Replies View Related

C/C++ :: Putting Computer Info Into CSV File - Batch Files

Dec 8, 2014

I am trying to use a combination of windows batch scripts as well a C++ program to put users data into one single .CSV file. Right now, I have a batch file that will output data from the command line into multiple .txt files. These files are mac.txt, serialnumber.txt, computermodel.txt, and computer name.txt. What I want to do, is to have users run the batch file, which will in turn run the .exe C++ file which will concatenate all their data into one file, computerinfo.csv. The file format for this file would be to have the mac address, serialnumber, computer model, and computer name all in their own column.

My main issue is that these individual files don't have the format that I would like, but based on the command prompt functions, there isn't really any good format. For example, the mac.txt file has the following format:

Physical Address Transport Name
=================== ==========================================================
xx-xx-xx-xx-xx-xx DeviceTcpip_{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
yy-yy-yy-yy-yy-yy Media disconnected
zz-zz-zz-zz-zz-zz Media disconnected

but all I really want is xx-xx-xx-xx-xx-xx

The other files have other issues with format, but if I can figure out this one then the others should be a piece of cake.

Also, I want the output of this to all go in one row, and as other users run this file, they will go into new rows without touching the rows above.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved