868 Posted Topics
Re: Although I am contributing to an off-topic here... I read somewhere that females like Sims because it is about relationship building which they are usually good at (although they tend to break those relationships once in a while :P). Sims is more like the digital dollhouse for them. Men well … | |
Re: [quote=~s.o.s~;271030]Only when you want to reply to a post which has quoted some other post, the button gets used. Like: Now try to multi quote my post and it will happen Hope it helped, bye.[/quote] No. What you are explaining is nested quotes. The explaination below is the correct one. … | |
![]() | Re: [URL]http://www.daniweb.com/techtalkforums/thread60229.html[/URL] |
Re: Why are you using the strcpy function? These are C++ strings. Use the = operator. [code]thisRecord.[COLOR=#202020]fieldName[/COLOR] =next[/code] | |
Re: Comment out section by section and locate which part gives that error. After that post it here. Since we don't have the input files, we can't reproduce the error here. The file is also too long for us to wade through all the code. | |
Re: What Dragon said. Since I did the corrections anyway, here they are. [LIST] [*]Remember not to use eof to test if the file hasnt finished reading. [*]Remember to initialize arrays or any variable if you are not sure that you will be inputting values. [*]Because your delimiter is a character … | |
Re: Is this related to C++ only or OOP in general? Because if it is in the general sense, I think this thread is much suited to the Computer Science and Software Design Forum. | |
Re: You play the double game when you do not, "say what you do, and do what you say". | |
Re: Why don't you read the documentation for Sleep() ???? | |
Re: [URL="http://www.daniweb.com/techtalkforums/member1964.html"]WOMBAT[/URL]:cheesy: | |
Re: [URL="http://www.daniweb.com/techtalkforums/thread56821.html"]Here[/URL] is what happens when you get Bad rep, and now imagine if it was not annonymous. :mrgreen: ![]() | |
![]() | Re: Looks like your project doesn't have a main function in any of the source files. |
![]() | Re: Thank god for that last part for us males. :cheesy: |
Re: [quote=DMR;273530]Eek- it's post #7,000! My, how the time flies........ :mrgreen:[/quote] Apparently horn blowing is infectious. :cheesy: | |
Re: [quote=snedan;274279]so i just cant figure how to check: "if the counter divides the number evenly;"[/quote] Something like [CODE] if ( intNumb % intDivider == 0 && (intNumb/intDivider)%2 == 0) { // intNumb is divided by intDivider evenly } [/CODE] I hope I got the meaning of dividing evenly correctly. | |
Re: Didn't the dll come with some kind of documentation? | |
Re: [quote=confused!;273514]I've been working on it for hours and have gotten it down to one syntax error [/quote] Next time, please give the syntax error. If you had learnt to properly indent your code, you wouldn't have got this error. Here is the corrected code. [code=c]#include <iostream> #include <string> using namespace … | |
Re: Move the class declaration of TicTacToe from the TicTacToe.cpp file to the TicTacToe.h file. Also in the TicTacToe.cpp file add a [code=c]#include "TicTacToe.h"[/code] line. Delete the [code=c]TicTacToe();[/code] line from the TicTacToe.h file also. | |
Re: [quote=JRM;274013]hello all,[/quote] Hello :) [quote=JRM;274013] what's causing this?[/quote] Most probably you have selected a Windows GUI application instead of a Windows Console Application. A console application starts from a main function, and a GUI applications starts from a Winmain function. Because cygwin is a command line tool, and all the … | |
Re: [quote=niek_e;273916]Now ~SOS~/Wolfpack is going to say some things to you about shaman's and stuff and close the thread :)[/quote] heh heh. You have been following us around haven't you. Usually I do not close such threads (I did before, but I had a change of heart), but rather advice the … | |
Re: Are you sure? I can compile your code even when the [inlinecode]#define NOT_WORKING[/inlinecode] is commented out or not. However I get an unreferenced g variable when it is commented out. | |
Re: How many maximum clients do you expect to handle at a given time? All depends on that. | |
Re: This [URL="http://www.daniweb.com/techtalkforums/thread44073.html"]thread[/URL] most probably discusses your problem. Go through it and see if it has the solution. | |
Re: For the benifit of the community could you refrain from digging up threads almost 2 years old ? Thanks in advance. If you have the same problem please create a new thread with your effort upto now. :) If you want you can post a link to this thread from … | |
Re: No. I am closing the thread. And it is not a matter for discussion, so do not try to get this thread opened. | |
Re: I beleive you wanted to update the static variable [inlinecode]shipPos1[/inlinecode] instead of the variable [inlinecode]shipPos[/inlinecode] which I don't see defined anywhere. | |
Re: Yes you are correct. The size of the dialog box depends on the size of the font. [quote="Charles Petzold, Programming Windows-5th Edition, page 489-490"] The dialog box that I designed has a template that looks like this: [code]ABOUTBOX DIALOG DISCARDABLE 32, 32, 180, 100 STYLE DS_MODALFRAME | WS_POPUP FONT 8, … | |
Re: There isn't a portable way of getting it. What operating system are you using? Edit: Oops. Forgot to read the heading. You are using windows. | |
Re: Hard to tell with your limited explaination. There are some things you can do to see if it is really exhausting memory. You can check the memory pointer to which memory allocated is assigned using malloc or new. use the condition the memory pointer is NULL for malloc or in … | |
Re: You will have to replace parts like [code=c]sideA = sqrt( (x2-x1)^2 + (y2-y1)^2 );[/code] to [code=c]sideA = sqrt( pow(x2-x1,2) + pow(y2-y1,2 ));[/code] In C++ [inlinecode]^[/inlinecode] does not denote power of. | |
Re: What about the answers [URL="http://cboard.cprogramming.com/showthread.php?t=84986"]here[/URL]? | |
Re: Aren't just the breakpoints enough? F9 to set the breakpoint. F10 to step line by line from a breakpoint. F11 to jump in to the next function. .... | |
Re: [URL="http://irc.essex.ac.uk/www.iota-six.co.uk/c/f3_passing_arrays_to_functions.asp"]This [/URL]should serve as a good example. As the arrays are passed by reference, the modifications you make inside the function will be shown even after exiting it. So you can enter the values inside the function and use the contents inside main. | |
Re: [quote=Ancient Dragon;271691]Never heard of it. Is is just a fancy Notepad with syntax coloring, or does it actually have options to use your favorite compiler (similar to what Dev-C++ does) ?[/quote] Used it a while back after seeing ~sos~ comment about it in a previous post. What impressed me was … | |
Re: [URL="http://www.possibility.com/Cpp/CppCodingStandard.html"]This[/URL] closely resembles what I follow for my coding style. Especially helpful are the [URL="http://www.possibility.com/Cpp/CppCodingStandard.html#formatting"]formatting[/URL] and [URL="http://www.possibility.com/Cpp/CppCodingStandard.html#names"]name[/URL]s parts. | |
Why can't I view [URL="http://www.daniweb.com/techtalkforums/post271201-10.html"]this[/URL] post? When I try to edit it, I can see the contents. But not in the page. | |
Re: This site existed from some time back. Some member (I don't remember who) had that site in his signature too. [quote=vishesh;265582]I feel pity for Microsoft :) .[/quote] I don't see why. Does firefox have to rely on users looking to [URL="http://www.microsoft.com/windows/ie/downloads/default.mspx"]download Internet Explorer 7[/URL] to propogate itself :)? ![]() | |
Re: [URL="http://malun1.mala.bc.ca:8080/%7Ewesselsd/csci161/notes/exptree/exptree.html"]read[/URL]. | |
Re: Well, the comparison also seems okay. Also if it is runtime errors, the problem is not with the syntax. Better post the 3 source files. | |
Re: Nothing like an online cricket game. [url]www.stickcricket.com[/url] | |
Re: [quote=Jonezy;270984] Plus im sure there are syntax errors in there as i cannot find much helpful info on vectors and i'm lost.. [/quote] See if you can see anything useful [URL="http://www.cppreference.com/cppvector/index.html"]here[/URL]. | |
Re: Voted and left a stinking comment. You explain to Lauren. :p | |
Re: If you have a new question please create a new thread. If your current thread has been solved please mark it as solved too. Why can't you try something first yourself? Aren't you ashamed to ask others to do your work for you? | |
Re: Looks like you will be better off using one of the functions given in [URL="http://www.cppreference.com/stddate/index.html"]this [/URL]page. All the info you need to use those functions are also given there. So nothing to worry about. | |
Re: multimap::find returns only the first match. So calling it twice will not make any difference. You will have to loop through the map and see if the key is equal to the value you are looking for. Something like this perhaps. [code=c] size_t no_of_items = coll.count(1); size_t matches_found =0 ; … ![]() | |
Re: What are the problems you are facing when sorting the array? | |
Re: [quote=happygeek;258628]I've been called many things, but cute is a new one :)[/quote] Yeah I did a double take when I saw that too. But then it dawned to me that maybe, just maybe, Inanna was describing herself in a word. (Hope I didn't spoil your moment of happiness:evil:) Edit: Oh … | |
Re: [quote=matrimforever;269627]What I am trying to do: Does the class object go in the header file or is it okay here? What do I put in the header file? [/quote] Well, you can put it here if you want. But the usual practice is to give it in the header file. … |
The End.