I am trying to access my files on my home computer from my computer whihc uses dial-up, both of the system's have WIndows XP Home on them. I have a DSL connection, so I am always connected, is there a way I can make a network connection once I dial-up to the internet at her house.

Member Avatar
Member Avatar
+0 forum 2

Hello, I am trying to write a tee filter in C language, almost like the UNIX utility. But I have no idea where to begin can anybody give me a direction I should start in.

Member Avatar
Member Avatar
+0 forum 3

Ok, for a lab I have to write the UNIX more filter in C, but I have got everything done execpt one thing. I only hvae it to where it can read 20 lines at a time. But what I want to do is if argv[1] == -Pxx where xx is the amount of lines you want to display at a time. but I need to use a scanf() and a atoi command I think but I have not idea on how to do that. Here is my code and where it sets the amount of line sto be printed …

Member Avatar
Member Avatar
+0 forum 8

Does anybody have a source code for the MORE filter used on Linux, because I am curious as to how it works.

Member Avatar
Member Avatar
+0 forum 2

I am trying to make a command line calculator, and I made up a partial code for it, just for adding numbers, I am jsut taking it one step at a time. But I am suppose a number then a space then the math function then a space then the second number. But for some reason I am always getting one for the output. Can anybody tell me what I am doing wrong with this. #include<stdio.h> #include<stdlib.h> #include<string.h> main(int argc, char *argv) { int answer; if(argv[2]=='+') answer=argv[1]+argv[3]; printf("%i",answer); }

Member Avatar
Member Avatar
+0 forum 1

I got a question one of my friends asked me to make a program that you type in the number 1-27 on the command line, and get the corresponding letter for it. Like if you enter 1 as the arguement you would get an A as an output, and if you type in 2, and get a B for the output and so on.

Member Avatar
Member Avatar
+0 forum 4

Here is my code I am trying to figure out what is wrong with it, can anybody help me. [code] #include <stdio.h> #include <stdlib.h> #include <string.h> int GetBuffer(char* buffer[]); int ParseArgs(int argc, char* argv[], int* canonical); main(int argc, char* argv[]) { int canonical=0; //If it is true, print the ascii with the hex int rc; char buffer[16]; //a character array to store 16 bytes at a time int count; int offsetCount=0; //Keeps a count for the offset. rc=ParseArgs(argc, argv, &canonical); //if rc returns 0, the arguments are good, //if it returns 1, there is a problem if(rc!=0) { printf("Please use …

Member Avatar
Member Avatar
+0 forum 5

Hello, I am in a C+ programming class at my college where I am at, and for one fo my labs I have to create a program similar to hexdump of linux, I can do everything it asks me to do, but I can't figure out how to do the input buffer, can somebody send me a code that would make the program read a file 16 bytes at a time. And oculd you please send it to [i]edited by moderator[/i] Thanks in advance.

Member Avatar
Member Avatar
+0 forum 9

The End.