- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 5
- Posts with Downvotes
- 4
- Downvoting Members
- 4
Eternally Happy go lucky guy
- Interests
- Programming
- PC Specs
- Windows XP
Re:
Could you please help me how to create a four in a row game in C? Thanks! |
|
Re:
hi guys. i seem to be having a problem using ms dos. now manually i know how to connect to a network and upload files onto a server. im struggling to create a shell script that will automatically detect when an internet connection is present and then connect to it. … |
|
Hi All, 1)I want to watch a directiory in unix using a shell script. 2)In case any change happens to any of the files inside that e.g new file creation or new directory creation or any file modification we need an automated mail. 3)Mailing part i will take care 4)on … |
|
In which path gcc resides in IBM AIX.Due to some change change in my .profile the path variable got changed now i am not able to get the path of gcc. please help me |
|
Can any one suggest me how to read EBCDIC Files (which generally comes form mainframe systems) using C. EBCDIC:Extended Binary Coded Decimal Interchangable Code (not sure about the full form) |
|
Re:
hello i have last problem with strings i dunno whats wrong with this i dont get sometimes the logic coz when i write the program i do it into smaller stuff but this rlly string stuff drive me insane i hope i m gonna master it in the end anyways … |
|
Re:
Hey its me again i dunno this string stuff gonna drive me insane really been doing since yesterday exercises on string did half of them but i have this program which should remove chars that i specify and when i test with putchar it does remove them but The string … |
|
Re:
Hello i m suppose to make a function that fetch the strings according to num and it will stop when num is finished or it encounter , or ' ' or newline i made the function but its acting weird as if there is a \0 placed in [code] #include … |
|
Re:
Well as the title ... example: [code] string ss="this is an encrytpion program"; unsigned char temp[32]; //={0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09,0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f}; temp=ss //that's what i need ! [/code] Have converted the string to it's hex representation .. [code] char string1[64]="yeah … |
|
Re:
Okay first post here, and I'm running into a problem. What I would like to do is read in files and have the user enter in the measurement they're looking for. This is what I have so far. [code=c]// switch.cpp : Defines the entry point for the console application. // … |
|
Re:
i'm tying 2 describe my problem here.plz solve it for me.. 1. generate a random number b2in 0 and 1 (r); 2. do t=r*2.5 ; 3. do w= t/100 4. keep track of all t1,t2,t3.... in an array and do the sum S=(t1+t2+t3......) ; 5. repeat steps 1,2,3,4, till S<100 … |
|
Re:
Hi, I am learning C as a hobby. Was looking at a textbook that I got at the fair. They talking about basic types etc and have the following code: char ch; int i; i = 321; ch = i; printf("ch=%d\n",ch); so what I did was to compile it to … |
|
Re:
Hi, I'm doing an assignment which throws an error when meeting division-by-zero error using Signals in C library signal.h and let user input another 2 numbers, if no error just continue letting user input 2 numbers and print out quotient of them. Here is my attempt: [code=c] #include <stdio.h> #include … |
|
Re:
How would u determine the end of a word using pointers? |
|
Re:
Hello! I'm having an problem.. while compiling one of the sources. ERROR = Error 5 error LNK2019: unresolved external symbol "int __stdcall WSPConnect(unsigned int,struct sockaddr const *,int,struct _WSABUF *,struct _WSABUF *,struct _QualityOfService *,struct _QualityOfService *,int *)" (?WSPConnect@@YGHIPBUsockaddr@@HPAU_WSABUF@@1PAU_QualityOfService@@2PAH@Z) referenced in function _WSPStartup@76 spi.obj ifslsp Thank You for your help. [CODE=c]int WSPAPI … |
|
Re:
Can some body tell me how to take SHA-1 of a given string in C. I am using ubuntu 9.04 with kernel 2.6.30. |
|
Re:
Im stuck with my project. I have no idea how to begin this project. I need to write a function that shuffles say for example a deck of cards. which is represented by an array of 52 elements. Every element in the array is a structure for one card like … |
|
Re:
Hey all, I'm new to C and trying to pick up good habits before I get too routed in my ways. Essentially, I have a code which runs a mathematical test on an array, and depending on the percent error, it decides to continue iterating or stop. Essentially, I have … |
|
Re:
Hi All, Can somebody post me the logic to find all the occurences of a "substring" in a big string. The function strstr() gives the only first match. Thanks Mahesh |
|
Re:
i dont know if this is wright so help me please...thnks for advance inside my inventory.ini 000001,hamburger,30.50 000002,cheeseburger,21.00 100001,frenchfries,21.00 200001,icedtea,17.00 try to run it.. [code] #include <stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> #define ERROR -1 #define OK 0 #define TRUE 1 #define FALSE 0 /* error codes */ #define ERR_INVALID 1 #define … |
|
Re:
Hi, I am about to do a c project for my college term. My main aim is to spend my time and make a really useful software not just another project. I would like the community to give their ideas on something which I can make and develop and spend … |
|
Re:
does anyone know how todisplay the following using a for loop in my program question:if n=5 where n is the ht of the pattern [code] ********* **** **** *** *** ** ** * *[/code] if n=4 [code] ******* *** *** ** ** * *[/code] SOLUTION I TRIED OUT IS [code=c]#include<stdio.h> … |
|
Re:
a.h ------------------ this is one file This contains the following information inside the .h file /*add/root/temp/private/addsolutions.c/*/ int vehicle(int a,int b); int car(int a,int b); My request: I need to read the a.h file uearch for the addsolutions.c which is a header file search in the whole project directory and open … |
|
Re:
Hello, I am new to c and up until now i have understood it pretty well. I am having a difficulty writing a program that lists the characters in a phrase entered into the program. I think my problem is with the loops and maybe some variable declarations. None of … |
|
Re:
I have the following code, [code=C] main() { char *p="abc"; int x; x=++*p++; printf("%d",x); } [/code] My question is, when I try to do x=++*p++, the program crashes. If my associativity rules are right, first the address pointed to by p should be incremented by the postfix (p++) and then … |
|
Re:
hello i m given a question in book i m reading that i copy element but using ptr to copy and other choice will be using normal integers to copy i did normal integer but copy i think i got a problem with it [code] #include <stdio.h> int copyarr(const int … |
|
Re:
Hi there! I was just wondering how could I modify the strstr function in order to calculate the distance between the two strings. Supposing that we have the following code: [code=c]char * str_find (buf, sub) register char *buf; register char *sub; { register char *bp; register char *sp; if (!*sub) … |
|
Re:
Hi everyone, I'm new to C and have been given a C program to complete but found it includes many versions of the titled error for each class file. Can anyone please explain why it occurs and how I could get rid of them? Thanks, Cleo [code] q2.c:5: error: expected … |
|
Re:
hy guyz... since i'm new to this forum i just want to say hello to you all... anyway, back to business. my teacher in my CS class gave me and my group an activity to work on. and since i'm the leader of the group, i was tasked to evaluate … |