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.0K People Reached
About Me

I am keen on programming and web development. Besides, I passionately follow Indian cricket. Other than that, like any other guy, I am definitely attracted to the female human species :)

Interests
programming, tech blogs, cricket, photoshop, designing, photography, books.
PC Specs
Core 2 Duo, 2 gig ram, 40 GB hard disk, no graphics card yet ;
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
13K
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
219
Member Avatar for eagleeye
Member Avatar for ankit_the_hawk
0
308
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
102
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
86
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
131
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
264
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
940
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
152
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
124
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
155
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
116
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
60
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
125

The End.