Posts
 
Reputation
Joined
Last Seen
Ranked #863
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
85% Quality Score
Upvotes Received
7
Posts with Upvotes
4
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
1 Endorsement
Ranked #856
Ranked #2K
~10.4K People Reached
Interests
Travel, books, music, movies, environmental conservation, meditation, and of course, C programming!
PC Specs
Arch Linux
Favorite Tags
Member Avatar for alamu

please give the program for sorting a linked list without affecting the original value

Member Avatar for 4rajgopal
0
1K
Member Avatar for _avishek

At work, I recently had an MBTI test done, and I came out as the INFP type. It seems to be a good indicator to my personality type, and offers some insight into the decision that I make. INFP personalities are associated more with ideals, music, and writing, but not …

Member Avatar for jwenting
0
271
Member Avatar for vegaseat

The recent flood of "technical problems" with computers at Delta Airlines, the New York Stock Exchange, the Wall Street Journal etc. make me wonder if we have become too dependent on these machines? Are they maintained by less and less competent people? Has the complexity exceeded human comprehension?

Member Avatar for Reverend Jim
0
668
Member Avatar for ovimanyrobin

Hi i am Robin from Bangladesh. I am a student of CSE(Computer Science Engineering). My dream is want to Job in Google thats why good and best programming is need to know for that. But i will never to try for best code typing like as lazy or sleepy. I …

Member Avatar for David W
0
132
Member Avatar for Dee Wa Kar

WAP in C to check if the input number is positive or negative. The program should display positive if the number is 'positive', otherwise it should display 'negative'. Your program must also ask the user how many numbers he/she would like to enter as well before he starts entering value. …

Member Avatar for AndrisP
0
105
Member Avatar for LastMitch

Hi I don't have a favorite Artist or Band I listen to **Bryan Adams, U2, Bonjovi, Toad the Wet Sprocket, Gin Blossoms, Snow Patrol and Linkin Park.** Sometimes If I have a bad day. I usually listen to a song that make me calm and focus again. I listen to …

Member Avatar for GrimJack
0
577
Member Avatar for Hyperion101

Hey guys, Here's what I have to do: *Write a program that displays the table of Fahrenheit - Celsius temperatures. The formula is : C = (5/9) (F-32) C - Celsius, F- Fahrenheit The range should be: 0 - 200, where as the step should be set to 20. The …

Member Avatar for Hyperion101
0
648
Member Avatar for ax33m144

Using C-Programming nested for() loops, write a program that displays all possible combinations of a 6 bit binary number. **Sample Run: 000000, 000001, 000010, 000011, ...........111110, 111111** Can anybody please help me in solving this question?

Member Avatar for I_m_rude
0
2K
Member Avatar for jayram.chandan

#include <stdio.h> #include <stdlib.h> long i,j,k,*ni,qi,a,*arr,n,q,p,no,c=0,m,max=0; int main() { ni = malloc(sizeof(long) * 100000); arr=malloc(sizeof(long)*10000); scanf("%ld",&no); for(i=1;i<=no;i++) { scanf("%ld %ld",&n,&qi); for(j=1;j<=n;j++) { scanf("%ld",&ni[j]); } for(k=1;k<=qi;k++) { scanf("%ld %ld %ld",&a,&p,&q); while(p<=q) { arr[++c]=ni[p++]^a; } for(m=1;m<=c;m++) { if(arr[m]>max) { max=arr[m]; } } printf("\n%ld",max); max=0; c=0; } } return 0; } Bold Text …

Member Avatar for jayram.chandan
-1
234
Member Avatar for under_dog

Hello! how can i view the source code of my distro? i mean, do we need that if we were to create a new system call? btw, i'm using centos 5.6 thank you in advance

Member Avatar for rubberman
0
92
Member Avatar for Tani111

