- Strength to Increase Rep
- +14
- Strength to Decrease Rep
- -3
- Upvotes Received
- 718
- Posts with Upvotes
- 480
- Upvoting Members
- 124
- Downvotes Received
- 173
- Posts with Downvotes
- 138
- Downvoting Members
- 63
bovinoscatologist
- Interests
- throwing stones
- PC Specs
- i has a flavor?
Re: Is everyone familiar with this game? Just reply with the first word that comes to your mind when you think of the last word posted. You can't respond to the post with a comment, just the word that comes to your mind. It can only be a word or a … | |
Re: 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 :) | |
Re: Once harm has been done, even a fool understands it. -- Homer | |
Re: Can someone please tell me how to send data from my program to excel. I have a loop which is iteratively printing values to the console: [code=c]printf("16 Bit:\n\n"); for (n=0;n<numberOfValues;n++){ printf("%.4x\n",rand16()); }[/code] but i need to send them to excel for analysis!! Please help | |
Re: Hi everyone, Today i have a question about how can i write one code for all shapes like, ****** ***** **** *** ** * or other shapes like square or tringle. I want to know the difference in every code. Thanks alot. | |
Re: i just bought a microsoft wireless keyboard and the question mark and coma are both È how do i swap it back to the english version of the keyboard. its driving me insane not being able to use question marks. thanks | |
Re: This is a picture game where you post the most funny picture you know. I'll start:[IMG]http://img73.imageshack.us/img73/6923/kamikazewatermelon4ng.png[/IMG]:cheesy: | |
Re: Hi everyone I need help with something i get this error fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\navideeah\desktop\maplestoryserver\maplestoryserver\mapleisland.cpp(350)' was matched and i get the error around here [code=cplusplus] void NPCsScripts::npc_22000(NPC* npc){ int state = npc->getState(); int map = npc->getPlayerMap(); if(npc->getPlayerMap() == … | |
too many new and intermediate users of C attempt to use the command [icode]fflush(stdin)[/icode] to "flush the input buffer". this is patently wrong. the rule is (and click if you don't believe me) : [URL="http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1052863818&id=1043284351"]NEVER [/URL][URL="http://answers.yahoo.com/question/index?qid=20071013052534AAuxWmW"]USE [/URL][URL="http://www.gidnetwork.com/b-57.html"]"FFLUSH()"[/URL] [URL="http://www.linuxforums.org/forum/linux-programming-scripting/41287-problem-fflush-stdin-function.html"]ON [/URL][URL="http://www.it.usyd.edu.au/~dasymond/mirror/c-faq/stdio/gets_flush2.html"]INPUT [/URL][URL="http://www.cplusplus.com/forum/general/6554/"]STREAMS [/URL][URL="http://c-faq.com/stdio/stdinflush.html"]SUCH [/URL][URL="http://gcc.gnu.org/ml/gcc-help/2009-01/msg00287.html"]AS [/URL][URL="http://www.dreamincode.net/forums/showtopic45833.htm"]"STDIN" [/URL] here is one method of properly … | |
Re: Hey, I need to compile and link two C files together...what should i do to the files in order to be able to compile them as the following: [Code] gcc file1.c main.c [/Code] and then run using ./a.out... Can anyone tell me the steps please...thank you.. | |
Re: As all of you can tell from the title, I need help understanding how to communicate to a USB port. Basically I need to send some bits to a usb micro controller and to do so I need to understand how you do it in C for both a Windows … | |
Re: Hi, I m Nagarjuna.I m doin my Masters in Computer Science at Indian Institute of Technology, Kharagpur. My thesis is on VANET security. I m doin a simulation using GloMoSim software. I want to broadcast messages/packets to all nodes(within the transmission range). As far as I ve understood the GloMoSim … | |
Re: a simple program to find out the permutations of all the letters in the word ex: abc gives abc acb bac bca cba cab[code]void swap(char *p,char *q){ char c; c=*p; *p=*q; *q=c; } void perm(char *a,int m,int n) { if(m==n){ for(int i=0;i<=n;i++) cout<<a[i]; } else { for(int j=n;j<=m;j++) { swap(a[j],a[n]); … | |
Re: Hello people, I have this C programming assignment which I have no time to do as my Uni workload is too large. The assignment should take, if you are an experienced C programmer, no longer then an hour. I am willing to pay $30/£20 for anyone to help me. If … | |
Re: Hey there, please help me how to solve this problem. I need to find my CPU temperature in C code on Linux for my new program. Can anyone tell me??? | |
Re: Plz..guys i want to know is there any function that can give ASCII value of character? and do i need to use any header file to use that function | |
Re: Hey guys! It's been a long time since I visited daniweb,but I need some help understanding something.A friend of mine gave me problem to solve, but the assignment is strange,I can't seem to find the actually meaning of what I need to generate as an answer.Here goes: By a given … | |
Re: The mini-supermarket already has a list of product names and their corresponding type (soap, oil, milk, cheese, etc….) included in it initially. The user menu displays the following operations: (Hint: Use the function gets to read an array of characters including spaces) - Insert a product (name, type) - Display … | |
Re: [code] #include<stdio.h> #include<conio.h> #include<string.h> void main() { char str[80],temp[80],word[20]; int i,j=0,c=0; gets(str); gets(word); strcat(str," "); for(i=0;str[i]!='\0';i++) { if(str[i]!=' ') { temp[j]=str[i]; j++; } else { temp[j]='\0'; if(strcmp(temp,word)==0) c++; } } printf("%d",c); getch(); } [/code] now my problem is that it is counting only the first word.. what's wrong with the … | |
Re: can anyone explain me the all precison and exponent, significant bits which double can handle ? i am not getting it. wiki says it has 53 bits significant bits and 11 exponent. am a little bit confused. can anyone explain me ? (in their own way) thanks alot. although i … | |
Re: is there any way one could do a square root program without sqrt or pwr functions? Any tips? I am not asking for code btw.:) | |
Re: Hello. I am trying to find out how to write a function to replace a string in a text file. So far i got this: find -> is a word i am looking for replace, rep -> new word, f1 -> my file. And i'm stuck with that piece of … | |
Re: Hi, wt is the function that can use to count number of digits in a long integer? e.g. 12345678 -> 8 11 ->2 456 -> 3 6724 -> 4 | |
Re: Could you please help me how to create a four in a row game in C? Thanks! | |
Re: 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 … | |
Re: After much searching I cannot find a particular way to get a datafile into my structure. I understand how to create and manipulate the structure. C does not play nicely with strings is another thing I have noticed. I have tried many examples of how to do this but none … | |
| |
Re: Hello, Can anybody help me in this program. [B]Write a C program to find the square root of a given number?[/B] I can understand only C and please i need answer in C only. In this question i should not use function and i have to write a code for … | |
|