Thank you very much for the tips.
I am now getting this error though:
error C2761: 'double convert::MPH2KM(double)' : member function redeclaration not allowed
Type: Posts; User: Trent_Easton
Thank you very much for the tips.
I am now getting this error though:
error C2761: 'double convert::MPH2KM(double)' : member function redeclaration not allowed
I seem to be getting this error:
Converter.cpp
#include "stdafx.h"
#include <iostream>
#include "m4th2.h"
Thank you that helped me alot.
I have a string right, which has data put into it from a file I am reading from.
It reads each line of the file and stores it in this variable. Anyway.
It appears that when it is storing this...
I can't seem to find anything like that in the options.
Can anyone help?
I am trying to compile the following:
#include <iostream>
int main()
{
int number1;
I am opening a file for reading/writing/whatever in C.
How would I grab a certain line of text? Say if I wanted to grab all the text on the 3rd line of a .txt file, how would I do it?
You might want to research shellcode (maybe on wikipedia)
Because that's how it's done. As I said, I wasn't asking for help with that. I just need my file executed.
<<ANGRY MOD EDIT>>
I am aware that my shellcode will not work, however that isn't my problem (at the current moment.)
Why isn't system even running file.exe? I have spent ages on this, and yes...
Basically what I want to do is connect to a host, send some data then put all the received data into a buffer and print it out as it comes...
I know how to connect and send data, no problem.
...
Thank you for your help.
nkhambal when I use that code it tells me, that there is an error with the winsock.
I am trying to code a basic command line server, basically so I can telnet to it and send data and the server will print it out.
#include <stdio.h>
#include <windows.h>
#include <winsock2.h>
...
How would I go about writing a prototype for
bool IsConnected()
I've tried
bool IsConnected();
But it gives me errors, I have experiencing making prototypes for bool functions....I've...
Thank you very much guys :D
Now I'm getting the errors:
Sorry for bothering you.
I am trying to compile the following code:
#include <ras.h>
bool IsConnected()
{
LPRASCONN TRasCon;
RASCONNSTATUS Tstatus;
Sorry...looks like I have found what I'm looking for.
Will search forum next time :D
I am coding a small app, I want to copy the app itself to the C:\ drive.
Is there like some API I can use to get the location of the running application so i can use CopyFile to copy it to the C:\...