Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
91% Quality Score
Upvotes Received
11
Posts with Upvotes
10
Upvoting Members
10
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
5 Commented Posts
~29.6K People Reached
Interests
ProgrammingTVDay Dreaming
PC Specs
Fedora Core, OpenSuse 11.3, RHELIntel i5,4GB RAM, 360GB HDD, 1GB Graphics
Favorite Tags
Member Avatar for murtazamzk

Hello guys this is an amazing programming that converts entered digit into word.nut i need your help i am only able to do it upto 99. #include<stdio.h> #include<conio.h> void main() { int n,m,j; clrscr(); printf("Enter any number between 1 to 99 : "); scanf("%d",&n); printf("You entered "); if(n>0&&n<=10) goto one; …

Member Avatar for soumava28
0
2K
Member Avatar for sree_ec

Hi Guys, I have a USB disk with ext3 file system created in linux. I want to re format it to FAT16 somehow. I dont have a linux system but have only a windows xp machine. Please help me to do it. Thanks.

Member Avatar for ThomasAnderson
0
256
Member Avatar for sree_ec

Where is the location for temporary files of Firefox in Windows xp. I am asking for latest versions of firefox( 5.0 or higher)

Member Avatar for G_S
0
880
Member Avatar for sree_ec

Hi My network has a proxy server installed. I need to go through that server for internet connection. In my windows xp machine,I get internet connection through IE. But firefox and chrome doesnt work. The IE setting for proxy says, automatically detect the settings. But with the same option for …

Member Avatar for sree_ec
0
122
Member Avatar for kittu.kishore

I have a doubt regarding [B]stack[/B] in c functions... Here is a program which shows an example... [CODE] #include<stdio.h> int display(); main() { int m=display(); printf("m is : %d\n",m); } int display() { printf("1234\n"); return; } [/CODE] outputs: 1234 m is : 5 [CODE] #include<stdio.h> int display(); main() { int …

Member Avatar for N1GHTS
0
219
Member Avatar for dellat

Has the following code any practical utility apart from showing the working of pointers? I got it while learning c in which the tutorial showings the features of pointer. Does a C programmer use this kind of code where a int pointer has been declared first and assigned a value …

Member Avatar for dellat
0
171
Member Avatar for vinujohnpanicke

My source code is being altered by itself after executing once or when a copy of the source code file is made. If i try to execute the source code the 2nd time it wont work. There will be some error as there are some unwanted ASCII characters like rectangle,smiley...etc …

Member Avatar for emilo35
0
122
Member Avatar for l1ttledb

hey all, first post of a beginner coder ;), I keep geting the following error : conflicting types of 'graphic_choice'.. its not a warning so it wont compile. I haven't finished case 7 so that may have some syntax issues. hope this isn't to big of a code block? i …

Member Avatar for sree_ec
0
261
Member Avatar for Benkyou

Hi there, I was wandering if anyone can give me a brief explanation on how to connect my C application to the Internet. What i would like to do in the end is to access a web page trough the application and have means to read the html code behind …

Member Avatar for sree_ec
0
339
Member Avatar for shinsengumi

Can anyone help me improve my source code below? I tried fixing it but apparently, there's not much success. [CODE] #define NUM_THREADS1 1 void *go_to_website2(void *program); void *go_to_website1(void *program) { char* str[3]; str[0] = (char *)program; str[1] = "http://www.google.com"; //supposedly 2nd website to go to str[2] = '\0'; char* new_prog …

Member Avatar for sree_ec
0
891
Member Avatar for onus

I am trying to understand usage of keyword __attribute in C I have checked following two pages [url]http://unixwiz.net/techtips/gnu-c-attributes.html[/url] and this page also [url]http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Function-Attributes.html[/url] but still I could not understand where do I declare them and how I can use __attribute in my program. To test this I wrote a C …

Member Avatar for sree_ec
0
601
Member Avatar for iarkey

[CODE]#include <stdio.h> #include <windows.h> #include <stdlib.h> DWORD WINAPI test_thread(LPVOID lpParam) { printf("thread whiiiii\n"); struct person { char *namee; int agee; }; struct person p = ((struct person)lpParam; printf("%s\n",p.agee); ExitThread(0); } int main() { struct person { char *name; int age; }; DWORD thread; struct person p; p.name = "John Smith"; …

Member Avatar for sree_ec
0
676
Member Avatar for bufospro

Hi, I have a problem with my code in C An error occurs with message : /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crt1.o(.text+0x21): In function `_start': : undefined reference to `main' collect2: ld returned 1 exit status Does anyone know for it ? Thanks a lot

Member Avatar for sree_ec
0
969
Member Avatar for atramposch

I wrote a short piece of code to give me a .dat file for use in another program. But i cant figure out what is wrong. I run on a mac, and use Xcode. [CODE]#include <stdio.h> #define ARRAYSIZE 1500 #define BINDATA "file://localhost/Users/Hub/Desktop/231A4binData.dat" int main (void) { int i; double dblData[ARRAYSIZE]; …

