- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 7
- Posts with Upvotes
- 4
- Upvoting Members
- 7
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
- Interests
- Travel, books, music, movies, environmental conservation, meditation, and of course, C programming!
- PC Specs
- Arch Linux
Re:
please give the program for sorting a linked list without affecting the original value |
|
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 … |
|
Re:
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? |
|
Re:
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 … |
|
Re:
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. … |
|
|
Re:
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 … |
Re:
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 … |
|
Re:
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? |
|
Re:
#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 … |
|
Re:
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 |
|
Re:
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 … |
|
Re:
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.....?? |
|
Re:
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 … |
|
Re:
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!! |
|
Re:
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. … |
|
Re:
** # is it possible to creat threads in c-programming? # ** ## Sub-Heading Here ## yes,then how? no, then why not? |
|
Re:
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 … |
|
Re:
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; } |
|
Re:
Hi friends, I want to built a website in php but i am totaly confused. plz do help me..want it to be perfect..!! |
|
Re:
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> … |
|
Re:
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 … |
|
Re:
#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 … |
|
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 … |
|
Re:
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 |
|
Re:
int i; float *pf; pf = (float *)&i; *pf = 100.00; printf("\n %d", i); |
|
Re:
please suggest me topics for mini project in c programming. |
|
Re:
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] … |
|
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 … |