does anyone know of any useful links or can put me in the right track please.
Type: Posts; User: cyber_tech
does anyone know of any useful links or can put me in the right track please.
Hi everyone,
I was just wondering if someone can tell me where I have to start for writing a personal firewall,
I'd appreciate it if someone can put me in the right track, or if you know of any...
I'm sorry I'm new to this forum,
thanks for the help
Hi,
I've been working on the code below for some time now and I just can't fix it,
can some one please help me.
basically I want to get an input file and a search word as command line arguments...
sorry for being slow but how can I pass argv[2] to process_file.
when I try to run the code above it still gives me the following error:
error C2065: 'argv' : undeclared identifier
what should I do to fix that.
I tried the following but it still doesn't work.
int process_file( FILE *fp ) {
char buff[1000]={0},
tempStr[300]={0},
string[100]={argv[2]},
*tokenPtr;
int n = 0;
not very long,
but I'm really desperate for this program,
I have to get it working soon, It's my university project.
Hi,
I'm trying to write a program for the number of occerrence of a word from a file,
so I need to open a user input file as argv[1] and get the search word from argv[2] and print out the number of...
and when I try to compile it it gives the following message:
myprog2 fatal error LNK1201: error writing to program database 'c:\Documents and Settings\Alex Karimian\My Documents\Visual Studio...
it doesn't compile,
and when I try to run it from command line it gives the message file cannot be opened,
and it says jit debugging component registration is incprrect.
I just want to see if I can open a file successfully from command line
print a message if it opens successfully
hi,
I'm trying to open a file from a command line argument and if it gets open
print a message.
it doesn't work
what am I doing wrong.
#include <stdafx.h>
#include <stdio.h>
#include...
its working now
thanks for the help Mats
thanks I found the exe file
but it still tells me that it's not recognised as internal or external command
when I try to run it,
I use start > run > cmd
then bring it to the debug directory where...
I don't see any exe files in the directory.
and when I use cpp file it says it not recognised as internal or external command
how can I run the program with command line arguments, do I just run it by pressing F5 or is there another way,
cos pressing f5 doesn't work
what about searching for the specific words as command line arguments such as the , but.
Hi everyone.
I have to do the following for my project,
You are required to develop a program to search a test file for the number of occurrences of at least two words. Output from the program...
I tried everything but it still doesn't create the file,
I put the error check and it doesn't give me the error message,when debug it, it works without creating the output file.
no it doesn't create the output file at all.
Hi, I need more help.
I need to read from a file(input.txt) and get the number of occurrences of each word and produce the result in the seperate text file as well as screen,
everything works but...
thanks for the links, it was very helpful,
I've come up with the code below:
it takes some strings from the keyboard and it fives out the number of occurrences of each word,
but how can I get the...
Hi everyone,
I'm new to programming and I have to do a project and I'm not sure where I have to start from.
this is my project:
You are required to develop a program to search a test file for the...