No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
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 ;
15 Posted Topics
Re: Those from India would probably understand better...hehe... I ate the usual dinner, Dal,bhindi ki sabji and mango pickle + Guava juice. | |
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 … | |
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 … | |
Re: gr88! not able to being use clrscr() was really pissing me off! | |
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++; } … | |
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 … | |
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 … | |
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 … | |
Re: [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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
Re: 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 … |
The End.