5,676 Posted Topics

Member Avatar for valtikz

[QUOTE=valtikz;891535]thanks arkM, but what do you mean not defined? [/QUOTE] Where is the method [ICODE]SipDialogPublish()[/ICODE] defined in the class? You are calling it, so what is it supposed to do? [QUOTE=valtikz;891535]can I know how to define it?[/QUOTE] That depends on what it's supposed to do and what parameters are necessary …

Member Avatar for WaltP
0
343
Member Avatar for themaster

[QUOTE=jephthah;888250] I am always ready to answer your question, but not until you get a modern compiler that isnt gimped[/quote] Then stop replying posts you have no intention of of adding [B]constructive[/B] responses to! [B]Adatapost[/B], you do not have to use a [B]jephthah[/B]-approved compiler.

Member Avatar for Ancient Dragon
0
293
Member Avatar for seemant_sun

In other words, test text/binary on your system and write your code accordingly. And that test is so much faster than posting on a forum and waiting 4 days, 3.5 hours for the only really definitive answer you've received so far. :icon_wink:

Member Avatar for seemant_sun
0
484
Member Avatar for star34

[QUOTE=star34;889065] what else am I missing, thanks for the help[/QUOTE] Code tags --AGAIN!!!! It seems that with the warning above, and the information posted all over this site about CODE tags, like 1) in [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies]the Rules[/url] you were asked to read when you registered 2) in the text at the …

Member Avatar for NeoKyrgyz
0
114
Member Avatar for animefun2

Load 19 random values. If a 0 is generated during these 19 values, remember that fact. For the 20th value, if a 0 was not generated, load a 0, otherwise get one more random number.

Member Avatar for seemant_sun
0
196
Member Avatar for samir_ibrahim

Unfortunately, most new users leave out the most important information and just say "help me" leaving us to guess what they need help in. At least the way it is currently, we have a minor clue.

Member Avatar for samir_ibrahim
0
288
Member Avatar for AbsoluteCPP

Or just give them the [b].h[/b] and [B].obj[/B] files. Others can link those in with their code. [B].obj[/B]s are the output from the compiler and used as input to the linker.

Member Avatar for WaltP
0
101
Member Avatar for MidiMagic

Although not a solution for Daniweb, there's a program called [url=indev.no]Flashmute[/url] that works quite well. It will filter all sounds from the internet while allowing local sounds to the speaker. This program works everywhere. Now as I surf, I don't get talking ads, background music, and automatic videos interrupting the …

Member Avatar for MidiMagic
0
206
Member Avatar for Benkyou

Loop through the buffer byte by byte and send each byte to a function that outputs the binary value of the parameter. Look up boolean operators & | << >> for this function.

Member Avatar for Benkyou
0
120
Member Avatar for clutchkiller
Member Avatar for bitki_1407

[quote=antonybls;273217]Since you declared the variables as integers, you could convert the string values to integer by using cInt function. try like this num1 = cint(txt1.text) num2 = cint(txt2.text) num3 = cint(txt3.text) num4 = cint(txt4.text) avg = cint(cint(num1 + num2 + num3 + num4) / 4) this should work without any …

Member Avatar for lordofhell
0
4K
Member Avatar for anydam

