1,088 Posted Topics

Member Avatar for Dani

[quote=)BIG"B"Affleck;9043]Este sitio es muy caliente! Tiene mucho informacion para los techies muy frios! Translation [B]This place is very warm! It has very much information for the very cold techies![/B][/quote] Can't help it!. Correction: "Tiene mucha"

Member Avatar for maravich12
0
566
Member Avatar for richie2021
Member Avatar for Dave Sinkula

For sure I will ask my doctor for it, even when my insurance will only pay for generic brand.

Member Avatar for joshSCH
0
76
Member Avatar for justlukeyou

>some use one eighth the energy of normal light bulbs and can be kept on for fifty years straight without blowing out. Darn. I want some of those. Where do you get them?

Member Avatar for joshSCH
0
355
Member Avatar for jlb_2_99

The first one will not compile because of these: the printf statements need to have a ; at the end. And the scanf statements need to be changed with the proper declared arrays. Instead of first needs to be str1 and instead of last needs to be str2. When you …

Member Avatar for John A
0
129
Member Avatar for The Dude

>There are people who would probably blaim Bush for Christ's second coming. I'll say more like his crucifixion and death.

Member Avatar for Dave Sinkula
0
228
Member Avatar for Elfshadow

>Is this the right way to use fgets when its for non file input. Yup. And if you use sizeof instead of the literal array size, you can change at any time how big userinput can be, and still work.

Member Avatar for WaltP
0
112
Member Avatar for christina>you
Member Avatar for sk8ndestroy14
1
209
Member Avatar for jbennet

>Not sure where europe would fit in, unless maybe [URL="http://www.starwars.com/databank/character/palpatine/"]Palpatine[/URL] No, I'll say more like [URL="http://www.starwars.com/databank/character/amidala/"]Padme Amidala[/URL], that gets used and then disposed.

Member Avatar for jbennet
0
636
Member Avatar for christina>you

[quote=christina>you;372864] I wouldn't doubt for a second that Kim Jung Il would go to war with us if we ever crossed his path.[/quote] Haven't we cross his path yet?.

Member Avatar for jbennet
0
1K
Member Avatar for christina>you

Ancient Dragon. I seem to recall that you mentioned once that you came to the world of programming being fairly mature. I am not as old, but old enough to think that schooling might not be a solution. Is there any hope for a hobbyist like me, to someday get …

Member Avatar for christina>you
0
806
Member Avatar for mike.mclennan

[quote=Squires;378200]I personally have nothing against macs or linux [/quote] That's wonderful since I am sure they don't have any thing against you neither. [quote=Squires;378200] IMO, there is no definitive answer to the Os debate.[/quote] It seems a pretty much worthless cause for you to post then.

Member Avatar for joshSCH
0
427
Member Avatar for aznstyles408

>and also why it wasn't working the way I had it at first? Did you include <stdlib.h> and <time.h>, the first time?. Most like you missed <stdlib.h> if I were going to guess. Take the srand() function out of the getCard(). Call srand( (unsigned) time( NULL ) ) inside main() …

Member Avatar for Aia
0
168
Member Avatar for Kenya19
Member Avatar for stymiee
1
319
Member Avatar for EnderX

A little example of using what it has been said so far. Sorry, the proper c tagging is not working at this time. [code]#include <stdio.h> #include <ctype.h> int getinteger( int *result ) { int send = 0; char ch; char buffer [ 13 ] = { '\0' }; if( fgets( …

Member Avatar for Aia
0
156
Member Avatar for christina>you

This is better that a soap opera on TV. Now I have a new game with this thread. I go down the thread and every time I see someone with a good rep or a bad one, before I check what's the comment on it, I try to guess who …

Member Avatar for Narue
3
892
Member Avatar for Confused612

Confused612, it would be fun to help you in your code. However you need to post what you have done so far in your assigment. See [URL="http://www.daniweb.com/techtalkforums/announcement118-2.html"]here[/URL] is a cool page that will help you in that regard. And just so you know, it is frowned upon making double posting.

Member Avatar for Aia
0
3K
Member Avatar for happygeek

