451 Posted Topics

Member Avatar for turbopok
Member Avatar for Narue
0
176
Member Avatar for ndeniche

this is an awesome game!!!! my god... i fried my brains thinking in the anwers to these amazing riddles... i got until level 26... then got banned for cheating... haha

Member Avatar for ndeniche
0
195
Member Avatar for Thinka

nonetheless, i found out that clock() works different depending on which compiler you are working... 4 example... in dev c++, i measured clock measured 1/1000... but turbo c++ measured 1/20... the thing is... i don't know why...

Member Avatar for Narue
0
1K
Member Avatar for ndeniche

while i was trying to enter "everything and anything" in the geeks' lounge, my explorer crashed several times, so i gave up trying to enter this thread... is there any special reason for this to happen?

Member Avatar for MidiMagic
0
60
Member Avatar for tformed

why don't you better use cin and cout? either way, it would be like this: [inlinecode]scanf("%s",&word);[/inlinecode]

Member Avatar for tformed
0
135
Member Avatar for dcc

i hate it when those jerks do that... our president buyed a private luxury jet with OUR money...

Member Avatar for jbennet
0
183
Member Avatar for The Dude

that stuff there is now in cartoon network... even my little sister that is 4 y/o can do better cartoons than those... now, if we're talking about adult cartoons (the simpsons, family guy, southpark) tjose are pretty cool...

Member Avatar for ndeniche
0
75
Member Avatar for Matt Tacular

what about doing it with a struct? this way every array is independent from the other, so you can create an array of structs... now, what i would find complicated is instructing the structs the size of the array of ints... maybe creating an int variable in the struct that …

Member Avatar for Narue
0
86
Member Avatar for Dave Sinkula

thank god i'm safe from HAS... or is it also dangerous for ppl alien to USA?

Member Avatar for joshSCH
0
76
Member Avatar for lotsofsloths

first of all, the first warning (the one that says about double and int) means that you are initializin an integer (whole number) with values of a double number (a number with decimal points and extreme accuracy)... so, you should initialize your variable as a float or double...

Member Avatar for ndeniche
0
155
Member Avatar for Elfshadow
Member Avatar for The Dude

then why in the world everyone interpreted humpty dumpty was an egg? actually, ebing a cannon makes perfect sense... :P

Member Avatar for EnderX
1
320
Member Avatar for Lutzee

[code=c]#include<iostream> using namespace std; int qsrt(int array[], int first, int last){ int over = 0; over = first-last; int g=0; if(over==0){ return 0; }int c=0; int start = first; int end = last; int pivot = array[first]; int temp =0; while(first != last){ while((array[last]>pivot)&&(first != last)){ last--; }while((array[first]<pivot)&&(first != last)){ …

Member Avatar for ndeniche
0
97
Member Avatar for bondi007

i actually run vista with 1 gig, and i'm expecting my pc to die someday soon... i think it was a bad idea installing vista on a computer this old... (about 2 years)... i've already reached its maximum capacity... though somewhere out there i read that vista has a new …

Member Avatar for bondi007
0
100
Member Avatar for christina>you

but the best waters i've ever seen are the ones surrounding sorrento, Italy... All the way from the coast to the island, it's sooo nice... I had a hard time voting i the poll... since i love traveling, but i also love going to water parks... and even more amusement …

Member Avatar for sk8ndestroy14
1
209
Member Avatar for alembic21

there are two things you could do to help those who want to help you... first of all, wrap your text in code tags[[B]code=c[/B]][[B]/code[/B]]... second, try using a title that suggests what your problem is next time...

Member Avatar for ndeniche
0
135
Member Avatar for joesmithf1

first, you should try reading [URL="http://www.daniweb.com/techtalkforums/thread78223.html"]this[/URL] and [URL="http://www.daniweb.com/techtalkforums/announcement8-3.html"]this[/URL]. that way it will be easier to read your code...

Member Avatar for ndeniche
0
59
Member Avatar for Dani

It is a little difficult to get 2 NY from Central America... it would be really fun though... unless someone wants to donate a flight to NY and backwards... :P

Member Avatar for Qwazil
0
1K
Member Avatar for linux
Member Avatar for Dani

Actually, i've never used colors, and i've managed to survive... and it's pretty annoying reading text in various colors... it is actually a hedache (literally) reading something with too many font variations... i'd rather read a text that uses just [B]bold [/B]and [I]italic[/I] text than reading underlined, colored text... so …

Member Avatar for Dani
0
845
Member Avatar for snickers6226

first of all, you shouldn't name your thread with than name... maybe that way, other members would know what is your problem...

Member Avatar for Salem
0
94
Member Avatar for ndeniche

[U][B]Dear poster:[/B][/U] we don't actually have any issues with answering your doubts/questions or solving your problems, but it would be very time saving for us (problem solvers) if you could please mark your threads as solved when your problem has been solved, since, when you don't do that, we read …

Member Avatar for ndeniche
0
504
Member Avatar for alisonlynn

>> I think Paris Hilton should be in jail for the rest of her life What have people in jail done to you so you want to punish them in that way?

Member Avatar for christina>you
1
60
Member Avatar for mathgirl

why not better do it less complicated:[code=c] for (i=0;i<=5;i++){ do{ cout<<"Enter grade "<<i<<" on a scale from 0.0 to 4.0: "; cin>>grade[i]; }while ((grade[i]<0.00)||(grade[i]>4.00)); } [/code]

Member Avatar for ndeniche
0
116
Member Avatar for squinx22

i thought a rule for posting was not using titles such as this one... and... could you plz mark it as solved when your question is answered?

Member Avatar for ndeniche
0
93
Member Avatar for caltiger