Consider this loop: [code=c] for (i = 0; i < 5000; i++) { sprintf(ifile, "file%04d.dat", i); sprintf(ofile, "output%04d.dat", i); //process the files } [/code] Look up the pieces of this code to understand what is happening.

Member Avatar for jephthah
0
6K
Member Avatar for Rickenbacker360

Also, your [INLINECODE]coinToss()[/INLINECODE] function needs to be formatted properly. It'll only take you 30 seconds... ;)

Member Avatar for Somegamer
0
465
Member Avatar for Sune

[QUOTE=Sune;870009]... what the difference is between [I]condition[/I] and [I]expression[/I] in these statements? [/QUOTE] None. The [I]condition[/I] simply evaluates to a TRUE/FALSE. [I]Expression[/I] is a statement that will evaluate to a TRUE/FALSE. In the context of these loop definitions, they are interchangeable, and probably 'conditional expression' is more accurate. [edit]Wow, a …

Member Avatar for e.shankar87
0
228
Member Avatar for utkarsh sharma

Are you building the programs as Windows application or console app? I've had no trouble with BGI on XP when built for console.

Member Avatar for WaltP
1
172
Member Avatar for waldchr

Read my post again, that is NOT what I told you to do. I'll bet this statement was all Greek to him:- implements a thin wrapper, say myRunner() round say CreateProcess() What he means is call CreateProcess() to start the program you want to run without the console window.

Member Avatar for waldchr
0
213
Member Avatar for gdreisen

Why are you guys still trying to help someone who posted [QUOTE=gdreisen;864938]Beautiful. Thank you so much![/QUOTE] He got his answer!

Member Avatar for dmachop
0
126
Member Avatar for rizillion

Saving keystrokes is the worst reason. That way you get statements like [ICODE]x1=-b+(sqrt((b*b)-(4*a*c))/(2*a));[/ICODE] rather than [ICODE]x1 = -b + ( sqrt( (b*b) - (4*a*c) ) / (2*a) );[/ICODE] and are prone to make parenthetical mistakes at the very least and write other indecipherable code. AAMOF I find it faster to …

Member Avatar for tux4life
0
204
Member Avatar for FlamingClaw

Actually, FC did not bump a really old thead. [B]NetworkExpert[/B] did. He just tried to help out what he saw was a [I]current[/I] thread.

Member Avatar for FlamingClaw
0
114
Member Avatar for dev565

[QUOTE=dev565;870001]I'm developing in c++ but yet need to use FILE * from c [/quote] Why? [QUOTE=dev565;870001] 1) What if my line is over 1024 chars????????? how should I fix my code to handle that situstion[/quote] If there is no '\n' at the end of the buffer you only got part …

Member Avatar for Ancient Dragon
0
942
Member Avatar for saw iv

We are not a homework writing service. Read the rules and start over.

Member Avatar for WaltP
-2
78
Member Avatar for jtltgl

[QUOTE=ArkM;869729]>i hope i did tag right on code posted. Alas, correct tags are: [noparse][code=cplusplus] source [/code][/noparse][/QUOTE] But you did get the CODE tags correct. The [ICODE]cplusplus[/ICODE] part [I]is[/I] optional. Also, the [icode]PREVIEW[/icode] button would show you if the tags are correct.

Member Avatar for jtltgl
0
132
Member Avatar for losh177

[QUOTE=losh177;869592]How would i clear the buffer? Can i use the call cin.ignore('/n')? [/QUOTE] Did you try it? What happened?

Member Avatar for tux4life
0
164
Member Avatar for lolguy
Member Avatar for Aelphaeis

[QUOTE=dmachop;867708]Yes, I admit that there are a lot of loopholes in the program given but it solves the purpose for alphaeis............[/QUOTE] But what we like to do here is [I]help[/I] them solve their own problems, not hand them a solution. After all, [I]you[/I] don't get their grade. Therefore, it doesn't …

Member Avatar for Narue
0
294
Member Avatar for gretty

[QUOTE=gretty;868468]Thanks for the advice so far but it stll doesn't seem to be working. I have tried the code in the previous post & that doesn't work. --- This code here I made should terminate whenever it finds a number in Array A that does not occur in Array B …

Member Avatar for siddhant3s
0
4K
Member Avatar for anga08628

Is there something about CODE tags you don't understand? If not, you can either ask or read those words on the back of the input box for information. The project states "[I]Test it with a main program that takes as input an integer count followed by that many values[/I]." Where …

Member Avatar for payara111
0
171
Member Avatar for Sky Diploma

[QUOTE=Sky Diploma;865962]So any improvements ?[/QUOTE] Yes. Stop using TABs to indent. Set your editor to use 4 SPACEs when the TAB key is pressed. As for exiting, you can exit when ENTER is pressed all by itself. And about Ctrl+C, look it up.

Member Avatar for tux4life
0
329
Member Avatar for ulisse0

[QUOTE=ulisse0;863857]I just double-click on the executable or I run it from VS if I have just modified some line..[/QUOTE] Those two ways will generally give different results. Give us more data and we can give you a complete answer.

Member Avatar for ArkM
0
506
Member Avatar for FlamingClaw
Member Avatar for jephthah

[QUOTE=jephthah;863288]i'm just wondering, "where's the love?"[/QUOTE] Good question. And from the person that posted: [list] [*]i thought you were leaving anyhow? dont let the door hit you in the ass on the way out. [*]well, hell, i dont care really. [*]...but i dont know WTF the OP is saying. [*]well, …

Member Avatar for jephthah
0
108
Member Avatar for meistrizy

You didn't tell us the most important thing about your program. What is happening to make you think it's weird?

Member Avatar for meistrizy
0
128
Member Avatar for Xlphos

[QUOTE=Xlphos;854267]Hi I have just been looking at the tutorial section and noticed their is very little there. [/QUOTE] [RANT] What is it about [I]there/their/they're[/I] that no one seems to know that the words are not interchangeable! Are the definitions that ambiguous? [/RANT] :icon_rolleyes:

Member Avatar for Dani
0
395
Member Avatar for WaltP

For some reason on my new laptop I can't seem to turn off that annoying BEEP when I change the speaker volume. I got everything else turned off but this beep seems to be bypassing the "Sounds and Audio Devices" properties. Any ideas?

Member Avatar for FlamingClaw
0
177
Member Avatar for schaffino

[B]Problem 1:[/B][code] Add 14 to days. If days > days-per-month set days to days - days-per-month increment month [/code] This is the idea, which isn't complete. You can flesh it out. [B]Problem 2:[/B] First output the number of elements in the structure (active people/books). 1 integer. Then set up a …

Member Avatar for schaffino
0
109
Member Avatar for CoolAtt

Narue, Because [icode]fgets()[/icode] reads a line up to the \n and loads everything up to the RETURN, isn't it simply a matter of testing the last character in the buffer with \n and if it isn't, they entered more than the requested data? Simple use of [icode]strlen()[/icode] and a test?

Member Avatar for Aia
0
5K
Member Avatar for xponse

[url=http://bdn.borland.com/article/21751]Turbo 1.01[/url] [url=http://bdn.borland.com/article/20841]Turbo 2.01[/url]

Member Avatar for ~s.o.s~
2
458
Member Avatar for moiron

After reading in the password call functions to test each individual rule. Don't try to test all things in one function, or ghod forbid right after the read.

Member Avatar for dmachop
0
175
Member Avatar for Sam-J

[QUOTE=Sam-J;863235]... but the problem is that when my data get bigger(i.e. more than 100 words) my program does a partial sorting on'em and it does not print the file in the end at all.. and i think it gets into an infinite loop cuz it does not end successfully [/quote] …

Member Avatar for WaltP
0
407
Member Avatar for kailisr

[QUOTE=siddhant3s;863624]The God has sent me to say "C++ compiler is not a pocket calculator."[/QUOTE] Then why did he package the computer with the program [B]calc.exe[/B]? It seems he [I]does[/I] -- if you have a pocket big enough! :icon_twisted:

Member Avatar for WaltP
0
146
Member Avatar for naheesa

[QUOTE=siddhant3s;864093]You must have missed the 'OR' part of the post #3. [/QUOTE] You must have missed the smiley to show you were kidding. Reread post #3 through the eyes of an extremely new (albeit lazy) student. What's it say to you [I]then[/I]?

Member Avatar for siddhant3s
0
150
Member Avatar for luvsom
Member Avatar for Toila

[QUOTE=bunnyboy;863083]For what I know, those to are equal...? char *a = "aeiou"; char a[] = "aeiou"; [/QUOTE] In general terms, yes, they are [I]equivalent[/I]. [ICODE]*a[/ICODE] is a pointer that points to the string [ICODE]a[][/ICODE] is an array, and [ICODE]a[/ICODE] itself is the address to the string -- effectively a pointer. …

Member Avatar for WaltP
0
2K
Member Avatar for BlackStar
Member Avatar for boujibabe

The closest thing I can figure out is 1) you need to use consitant indenting so someone can actually follow the code easier 2) [I]quit[/I] is never set to [B]1[/B] followed by [INLINECODE]break[/INLINECODE]ing out of the inner endless loop.