Member Avatar for Ancient Dragon
0
161
Member Avatar for Perry31

Hi, Can anyone explain in detail what is the difference between int *a and int* a? Is there any difference between them?

Member Avatar for Ancient Dragon
0
78
Member Avatar for onus

On this link [url]http://lxr.ncu.cc/source/kernel/timer.c#094[/url] a return type is defined [CODE] return ((unsigned int)(unsigned long)base & TBASE_DEFERRABLE_FLAG); [/CODE] What is the above function returning.I am not clear with definition of what is being returned in the above code.

Member Avatar for onus
0
158
Member Avatar for george_82

Hi All, Can somebody explain what is the difference between (char*) and (char**). I am just looking for an explanation of in byte level. Also please refer any documents related to this. Thanks

Member Avatar for sree_ec
0
86
Member Avatar for AspiringGuru

I absolutely hate hate hate hate HATE to be doing this, because I've figured out every other program I've done relatively alone with my C Book. I'm writing a program that declares an array of structs, each with a name and age field. The data is read from a file …

Member Avatar for sree_ec
0
90
Member Avatar for muramasa007

Basically I've finished my code for the most part and I'm having trouble figuring out how to initialize loan, mort_gage, and downpayment. Is it possible to use a pointer for each of these and call the address back to main? I'm so confused...it's just one of those little things that's …

Member Avatar for muramasa007
0
130
Member Avatar for ana_1234

I have to: Run the grades program twice, so that it accepts the data in the files t1 and t2 as input for the two respective runs. I ran the grades program, it asked me to enter digits, I have the t1 and t2 files, how do I make the …

Member Avatar for sree_ec
0
155
Member Avatar for jothi lakshmi
Member Avatar for sree_ec

I have spent some time in C forum already but I forgot to introduce myself here since I was concentrating more on solving my C issues at first... I am Sreejith Education : Graduate in Communication Engineering Working in Television domain My OS Flavour is OpenSuse 11.3 Why I am …

Member Avatar for WASDted
0
68
Member Avatar for MarounMaroun

Hello all, I have this struct: [CODE=c] typedef struct cell { char _name[2]; int _calcResult; int _depend[MAX_CELLS]; } Cell; [/CODE] and this is my main: [CODE=c] int main(int argc, char* argv[]) { FILE *fp; int i; fp=fopen(argv[1], "r"); Cell Cells[MAX_CELLS]; fillNames(fp,Cells); for(i=0;i<4;i++) printf("%s\n", Cells[i]->_name); } [/CODE] [CODE] static void fillNames(FILE* …

Member Avatar for sree_ec
0
141
Member Avatar for bufospro

Hi all, I am trying to make a program but I have a problem. So I can't continue. I am using a struct like that : [CODE]typedef struct account { char fullname[40]; int id; int amount; char name[15]; } account; typedef struct parking_system { int pos; char name[15]; char description[80]; …

Member Avatar for dgreene1210
0
148
Member Avatar for aplh_ucsc

hey guys! I need to know how to use pthreads with mutex to protect the critical section!!

Member Avatar for aplh_ucsc
0
69
Member Avatar for SpyrosMet

Hi everyone. i have an issue with a server program i'm developing for a university project. The issue is the following: The server program i'm building uses shared memory and forks. However i have a problem as to how can i destroy the shared memory segments i've created. A simplified …

Member Avatar for SpyrosMet
0
197
Member Avatar for yuri1969

My func looks like: [CODE]int pop(node **hd, char **new_element) { node *dummy; int i = 0; if (empty(*hd) == 1) { printf("Stack is empty"); return -1; } else { (*new_element)[i] = (*hd)->element[i]; // problem is here ;) dummy = *hd; *hd = (*hd)->next; free(dummy); }[/CODE] and I call it via: …

Member Avatar for yuri1969
0
122
Member Avatar for gahhon

[CODE] if(Student[i].regNo.campus == "KUALA LUMPUR") Student[i].regNo.campus = 'W'; else if(Student[i].regNo.campus == "PERAK") Student[i].regNo.campus = 'a'; else if(Student[i].regNo.campus == "PENANG") Student[i].regNo.campus = 'b'; else if(Student[i].regNo.campus == "JOHOR") Student[i].regNo.campus = 'c'; else if(Student[i].regNo.campus == "PAHANG") Student[i].regNo.campus = 'd'; else if(Student[i].regNo.campus == "SABAH") Student[i].regNo.campus = 'e'; [/CODE] i got alot of warning message …

Member Avatar for gahhon
0
146
Member Avatar for myk45

Hello. Well, for creating linked lists, i always use 2 pointers: one for beginning and one for the end of the list. Is this OK? Or am i required to have just a single pointer pointing to the beginning of the list and then traverse everytime i need to insert? …

Member Avatar for Schol-R-LEA
0
113
Member Avatar for duanz_88

can you help me to answer this problem... A high building has 26 floors with the level 0 and the level 25 as the lowest and the highest level, respectively. It has a lift for transport the occupant to the level destination. The lift moves up and down in respect …

Member Avatar for sree_ec
0
2K