[quote=happygeek;367619] So you [B]will [/B]get to be scared by the big ugly tattooed brute that is happygeek :)[/quote] You better be really ugly, if not I'm going to be disappointed now. Fame and beauty. That would be too much for me. ;)

Member Avatar for ~s.o.s~
10
282
Member Avatar for mike.mclennan
Member Avatar for Aia

I posted a snippet of code in the c programming forum and like always I used the [code=C] tagging form, however the code did not show properly. Here's a snap-shot of that particular occasion.

Member Avatar for joshSCH
0
140
Member Avatar for Serunson

[quote=Serunson;372037]Just had my braces off today, so well happy bout that! Anyone here have/had braces? I now have to wear silly plastic 'retainers' to keep them in place.........i could be wearing them for up to 2 YEARS?!?!?! What fun for me...........[/quote] you must be looking forward to a whole-full life …

Member Avatar for ~s.o.s~
1
319
Member Avatar for jlb_2_99

Take a look at these 2 snippets for reading floats without using scanf() [URL="http://www.daniweb.com/code/snippet358.html"]snippet one[/URL] and [URL="http://www.daniweb.com/code/snippet597.html"]snippet two[/URL].

Member Avatar for ~s.o.s~
0
94
Member Avatar for Qwazil
Member Avatar for Qwazil
0
88
Member Avatar for The Dude

Sons of @#$!s. I wonder if any one got their car driving plate. I'm sure many think is all fun.

Member Avatar for lasher511
0
209
Member Avatar for The Dude
Member Avatar for m.s

Compiler errors are compounded. The first error creates another and another, and so on. For example: I see that you use a variable named c a few lines below main, but you never declared that variable. p and q suffers the same problem. Fix those and things start looking better. …

Member Avatar for m.s
0
199
Member Avatar for dcc
Member Avatar for sofianos

[quote=sofianos;371234] [COLOR=green] [/COLOR][COLOR=green]#define Tax 0.19 [/COLOR][/quote] It is customary to use all-upper case when you define a constant [quote=sofianos;371234] [COLOR=green][B]struct[/B][/COLOR][COLOR=green] products_array { [/COLOR][COLOR=green][B]char[/B][/COLOR][COLOR=green] Code[[/COLOR][COLOR=green]3[/COLOR][COLOR=green]]; [/COLOR][COLOR=green][B]char[/B][/COLOR][COLOR=green] description[[/COLOR][COLOR=green]20[/COLOR][COLOR=green]]; [/COLOR][COLOR=green][B]int[/B][/COLOR][COLOR=green] available_stock; [/COLOR][COLOR=green][B]float[/B][/COLOR][COLOR=green] price_per_item; [/COLOR][COLOR=green][B]float[/B][/COLOR][COLOR=green] Tax; [/COLOR][COLOR=green][B]float[/B][/COLOR][COLOR=green] total_price_per_item; } [/COLOR][COLOR=green][B]struct[/B][/COLOR][COLOR=green] products_array products; [/COLOR][/quote] You need to add a ";" at the end of the …

Member Avatar for Aia
0
135
Member Avatar for The Dude

>In fact in several countries that's what convicts are used for, China for example. Where did you learn that fact?.

Member Avatar for jbennet
1
431
Member Avatar for Dani

[quote=cscgal;366470] So how am I not listening to feedback?[/quote] Why don't we let the poll show the results, and then use it as a form of democracy. Instead of imposing our personal preference, let's just agree to let mayority rule and accept the result.

Member Avatar for Dani
0
846
Member Avatar for johngalt

Dev-C++ doesn't have a problem compiling it. [COLOR=green][COLOR=green]void main[/COLOR][/COLOR] should be [COLOR=green]int main( void ) [/COLOR] Also I don't understand why you didn't prototyped the function as you declared. long transformaclave( const char* cl) long transformaclave( const char c[ ]); It appears to me that your compiler doesn't like that.

Member Avatar for Ancient Dragon
0
96
Member Avatar for pavani2006