Hey to veryone! First of all I want to ask sory about this but I have two prob: 1- Don't speak (& write) good english; 2- My Laptop Asus A3H Celeron M 380 with 768 MB of RAM doesn't start (can hear working byt the screen is allways black, because …

Member Avatar for PhilEaton
1
154
Member Avatar for jhonhiel.abasolosasaban

i cant run my program even my directories are correct.......!! my flashdrive is in (F;) then in my directories are: Include Directories F:\TC\INCLUDE\ Library Directories F:\TC\LIB what will i do.....??

Member Avatar for np complete
0
101
Member Avatar for DaveTran

I have two classes. One main Game class and an Entity class that needs to point to the Game class so it can call its various functions # Entity.h # class Game; class Entity { public: Entity(Game *game); ~Entity(void); void Draw(float dt); void Update(float dt); protected: Game *m_game; // Missing …

Member Avatar for JasonHippy
0
402
Member Avatar for ronnel09

Is main(); function included as loop statement? for example i have a program with subprograms then if I finished a subprogram i will use main(); function to go back from the main program. is that considered as loop? thanks!!

Member Avatar for _avishek
0
102
Member Avatar for gAb1

Hi, first i need to download a good compiler, what can you recommend me? I always used dev-c++ but in windows 8 don't work, it gives this error: "gcc.exe: Internal error: Aborted (program collect2)". Well, i need to get content from json files to make a sql sentence, insert into. …

Member Avatar for _avishek
0
197
Member Avatar for Shashank clic

** # is it possible to creat threads in c-programming? # ** ## Sub-Heading Here ## yes,then how? no, then why not?

Member Avatar for nmaillet
0
108
Member Avatar for Gaiety

I have some strange problem which i started facing from yesterday. i have used GDB many times on my system , but yesterday when i started running GDB , my dubugger is enterings the library functions code part also which is very irritating for me. I mean if the program …

Member Avatar for _avishek
0
636
Member Avatar for billionair

I'm trying to make a C program to run DOS commands but I keep getting "illegal command" error. Here's the code. #include<stdio.h> #include<process.h> int main() { system("ipconfig/all"); return 0; }

Member Avatar for Ancient Dragon
0
773
Member Avatar for garima.nanda.50

Hi friends, I want to built a website in php but i am totaly confused. plz do help me..want it to be perfect..!!

Member Avatar for JameB
-1
169
Member Avatar for pilly

I keep getting an error when compiling an SDL program I'm working on. I get the "'screen' was not declared in this scope" error, even though I'm pretty sure it's declared in 'globals.h'. globals.h #ifndef GLOBALS_H_INCLUDED #define GLOBALS_H_INCLUDED #include "gui.h" #include "player.h" #include "SDL.h" #include "timer.h" #include <stdlib.h> #include <string> …

Member Avatar for _avishek
0
451
Member Avatar for chai1234
Member Avatar for mrnutty

The Step Forward The path that I have taken in life seems to be the path that many follow. Although weird at first, this path seems to lead to the same end goal for each and every one of us, which is to find happiness, whatever that may be. Let’s …

Member Avatar for _avishek
0
216
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> int fact(int); int main() { int n,total=1,i; printf("enter the series limit: "); scanf("%d",&n); total=total+n; for(i=2;i<=n;i+=2) { total=total+(pow(n,i)\fact(i)); } printf("%d",total); return 0; } int fact(int c) { int j=1; int facto=1; for(j=1;j<=c;j++) { facto=facto*j; } return facto; } my output should be like this 1+n+n*n\2!+n*n*n*n\4! the error …

Member Avatar for _avishek
0
97
Member Avatar for _avishek

My understanding of the C language is that the same identifier cannot be reused. However, the code below compiles on GCC without complaints, even when using the "-Wall -pedantic" flags. Is there something that I am missing? Does the standard say anything about functions/macros having the same name as typedef'd …

Member Avatar for _avishek
0
227
Member Avatar for ronnel09

How can i do scanf's in just one line? because example first i will input a number then i will press enter then the cursor will go to the next line. how can i maintain the cursor in just one line? thank you

Member Avatar for deceptikon
0
222
Member Avatar for shanki himanshu

int i; float *pf; pf = (float *)&i; *pf = 100.00; printf("\n %d", i);

Member Avatar for _avishek
-1
116
Member Avatar for chandnigandhi
Member Avatar for np complete
0
172
Member Avatar for tkdlady

I have the following code in some source I am looking at but I have never seen it before. Can someone tell me what it means? The code snippet is below: [CODE] [B]#define SET_EXPIRE(sa, delta, exp){[/B] [B]if[/B](((sa)->ipsa_ [B]## delta) != 0){[/B] (sa)->ipsa_ [B]## exp = sadb_add_time((sa)->ipsa_addtime,[/B] (sa)->ipsa_ [B]## delta);[/B] [/CODE] …

Member Avatar for tkdlady
0
169
Member Avatar for _avishek

Hello, world! This is my first post on DaniWeb, though I have frequented it quite often. I'm using gcc and make (on Ubuntu 10.10) with GVim for creating a foundation library in C. Within my code I've built in rudimentary profiling and assertion policies that are enabled through a symbolic …

Member Avatar for _avishek
0
578