868 Posted Topics

Member Avatar for ~s.o.s~

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 …

Member Avatar for Dani
0
285
Member Avatar for Ancient Dragon

[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. …

Member Avatar for ~s.o.s~
0
432
Member Avatar for GreenDay2001
Member Avatar for jbennet
0
135
Member Avatar for TylerSBreton

Why are you using the strcpy function? These are C++ strings. Use the = operator. [code]thisRecord.[COLOR=#202020]fieldName[/COLOR] =next[/code]

Member Avatar for TylerSBreton
0
5K
Member Avatar for mattyd
Member Avatar for siddhiinfomedia

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.

Member Avatar for Ancient Dragon
0
115
Member Avatar for earlyriser

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 …

Member Avatar for earlyriser
0
202
Member Avatar for JRM

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.

Member Avatar for ~s.o.s~
0
95
Member Avatar for tirumal

You play the double game when you do not, "say what you do, and do what you say".

Member Avatar for happygeek
0
41
Member Avatar for atrusmre
Member Avatar for Ancient Dragon
0
1K
Member Avatar for Troy
Member Avatar for WaltP
0
541
Member Avatar for Chaky

[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:

Member Avatar for iamthwee
1
482
Member Avatar for GreenDay2001

Looks like your project doesn't have a main function in any of the source files.

Member Avatar for Ancient Dragon
0
94
Member Avatar for GreenDay2001
Member Avatar for DMR
Re: P7k

[quote=DMR;273530]Eek- it's post #7,000! My, how the time flies........ :mrgreen:[/quote] Apparently horn blowing is infectious. :cheesy:

Member Avatar for Xpenetrator
0
113
Member Avatar for snedan

[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.

Member Avatar for WolfPack
0
104
Member Avatar for paradox0987
Member Avatar for confused!

[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 …

Member Avatar for Salem
0
98
Member Avatar for balgarath

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.

Member Avatar for Salem
0
156
Member Avatar for JRM

[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 …

Member Avatar for Salem
0
76
Member Avatar for mozira

[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 …

Member Avatar for Salem
0
172
Member Avatar for pedz

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.

Member Avatar for pedz
0
108
Member Avatar for l2u

How many maximum clients do you expect to handle at a given time? All depends on that.

Member Avatar for WolfPack
0
76
Member Avatar for mattyd

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.

Member Avatar for JoBe
0
92
Member Avatar for cblue

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 …

Member Avatar for WolfPack
0
795
Member Avatar for chunkmartinez

No. I am closing the thread. And it is not a matter for discussion, so do not try to get this thread opened.

Member Avatar for Ancient Dragon
-1
70
Member Avatar for mattyd

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.

Member Avatar for mattyd
0
148
Member Avatar for webspy

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, …

Member Avatar for Ancient Dragon
0
322
Member Avatar for edek

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.

Member Avatar for Ancient Dragon
0
86
Member Avatar for Harshita_garg

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 …

Member Avatar for andor
0
120
Member Avatar for smallpau1

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.

Member Avatar for smallpau1
0
227
Member Avatar for bhagwat_maimt

What about the answers [URL="http://cboard.cprogramming.com/showthread.php?t=84986"]here[/URL]?

Member Avatar for WolfPack
0
124
Member Avatar for JoBe

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. ....

Member Avatar for Ancient Dragon
0
282
Member Avatar for tehloki

[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.

Member Avatar for tehloki
0
219
Member Avatar for JRM

[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 …

Member Avatar for nanodano
0
148
Member Avatar for mattyd

[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.

Member Avatar for vegaseat
0
323
Member Avatar for Rashakil Fol
Member Avatar for WolfPack

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.

Member Avatar for Dani
0
165
Member Avatar for happygeek

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 :)?

Member Avatar for iamthwee
0
328
Member Avatar for shoegoe
Member Avatar for ~s.o.s~
0
123
Member Avatar for FireSBurnsmuP

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.

Member Avatar for FireSBurnsmuP
0
160
Member Avatar for Cyclops
Member Avatar for BeastOverlordH6
0
637
Member Avatar for Jonezy

[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].

Member Avatar for Jonezy
0
102
Member Avatar for 'Stein
Member Avatar for WolfPack
1
84
Member Avatar for JS1988

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?

Member Avatar for John A
0
127
Member Avatar for mattyd

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.

Member Avatar for WolfPack
0
115
Member Avatar for pengwn

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 ; …

Member Avatar for iamthwee
0
671
Member Avatar for term
Member Avatar for ~s.o.s~
0
89
Member Avatar for Scottg1989

[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 …

Member Avatar for EnderX
2
122
Member Avatar for matrimforever

[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. …

Member Avatar for may4life
0
254

The End.