Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~1K People Reached
Favorite Forums
Favorite Tags
c x 28
Member Avatar for wsn

Hi everyone, I'm trying to find the points that satisfy the equation y^2=(x^3)+ (4*x) + 4 (mod 5) from the book i know im suppose to get x=0 y=2 x=0 y=3 x=2 y=0 x=4 y=2 x=4 y=3 so far i haven't been luck in getting anything any help is appericated …

Member Avatar for Lardmeister
0
104
Member Avatar for wsn

Hi, I'm writing a program where the user can enters numbers and these numbers are stored in a file, then the numbers are read from the file and a certain calculation is done to each number by creating a thread for each My problem is: The first problem is whenever …

Member Avatar for Salem
0
102
Member Avatar for wsn

Hi, I'm trying to create this program that does nothing until it's interrupted in the child, if the interrupt occurs then the parent should sent a SIGQUIT, so fare i have been stuck in an infinite loop =/ Any help is appreciated [code] #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include …

Member Avatar for jephthah
0
100
Member Avatar for wsn

Is the difference between the execlp execvp calls and execl execv, is that execlp execvp have the advantage of specifying a file name instead of a path name what makes these two functions better to use over execl and execv?

Member Avatar for wsn
0
94
Member Avatar for wsn

Hi, I'm trying to make this code works but with no luck so far, I have two problems 1. I'm reading from a file lines and then executing them but the last line goes into an infinite loop 2. Another problem is I don't think I'm using "wait" properly as …

Member Avatar for wsn
0
96
Member Avatar for wsn

Hi, I'm trying to make a makefile but after i enter the command make makefile it says nothing to be made in the makefile, can someone please help me? Nd.c depends on Pd.h Pd.c depends on Pd.h Md.c depends on md.h md.h depends on Rd.h # Makefile CC = gcc …

Member Avatar for wsn
0
125
Member Avatar for wsn

Hi, I'm practicing for my test and I'm really confused on this question This is the content of make file assuming that part1 and part3 has been modified. list the sequence of command activation in the correct order for make to run I understand it looks at the target then …

Member Avatar for Salem
0
111
Member Avatar for wsn

Hi, I'm trying to get two small programs that use macro to work but neither of them is doing so the first macro selects the least significant bit from an unsigned char [code] #include <stdio.h> #define LBIT(X) (((X)&1)?1:0) int main() { unsigned char a; printf("Enter a character:\n"); scanf("&c",a); printf("Least signficant …

Member Avatar for wsn
0
98
Member Avatar for wsn

What does the following code do when the input is 56789 1234 45a72 int i; float f; char name[50]; scanf("%2 %f %*d %2s",&i,&f1,&name); When I ran the code in the compiler and used printf to check the results i got 56 789.000000 45a72 I understand that it didn't 1234 because …

Member Avatar for wsn
0
96
Member Avatar for wsn

Hi, Can someone please help me in this,,, i'm trying to write this program but i keep getting a segmentation fault . I think the problem is from the outerloop but i don't know how to fix it. I have a file for example my file contains hello world I …

Member Avatar for Ancient Dragon
0
73
Member Avatar for wsn

Hi, if i had a string (Iamhere) stored in an array of characters, and i want to get just (amhere) in another array, is there a way of doing it?? I've been reading in the string functions but couldn't figure out how this is done? Thanks

Member Avatar for Aia
0
107
Member Avatar for wsn

Hi, I'm trying to make a program that is based on random selections but whenever I run the random function in idle i get an error, can anyone explain to me what I'm doing wrong? >>> randint(1,9) Traceback (most recent call last): File "<pyshell#44>", line 1, in <module> randint(1,3) NameError: …

Member Avatar for jrcagle
0
24
Member Avatar for wsn

Hi, I can't figure out what is wrong with the code after trying to fix it for the last six hours i decided to give, please i need help =( big time I'm trying to make a dynamic array of structures then printing the output of the elements but I …

0
41
Member Avatar for wsn

hello everyone, I'm writing a function traverse for a doubly liked list, I can only use these private members: Node *current , int count, int mutable current_position and one one private member function void set_position(int position) const The post condition of member function traverse is the action specified by function …

Member Avatar for wsn
0
128