Posts
 
Reputation
Joined
Last Seen
Ranked #576
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
43% Quality Score
Upvotes Received
7
Posts with Upvotes
6
Upvoting Members
7
Downvotes Received
10
Posts with Downvotes
8
Downvoting Members
8
9 Commented Posts
0 Endorsements
Ranked #864
~47.7K People Reached
Interests
Geeking...
PC Specs
Intel Core 2 DuoT7520 Processor2.0 GB RAM160 GB HDD8x DVD RW +/-8400 nVidia 128 MB Graphics Card
Favorite Tags
Member Avatar for Duki

Well I just started eating dinner and thought this would be a neat topic. Everyone knows we love to eat while on the computer; two birds, one chair. I'll start it off: Deli Sandwiches, macaroni salad, potato salad and a Pepsi :)

Member Avatar for Dani
22
17K
Member Avatar for devh

In Turbo C , I am using bios.h to send and receive data on serial Port. I am using bios(2, 0, COM1) to receive data.... and bios(1, in, COM1) to send data..where (let int in=65 I am receiveing data from Port but unable to send... I copied code from [url]http://electrosofts.com/serial/[/url] …

Member Avatar for nithinkumar
0
1K
Member Avatar for lara_

i just want to whether there is a replacement for getch() in C++. my friend said getch() is C function. thanks!

Member Avatar for nootan.ghimire_1
0
7K
Member Avatar for jared_masc

Just need help with regards to this part, i'm meant to use scanf() to read a string from keyboard and return number of characters read, so i'm supposed to read a character string. The scan must then terminate at whitespace. A null character is stored at the end of the …

Member Avatar for deceptikon
0
5K
Member Avatar for Aamit

Hi, I have dates like 20130402 (y-m-d i.e 2ndApr13) Dates are 20130402, 20130404, 20130409, 20130412 if date is 20130402 out put is 20130408 , if date is 20130412 output is 201304015 dd="20130402" echo $dd This gives me current dates next monday , date -d "next monday" +%Y%m%d How to find …

Member Avatar for ahamed101
0
86
Member Avatar for abd2

hi, this is the code: #include <stdio.h> main() { int m1, m2, m3, m4, m5, per; printf("Enter marks in five subjects\n"); scanf("%d%d%d%d%d",&m1,&m2,&m3,&m4,&m5); per=(m1+m2+m3+m4+m5)/5; if(per>=60) printf("first division\n"); if((per>=50) && (per<60)) printf("second division\n"); if((per>=40) && (per<50)) printf("third division\n"); if(per<40) printf("fail\n"); } this is the output for: [root@localhost lbin]# gcc -o division division.c …

Member Avatar for kimchong
2
2K
Member Avatar for animefun2

[CODE] #include<stdio.h> #define MAX 4 main() { float A[MAX]; int i; for(i=0;i<MAX;i++) scanf("%f",&A[i]); return 0; } [/CODE] im using Visual C++ and doesnt give me any compilation error it keeps giving me a run time error after i enter the 1st number i can't figure out whats wrong :S help?

Member Avatar for abhishekjha
0
255
Member Avatar for joelogs

we are given the assignment to implement the banker's algorithm in c. this implementation must run in the linux terminal and program must be utilized the os in the time of execution. this means that it must capable on real-time execution with the os. i really don't have any idea …

Member Avatar for jon.kiparsky
0
1K
Member Avatar for The Dude

My best is 71,000 with 97% accuraccy so far! [url]http://www.darktick.com/index.php?game_destination=99&game_name=reflex&username=unknown&game_id=1&SID[/url]

Member Avatar for Kusanagi03
0
180
Member Avatar for SHENGTON

Good day DaniWeb experts. This is my first post here and hope you can help me with my problem. I'm a noob with Borand C++. I see a tutorial here "[url=http://www.dreamincode.net/forums/showtopic37428.htm]Converting and Evaluating Infix, Postfix and Prefix Expressions in C[/url]". I copied the code and run it in my Borland …

Member Avatar for vsiddharthv
0
896
Member Avatar for vladdy19

I'm having trouble running C in eclipse. It first gives me weird syntax errors or tells me that # include <stdio.h> is an "Unresolved inclusion" It also will not let me build, saying "(Cannot run program "make": Launching failed)" Am I missing something? please help. Thanks

Member Avatar for lmpmbernardo
-1
789
Member Avatar for staufa

I've been trying to read characters from the keyboard using 'getchar()' but my code always misses one character. Can anyone tell me why this is [CODE=suntax]#include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char *argv[]) { char string[50]; int i; printf("Enter a string: "); for (i=0; i < strlen(string); …

Member Avatar for cthoes
0
314
Member Avatar for Scuppery

Here are my favorite geek quotes I have a couple of shirts with some of them on. P.S I don’t suggest wearing a shirt with #15 to school if you are still stuck in those rat holes like me. 1. There is no place like 127.0.0.1 2. There are 10 …

Member Avatar for Lardmeister
7
522
Member Avatar for ahamed101

Hi All, Let me explain the problem. I have multiple include files as in class1.inc, class2.inc, class3.inc etc. Contents of an include file will be like class1.inc [code=c] { "john", 12, 68, "steve", 12, 98, "mat", 12, 95, }; [/code] This will basically serve as a static array of structures. …

Member Avatar for gerard4143
2
962
Member Avatar for ahamed101

Hi All, I am trying to write a common function called call which will take in a void* and an int type. Based on the int type it will have access to different structures. The code doesn't compile in the first place. I am not sure this is correct or …

Member Avatar for ahamed101
0
105
Member Avatar for drjay1627

I'm doing a OS class. Trying to implement this pseudo code: * Forking is fun! ­ Simple tips First, fork the child process: pid_t ForkPID; ForkPID = fork(); Then write a quick switch statement! switch (ForkPID) { // ­-1, fork failure case ­-1: printf("Error: Failed to fork.\n"); break; // 0, …

Member Avatar for drjay1627
0
137
Member Avatar for The Dude

[url]http://www.mypce.com[/url] I bet someone out there tries to buy one of these :icon_cheesygrin:

Member Avatar for GrimJack
0
139
Member Avatar for gunjanagrawal

U can find all the program in c.If du u have any query about c plz ask me and also program

Member Avatar for nucleon
-1
183
Member Avatar for thuyh83

I been working on this problem for so long, when I compile, it give me an error message that I misplace else at "else if (a==0 && b==0 && c!=0)" when I remove the else at that line, it mess up my code, it won't display like it suppose to …

Member Avatar for ArkM
0
161
Member Avatar for jodyf1717
Member Avatar for ahamed101
0
79
Member Avatar for vmanes

(this is an oldie, but I don't see that it's been posted here on DaniWeb) 1. Defensive programming? Never! Klingon programs are always on the offense. Yes, offensive programming is what we do best. 2. Specifications are for the weak and timid! 3. This machine is GAGH! I need Quad …

Member Avatar for sneekula
1
207
Member Avatar for Serunson

Hello again fellow Daniweb techys, remember me? Serunson is back, after a very long break i agree, but now he's at uni, and has a job, and is more amazing than ever! So i thought i would come back and join the realms of Daniweb and be part of the …

Member Avatar for jbennet
0
200
Member Avatar for MyRedz

how can this be done? do i have to pointer the database in the structure first to make it able to be use from a text file for some C program ..example.. a measurement converter??

Member Avatar for MyRedz
0
128
Member Avatar for vmanes

The [URL="http://www.flixxy.com/sumsing-turbo-3000-cellphone.htm"]Sumsing Turbo 3000 XL cellphone[/URL]

Member Avatar for ahamed101
3
93
Member Avatar for The Dude

[url=http://www.brauch.com/Photos/Clips/Mouse.mpg][u]Watch and see[/u][/url] :icon_cheesygrin:

Member Avatar for ahamed101
0
51
Member Avatar for ahfan_85

Hi,dear all... Im new to C and to this discussion forum. i hv a problem here,which is an array passing problem. int calAge(]) doesnt work well. i tried to look from the internet for reference but get nothing. can u all help me to check it out?coz im not familiar …

Member Avatar for ahamed101
0
105
Member Avatar for En-Motion

I'm trying to write a program to calculate a bill for a user after they enter in some details. It doesn't allow the user to enter in a value for the 'use code', instead skipping that step. Below is only a rough draft of the program, there's plenty still to …

Member Avatar for WaltP
0
143
Member Avatar for anny**

hi to all it is a circle program not running , giving erorrs on my c language but it is working on my friend computer (c language) here is code ; [ICODE]#include<stdio.h> #include<conio.h> #include<graphics.h> #include<dos.h> int main () { int driver,mode, i; detectgraph(&driver,&mode); initgraph(&driver,&mode,"...\\ bgi"); setcolor(8); for(i=10;i<201;i++) { sound(i); circle(300,200,i); …

Member Avatar for devnar
0
223
Member Avatar for Somersett

My program uses a buffer to store data as entered by the user, so that the size of the buffer depends on them. The first thing that came to mind is that I would reallocate memory each time more storage is needed, but that doesn't seem reasonable as the data …

Member Avatar for Somersett
0
96
Member Avatar for tytelizgal

Hello, Here is my problem: I declare the vector struct in my .h file and then try to access its fields in the .c file. I did declare a variable of type vector. However, I get a compiler error saying that 'vector has no member named' [x] where x is …

Member Avatar for ahamed101
0
90