besides, you should consider: -- using the right type of variable, meaning, if yyou need to use decimal values in your program, if they're not too big, consider using [B]float[/B] rather than [B]double[/B]... -- (where you can) using pointers instead of arrays, since it uses less memory -- being specific …

Member Avatar for Narue
0
191
Member Avatar for ndeniche

i've gone through some threads from people asking for help that have posts from these users saying things such as [quote]still the program doesn't do what i want it to do[/quote]This is why i would like to say to all users: [B]When we post solutions to your questions, most of …

Member Avatar for nkhosinathie
1
288
Member Avatar for krishu

[quote=krishu] Respected Sirs/madam... Your' S Obediently Krishu[/quote] awww... come on... there's no need to do that... by the way... i thought titles should lead the readers towards what the thread is about... [quote=Narue] Asking for answers to be sent to you is against the rules.[/quote]Why does anyone read the rules??

Member Avatar for Narue
0
93
Member Avatar for laconstantine

first of all... i think it is very clear in the rules for posting that you shouldn't name your thread with names such as "help", or things like that... second, think yourself as memory as a huge shelf,a pretty huge shelf, where you save information in bit sized boxes... when …

Member Avatar for Narue
0
298
Member Avatar for stol3n
Member Avatar for ebmusicman
0
123
Member Avatar for generalGOTCHA
Member Avatar for ndeniche
Member Avatar for ndeniche

does someone know of anywhere i can find tutorials 4 VB 6? I'm on vacation, so i have plenty of time to hang around, and i would love to learn VB the way it's suposed, since at college i had a teacher that was a total jerk, so... plz someone …

Member Avatar for sk8ndestroy14
0
96
Member Avatar for grunge man

[quote] o icic thanks um but what i was really wondering how does that work in the loop it kinda hard for me 2 picture it[/quote] i don't wanna be rude or whatever... but this is just the lamest way to waste our time... you should want to read the …

Member Avatar for grunge man
0
176
Member Avatar for Shad0wHawk

why not better work it out an even more simple way... get your string's length and create an array of characters as long as the string, which will substitute your string in the rest of the program. This way you can compare your guess individually with each element in the …

Member Avatar for Shad0wHawk
0
348
Member Avatar for generalGOTCHA

whenever you wish to print or store code that is recognized as system code (meaning it will not be printed) such as quotes in a printf or cout, or things like that, you must include a "\" before the code... i.e.: [code]\" \\ \% [/code] etc...

Member Avatar for generalGOTCHA
0
102
Member Avatar for student86

though, yo have not solved out what AD said... there's a lot of function in your inventory class that you should better use as general functions...

Member Avatar for student86
0
153
Member Avatar for PeeJay

if(strchr(sentence, *letter[j]) != NULL) { ++num[*letter[j]]; printf("'%c' was found in \"%s\" %d times. \n",*letter[j], sentence, num[j]); you are not using any counter to know how many letters you have. You should create a variable that will count how many times this process is true.

Member Avatar for Nick Evan
0
302
Member Avatar for Ali Shahzad
Member Avatar for Narue
0
121
Member Avatar for jenymaru08

i will take my guess, and say you have low or no experience at all with c++... so... here's the deal... when you develop a switch, you write the code you want the program to run through in every case, and after every case, you write a [B]break[/B];, which will …

Member Avatar for ndeniche
1
131
Member Avatar for lol_hacker101

by the way... isn't it a rule to avoid posting your thread with names such as "Help" or things like that? Instead you should post threads with a title that sort of describes your problem

Member Avatar for linux
-1
141
Member Avatar for jhdobbins

i have to create a perent/children process in c++... is there any way to do it as in c?

Member Avatar for ndeniche
0
310
Member Avatar for naya22

this way: [code=c] int N; cout<<"Please input n"; cin>>N; for(j=0;j<N;j++){ temp=temp+temp+1) }for(i=temp;i<n;i++){ i=i+i+1; cout>>num; } [/code] hope u don't mind i used ur code jimmymerchant... but that's the way it will work with an user input...

Member Avatar for ndeniche
0
112
Member Avatar for lionburn50

there's another solution a bit more complicated than the one from salem (wich is pretty simple, nonetheless pretty accurate to your question), but i'd rather create a temporary array, transer the files from [B]array1[size] [/B]into [B]array2[size],[/B] delete [B]array1[size][/B], create (again) [B]array1[size-1][/B], and transfer again all information, but the element you …

Member Avatar for ndeniche
0
254
Member Avatar for mcole50

why don't u better use a CHAR as a centinel? like this: [code]char ans; do{ (program) printf("Do you wish to enter another temperature?"); scanf("%c",&ans); }while ((ans=='y')||(ans=='Y')); [/code]

Member Avatar for ndeniche
0
146
Member Avatar for monkeyhead

when you use the library stdlib for the input/output commands, and you need to print decimals, you need to be careful on printing (as AD says) %1f or %2f (to display hundredths), instead of %d, since in %d it only displays whole values, not partial ones.

Member Avatar for ndeniche
0
110
Member Avatar for RossSCann
Member Avatar for kylcrow

First of all... what is the value you are telling the function to return? The third message means you cannot put a void function to be returned as an int function, so that's why you cannot tell the program to return "cout "

Member Avatar for iamthwee
0
99
Member Avatar for rollingstones
Member Avatar for rollingstones
0
125
Member Avatar for Escom

what you need to use is a for(), since it is better because you can instruct the cycle to do the procedure as many times as you want. Like this: double x,multiplication=1; //create a second variable so you won't lose your x value for (int i=0;i<n;i++){ multiplication=multiplication*x; //multiply your x …

Member Avatar for Escom
0
175

The End.