C/C++ :: Make Program ReadProcessMemory Instead Of WriteProcessMemory
Oct 14, 2014how i make my program use ReadMemory instead of WriteMemory?
View 3 Replieshow i make my program use ReadMemory instead of WriteMemory?
View 3 RepliesI would like to know how can I make a simple program .exe so that I don't have to open it through code blocks every time.
View 2 Replies View RelatedI'm trying to write a program for a lab, I know how easy it is but cant see to crack it.
I need to make a program using while or for loop.
I must have the user type a number, for an input value an output value but then do it again several times but without it going on forever asking again and again.
i need to write a program that when run makes another exe file . Eg: make a program named 'sxes' and compiled it. When i execute or run sxes a new exe file named 'new01.exe' is created. This new01.exe when executed must input two numbers and add them and print output. I want to write a program same as installer file .
View 11 Replies View Relatedhow to make the hospital program
View 1 Replies View RelatedHow to make a loop so program never end, it end only by typing "EXIT"
View 1 Replies View RelatedI am looking to make a program for C++ that has a GUI other than command prompt. The program I am trying to create will ask certain questions and display the results at the end after all questions are asked and have 2 copies of the results one over the other that can be printed as a receipt. Basically I am wondering can I do this using C++. Also I want another GUI other than command prompt as well. Something close to what windows uses if possible.
View 5 Replies View Relatedi wanna no if i can make the program generate a different number everytime you guess the number right and want to play again. it always generates the same number
#include <iostream>
#include <ctime>
#include <cstdlib>
[Code].....
I'm trying to make a program in C where the user enters a string and it prints a word for example (name) in lowercase then the same word again but in capitals and lowercase like this (NnAaMmEe).
my code is below;
#include<stdio.h>
#include<ctype.h>
int main()
[Code].....
I want to make program to square the numbers from 1 to 20. i have written this program, it's running but not giving the required answer.i think it is giving a garbage value...
void main(void)
{int a;
int b;
b=a*a;
for (a=1; a<21; a++)
{printf("%d",b);
printf("the square is%d=b");
}
getche();}
Is there any way or trick to make a program that executes without using any class or class concept
View 4 Replies View RelatedHow to make a source code into a functional program that a user can open and use without coming across the source code and building or running it.
View 1 Replies View RelatedI would like to know how to press a key as if it had been pressed on the keyboard in a program. I would also like to know how to read input from a xbox 360 controller. I want to know how to do this so that I can add joystick support to a few mmos that I play that do not already have it.
BTW I am using C 99
I have an exam in C programming I'm a little stuck on loops..I have to make a program that multiplies the loop variable by 2 then takes away 1... easy, that was a for loop no problem
for (x=3; x<=65; x=x*2-1)
that should print out 3 5 9 17 33 65 however, my lecturer has given the task for it to reverse, but not to display the number 17 on the way back down using an if statement...however, this time it must be a do while loop... This is what I have so far.
Code:
#include <stdio.h>
#include <stdlib.h>
int main()
{
int x = 129;
}
[code]....
I am trying to make my program read an integer until a space, namely ' ', is pressed, and then move on to the next command. However, all my attempts hitherto with both scanf() and getchar() have been to no avail. Every time it proceeds to the next command only upon pressing Enter, which is not quite what I want.
View 3 Replies View RelatedSo I'm trying to make a program that asks the user for a number and then prints a statement the same number of times the user entered. 3 different statements, using the 3 loops (for, while, and do while). I made the program but for some reason the statement from the do while loop goes off infinitely.
MY CODE:
The error:
I am trying to make a program that can type a string into another window. I have gotten it to the point that it can type the string, just not correctly. It will type random numbers and not the given string. The key event uses ASCII code for the arguments, and I don't see anything wrong with my numbers. Here is the code I have so far.
#include "stdafx.h"
#include <iostream>
#include <windows.h>
[Code].....
I want to make a simple program that will print out the factors of an integer. My program right now only outputs "The prime factors of 221 are 221, 221, 221, 221"... Where it should be "The prime factors of 221 are 1, 13, 17, 221"
#include <cstdio>
int factorsOf(int x);
//function
int main() {
int x = 221;
printf("The factors of 221 are ");
[Code]...
Say I want to leave a program running and it stops when I press F9 for instance, I'm looking for something like (and note this is just a generalization).
#include blah
using namespace std;
/wait 2 hours
/key.press = F9
return 0;
I want to make a program that can know the current time and create a new .txt file.For example if its Monday to day then when its Tuesday it crates a new txt file called Tuesday.I really don't know how to go about this.I know i will need to use the time.h library.
View 4 Replies View Relatedhow could this program tell the ID's and Passwords of more than one line in the text document?
# include <stdio.h>
# include <conio.h>
# include <stdlib.h>
# include <string.h>
[Code].....
Program in c++ that if i ran it the cmd window will stop without using getch statement and conio.h header file, or how ?
View 7 Replies View Relatedhow work backspace key in c++.i want to make a program which can work as a backspace number
View 1 Replies View RelatedI am trying to make a custom hotkey on my program via a ini file.
Code:
TCHAR KeyValue[32];
GetPrivateProfileString(("test"), ("test"), ("") ,KeyValue, 32, ("C: est.ini"));
if(GetAsyncKeyState (KeyValue)) // Hotkeys 0x60 VK_NUMPAD0 //Problem here
{
}
Code:
test.ini :
[test]
test=0x60
Error:
invalid conversion from `CHAR*' to `int'
initializing argument 1 of `SHORT GetAsyncKeyState(int)'
I have two questions about C programming here :
1. I want to make a file in the program directory that can't be deleted by user out of the program make that file.for example if I make a file named "123.xyz" by the program named "text.exe" and then exit test.exe ,if I tried to delete the file 123.xyz I faced the error and I could not do it but by the test.exe program that make that file.
2. I heard about a function called "Parbegin()".any way i want to know is there any possible way to run two or more functions of a file.c together,like the parbegin function did an do in OS?
I want to make a custom program for packaging multiple files in one. Not as complicated as ZLIB or others. Consider few files, XML, txt, JPG, OGG, I want them to be added in 1 file. Not visible not readable. Just a datafile. I have some ideas about creating some kind of indexing of the start byte, end byte of each file. But I am still way too far. Can you point me some direction at what should I stress in creating this software. It will be portable since I am planning to use stdlib, stdio only, maybe and string to recreate the filenames from the large chunk datafile.
View 2 Replies View Related