Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
32% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
5
Posts with Downvotes
4
Downvoting Members
4
7 Commented Posts
0 Endorsements
Ranked #977
~15.0K People Reached
About Me

Eternally Happy go lucky guy

Interests
Programming
PC Specs
Windows XP
Favorite Forums
Favorite Tags
Member Avatar for AnnA.B

Could you please help me how to create a four in a row game in C? Thanks!

Member Avatar for joao.jose.520
1
1K
Member Avatar for rickylakhay

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. …

Member Avatar for VulcanDesign
0
350
Member Avatar for Dream2code

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 …

Member Avatar for Dan08
0
149
Member Avatar for Dream2code

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

Member Avatar for Dream2code
0
157
Member Avatar for thakur.ravi26
Member Avatar for Dream2code

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)

Member Avatar for yellowSnow
0
1K
Member Avatar for MrNoob

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 …

Member Avatar for MrNoob
0
124
Member Avatar for MrNoob

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 …

Member Avatar for MrNoob
0
169
Member Avatar for MrNoob

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 …

Member Avatar for Dream2code
0
227
Member Avatar for Curgol

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 …

Member Avatar for Curgol
0
2K
Member Avatar for wesduncan

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. // …

Member Avatar for WaltP
0
94
Member Avatar for atreyeepal1

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 …

Member Avatar for Dream2code
0
148
Member Avatar for exia

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 …

Member Avatar for Salem
0
123
Member Avatar for kalodakilla

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 …

Member Avatar for Dave Sinkula
0
123
Member Avatar for samli88
Member Avatar for mvmalderen
0
161
Member Avatar for iPKu

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 …

Member Avatar for bbinesh
0
395
Member Avatar for waqarafridi

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.

Member Avatar for Dream2code
0
333
Member Avatar for yasaswyg
Re: HELP

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 …

Member Avatar for Hiroshe
0
179
Member Avatar for hughesadam_87

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 …

Member Avatar for Hiroshe
0
83
Member Avatar for nicenaidu

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

Member Avatar for Dream2code
0
152
Member Avatar for reggaehista

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 …

Member Avatar for reggaehista
0
127
Member Avatar for vishalkhialani

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 …

Member Avatar for vishalkhialani
0
131
Member Avatar for anuizath2007

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> …

Member Avatar for Dream2code
-3
92
Member Avatar for vijayalakshmisn

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 …

Member Avatar for Dream2code
0
176
Member Avatar for RobBrown

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 …

Member Avatar for Dream2code
0
227
Member Avatar for rcbhat

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 …

Member Avatar for Alibeg
0
510
Member Avatar for MrNoob

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 …

Member Avatar for MrNoob
0
90
Member Avatar for bubblellicious

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) …

Member Avatar for Dream2code
0
96
Member Avatar for StephNicolaou

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 …

Member Avatar for Leo71
0
416
Member Avatar for steel dr@gon

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 …

Member Avatar for Dream2code
0
103