Member Avatar for jephthah
0
201
Member Avatar for nicolap

[QUOTE=siddhant3s;859843]>>Dear NathanOliver, your code is working perfectly after changing.............. It may be working on your implementation but the code is in a state of undefined behavior.[/quote] How so? [QUOTE=siddhant3s;859843]>>Edit:: Some additional information on if (test != input) as 'input' is a double >>and 'test' is an integer, 'test' will be …

Member Avatar for vmanes
0
209
Member Avatar for U_A_G

You need to define some arrays first. Then we might be able to help you. You also need to [url=http://www.gidnetwork.com/b-38.html]format your code[/url] so we can follow the code. Don't instructors teach proper formatting techniques these days?

Member Avatar for VernonDozier
0
129
Member Avatar for Sky Diploma

[QUOTE=VernonDozier;860206]If you are asking about ways you can improve it, if you look at [URL="http://www.cplusplus.com/reference/clibrary/cstdlib/itoa/"]itoa[/URL], it needs to be able to handle negative numbers and it needs to be able to handle different bases: [code] char * itoa ( int value, char * str, [COLOR="Red"]int base[/COLOR] );[/code][/QUOTE] Agree with negative, …

Member Avatar for Sky Diploma
0
550
Member Avatar for zaratul

Can't read the darn thing! Did you bother to read any of the requested information posted all over this site about CODE tags, like 1) in [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies]the Rules[/url] you were asked to read when you registered 2) in the text at the top of this forum 3) in the announcement …

Member Avatar for WaltP
0
62
Member Avatar for Lexter25

[QUOTE=tux4life;859047]If you really want to use a loop do something like this: [/QUOTE] Your first and second examples are just as broken as most other loops using [ICODE].eof()[/ICODE]. But if you combine the two: [code] string x; infile>>x; do { /* your other instructions here */ infile>>x; } while (!infile.eof() …

Member Avatar for WaltP
0
289

The End.