Just one of many ways of doing it: [code=C]/* * isPalindrome.c * */ #include <stdio.h> #include <ctype.h> int isPalindrome( char *str, int length ) { if ( length < 1 ) { return 1; /* no more chars to compare, its a palindrome */ } if ( str[0] == str[length-1] …

Member Avatar for ~s.o.s~
0
542
Member Avatar for Aia

When I click in my avatar at the right side, a new page appears with some information concerning a "Member Certificate". How do you use that?. Specially the part about forums. I don't have a web page.

Member Avatar for Dani
0
88
Member Avatar for IwalkAlone

[code=C]#include<stdio.h> void reverse(char *ptr, char ch, int length) { if(length != 0) { reverse(ptr, *(ptr+(strlen(ptr))-length ), (length -1)); *(ptr+length) = ch; } } int main(void) { char string[40]; printf("Enter string\n"); gets(string); reverse(string,*string,strlen(string) - 1); printf("%s",string); getchar(); return 0; }[/code]

Member Avatar for ~s.o.s~
0
143
Member Avatar for matias.germany

Do you see how nice is the code that [B]iamthwee[/B] posted for you?. With nice format and easy to read indenting?. [B] iamthwee [/B]is not the only one that can do that. You can do it too. Learn how to tag by clicking [URL="http://www.daniweb.com/techtalkforums/announcement118-3.html"]here.[/URL]

Member Avatar for WaltP
0
105
Member Avatar for socom(psp)
Member Avatar for mathgirl

>while(grade[i] < 0.0 || grade[i] > 4.0) Change to while( grade[i] < 0.0 && grade[i] > 4.0)

Member Avatar for ndeniche
0
116
Member Avatar for Kiba Ookami
Member Avatar for parthiban

[quote=parthiban;365794]Hi all, I just started to work C++ in Dev C++ compiler before that i used Turbo C++ compiler when i try to compile a simple program in Dev C++ compiler . I'm getting error . Here's the program [code]#include <iostream> #include <conio.h> int main () { cout << "Hello …

Member Avatar for parthiban
0
683
Member Avatar for sk8ndestroy14
Member Avatar for sk8ndestroy14
0
165
Member Avatar for The Dude

My soon to be four year old watched this video with me. As it ended he said to me. Do it again. Meaning play it again. And he watched quite. It just made me think.

Member Avatar for christina>you
4
255
Member Avatar for nkhosinathie

[quote=nkhosinathie;364546]i'm writing a pseudocode for a program that ask a user to enter a data and the program should forced the user to enter a required information.using a for loop. the program is like this. women between the following agea 20.20-30,32 above men between the ages 20,20-30 and 32 above …

Member Avatar for Aia
0
135
Member Avatar for sofianos

[quote=sofianos;364907][COLOR=black] im confused[/COLOR] what to write in the case 3 and 4..... [/quote] I, also, would be confused with that kind of indenting and spacing of your code. To start read [URL="http://www.daniweb.com/techtalkforums/announcement8-3.html"]here[/URL] about proper tagging of the code you post.

Member Avatar for Infarction
0
155
Member Avatar for emr

Your question will be answer shortly. In the meanwhile please do read this short [URL="http://www.daniweb.com/techtalkforums/announcement8-3.html"]guide[/URL] on how to tag your code properly.

Member Avatar for Aia
0
70
Member Avatar for EnderX
Member Avatar for Aia
0
336
Member Avatar for AWDracer
Member Avatar for satyanarayanam
Member Avatar for vijayan121
0
134
Member Avatar for Covinus

[quote=mariocatch;364049]not sure why you're asking this... it wont make a difference whether or not we think you did a good job.[/quote] Maybe he just need a little TLC.

Member Avatar for ~s.o.s~
0
150
Member Avatar for jaepi
Member Avatar for ~s.o.s~
0
9K
Member Avatar for Aia

God Reveals DNA Secrets For many years molecular biologists have been mystified by the fact that very little of an organism's DNA seems to serve any useful function. Last night God revealed the mystery by posting the code on a warez site. I am just posting the first segment of …

Member Avatar for Aia
-1
512

The End.