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.

~33.9K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags

15 Posted Topics

Member Avatar for Duki

Those from India would probably understand better...hehe... I ate the usual dinner, Dal,bhindi ki sabji and mango pickle + Guava juice.

Member Avatar for Dani
22
17K
Member Avatar for ankit_the_hawk

I have been experiencing problems in using the gets() command in C. Whenever I use it twice followed by scanf for eg: [code] char name[20],add[20]; printf("Enter name : "); gets(name); printf("Enter address :"); gets(add); printf("Enter age :"); scanf("%d",age); [/code] Here it skips name.(doesnot take input of name!) It doesnot input …

Member Avatar for thisun
0
14K
Member Avatar for ankit_the_hawk

Hello every1 I was making this program of a phone directory to store contacts and all their information in C. I made use of structure and then copied the data of the structure to a file. the structure is [code] struct phdata { char name[20],add[20]; int phno; }ph[20]; [/code] the …

Member Avatar for aqtel003
0
233
Member Avatar for eagleeye

gr88! not able to being use clrscr() was really pissing me off!

Member Avatar for ankit_the_hawk
0
326
Member Avatar for ankit_the_hawk

I have been trying to concatenate two strings declared in the form of pointers i.e. [CODE] char* chars; [/CODE] But the program crashes... Here is the code: [CODE] char *chars1="ankit"; char *chars2="sameer"; char *temp; int i; for(i=0;i<len;i++) { temp[i] = chars1[i]; } for(int j=0;j<len2;j++) { temp[i] = chars2[j]; i++; } …

Member Avatar for Ancient Dragon
0
106
Member Avatar for ankit_the_hawk

Hi everyone, I was trying to setup MySql with Cygwin so that i can create and work on databases using my Windows OS. After gruesome hours of googling, I am still confused as to how to do that. I first downloaded the installer for MySql on windows. I also downloaded …

Member Avatar for space1000
0
89
Member Avatar for ankit_the_hawk

I am starting to develop a calculator in C++ which accepts the expression in the form: 2+3 or 2/3 ,etc. ( for the time being, only two operands and one operator) Once i get that done, I will begin the process of continuely expanding it :) The problem I am …

Member Avatar for TimeFractal
0
137
Member Avatar for ankit_the_hawk

I am having a problem in sorting by name. for eg: if given two names Sameer and Sean, I want to print Sameer and not Sean. It needs to check character by character. I have to extend this to a greater no. of names but I need to get the …

Member Avatar for lakshmi.1987
0
269
Member Avatar for sbenware

[QUOTE=joeprogrammer;308208] The best way to do this is to create a string array containing the names of the foods. Then reference it with the number, like this: [code]foodItem.name[i][/code] Or you could use an enum instead of a number: [code]foodItem.name[meat][/code] Hope this helps[/QUOTE] I think this is definitely the method to …

Member Avatar for Dave Sinkula
0
950
Member Avatar for ankit_the_hawk

I was starting off with making the game " Cows and Bulls". And to start off i am having a problem in inputting the 4 digit number in a mannar that it appears in form of "*" on the screen. similar to a password. And each digit should be separately …

Member Avatar for Nick Evan
0
159
Member Avatar for ankit_the_hawk

How can i include graphics in my C program which is compiled in windows compiler like Dev-c++? I was wondering whether it was possible to make the game "SNAKE" in C [B]without[/B] using commands like [INLINECODE]gotoxy[/INLINECODE] But a few moments later I realised that it was practically impossible to make …

Member Avatar for vegaseat
0
132
Member Avatar for ankit_the_hawk

I am going to start off with Java, already knowing C/C++ So i needed to know which compiler should i download for the purpose of programming on Java ( for the Windows platform). (which consists of the editor, compiler,etc.) I need something i can download from the internet like Dev …

Member Avatar for aniseed
0
162
Member Avatar for ankit_the_hawk

I wanted you people's point of view on this project I made in C++ sometime back...I would be glad to recieve comments from anyone and everyone...Pls do check it out...So that I can know the quality of my project

Member Avatar for ankit_the_hawk
0
121
Member Avatar for ankit_the_hawk

I have this mouse which is causing me lots of problems from quite some time. It has a scroller in the middle. Whenever I scroll using the scroller, It keeps scrolling either back and forth and randomly irrespective of the direction in which i am scrolling. For eg: When i …

0
66
Member Avatar for cusado

why dont u use getc and putc instead of fgets , the code would be so much less complicated [code=c] #define INFILE "config.txt" #include <stdio.h> #include <string.h> void main() { char ch; FILE *fin; fin = fopen(INFILE, "r"); do { ch=getc(fin); if(ch!=':') { printf("%c",ch); } else { printf("\n"); } }while …

Member Avatar for Lerner
0
129

The End.