Does anyone know of a installer program that installs my .exe file that i created in c and runs a .reg file that does some registry editing. Kindly LMK
Type: Posts; User: Harman
Does anyone know of a installer program that installs my .exe file that i created in c and runs a .reg file that does some registry editing. Kindly LMK
Thanks guys,
If i read one char at a time it seems to be working so thats what i am going to do.
[RESOLVED]
Hi,
Is there a function that copys a file from a folder to a different folder. I was trying to use "rename" but i dont think it takes different source and destination folder. Right now I am opening...
The function takes a string pointer and returns by refrence a string . I can print the string just fine in the function inself but when i try to print it from the main function it prints some junk....
something like
pattern = "/^tbzfile_\d{4}.tbz$/";
if(pattern, strToBeSearched){
//found
}else
//not found
}
I want to find if a string matches this pattern:
tbzfile_????.tbz
where ? is a digit.
resolved...
How do i return the pointer of the string buf2.
Thank you sir...Let me try it your way...thanks again
here is the function...
char *getAddressbookDir(char tbIni[]){
char line[SIZE], tLine[SIZE], *pathAb, *mDir, *sDir;
int lnLen;
FILE *ifp;
ifp = fopen(tbIni, "r");
The last line doesnot concatenate the 2 values, doesanybody know why???
some code......
mDir = strtok(NULL, "=");
//mDir has the value "Profiles/p41ad5yo.default"
...............
...
thanks, as you can guess i am very new to c.
On a windows machine in command prompt when i type "set" i get a list of environment variables. How do i access these from a c program. I am looking for the variable called "USERPROFILE"