293 Posted Topics

Member Avatar for iamuser_2007
Member Avatar for tux4life

[QUOTE]You MAY use this code for anything you want but you aren't allowed to sell this source[/QUOTE] Hello, if anyone interested, I am selling the source code of a function that converts integer to a C++ string (just kidding :p)

Member Avatar for ztdep
0
1K
Member Avatar for abelLazm

[B]Previous number..... My posts.......New Number ..........320...........311 posts .....631 [/B]

Member Avatar for sergent
0
172
Member Avatar for Labdabeta

Yes it is possible. Just google TI 84/83/89 (whatever version you have) assembly tutorials. I once tried to do it but then I got bored

Member Avatar for sergent
0
111
Member Avatar for jonhylever

Thats what JavaScript is for [CODE] <html> <body> . . . <script type = "javascript"> . javascript goes here . </script> </body> </html> [/CODE]

Member Avatar for sergent
-1
65
Member Avatar for iamuser_2007
Member Avatar for Stefano Mtangoo
Member Avatar for Stefano Mtangoo
0
206
Member Avatar for heshan86
Member Avatar for sergent
0
80
Member Avatar for Swiftle

many things wrong here. When inheriting you don't write [CODE] class name2: public class name1[/CODE] but [CODE] class name2: public name1[/CODE] When you try to construct C, B is not an object but class itself! You should make an object of B and then construct C with object of B;

Member Avatar for Mouche
0
197
Member Avatar for iamthwee

I don't see whats wrong with good ol' C++. I think we got enough languages already

Member Avatar for MosaicFuneral
0
166
Member Avatar for tubby123
Member Avatar for jingda
Member Avatar for jingda
0
240
Member Avatar for BitBlt
Member Avatar for caut_baia

I got down voted like 8 times because I prefer DirectX over OpenGL. It was kinda funny. They told me to prove that DirectX is better then OpenGL and I spend about an hour writing why and 2 more people down voted me for that too :( Now I keep …

Member Avatar for caut_baia
1
171
Member Avatar for NickPatton
Member Avatar for NickPatton
0
275
Member Avatar for ocramferreira

Just read your words from the .txt file into an array of strings. Then next time you have to search through words just search through the array instead of .txt file. You can also organize them by alphabetical order like words[26][70] This will make 26 letters and 70 spaces for …

Member Avatar for iamthwee
0
572
Member Avatar for EarendurRingern

char LetterToMatch; is a character so it only fits 1 char, for example a,b,z,d,h. You need something bigger capacity (like a string). And then convert it to char (.c_str())

Member Avatar for raptr_dflo
0
1K
Member Avatar for henrimontreal

Next time put code in code tags. Also the teacher said that you don't need set() function. You first ask user for input like hight and width and then you make a new rectangle with hight and width. So it should look SOMETHING like this [CODE] cout << "enter hight: …

Member Avatar for raptr_dflo
0
260
Member Avatar for GamerXxX

Where is the code? How are we supposed to know whats the problem when there is no code. Also printf() sounds like C++ and you are making a GAME! This is a completely different forum SOFTWARE DEVELOPMENT --> C or SOFTWARE DEVELOPMENT --> GAME DEELOPMENT

Member Avatar for GamerXxX
0
140
Member Avatar for QuesoTaco

No, the only way is to be an admin. The user programs that your run, run with the same privilages as you have. Even if Visual Studio had that function you would need admin privilages to use it...

Member Avatar for template<>
0
607
Member Avatar for andylbh

out << "[" << setw(4) << p2d.x << "," << setw(4) << p2d.y << "]" << setw(3) << "" << p2d.distFrOrigin << endl; When you are overloading ofstream you made it to output distFrOrigin. You should have overloaded it like this: out << "[" << setw(4) << p2d.x << "," …

Member Avatar for andylbh
0
705
Member Avatar for annitaz

I can only help you with number 4. 4. How to do your homework? A. By yourself B. By yourself C. Both A and B D. Both A, B, C, and D The correct answer is D

Member Avatar for mrnutty
-1
164
Member Avatar for xXProgrammerXx
Member Avatar for firoz.raj
Member Avatar for sergent
0
80
Member Avatar for Woodrich

Hardware & Software -> Microsoft Windows -> Viruses And AVG is pretty crappy, I used it myself but it did not detect any viruses. I use Norton now and its a bit better

Member Avatar for jholland1964
0
212
Member Avatar for Nirmeen Ased
Member Avatar for johans22

[url]http://www.gamedev.net/topic/310462-c-decimal-rounding/[/url]

Member Avatar for Derek Elensar
0
113
Member Avatar for WASDted
Member Avatar for Tellalca

He did not ask to do the assigment! [QUOTE]Which libraries and functions do I need to achieve this functionalities?[/QUOTE] And sorry, I do not know much about Linux.

Member Avatar for sergent
0
219
Member Avatar for qazerty23
Member Avatar for triple_A

There can be only one main() function in your whole program. It is the function that is called when your program starts executing. If there is more then one main functions delete it.

Member Avatar for sergent
0
106
Member Avatar for sergent

I made a simple assembly program about a year ago and I lost the source, but I still have the .exe file. I wanted to see the assembly code, so I disassembled the program with ollydbg and there was MUCH MORE code. There was about 3000-4000 lines of code, but …

Member Avatar for GunnerInc
0
184
Member Avatar for jowana

You can also use system("PAUSE") but I think it is only for windows. Anyway Narue's way is good too, and "terminal" sounds like linux and I don't think system("PAUSE"); works there.

Member Avatar for sergent
-1
213
Member Avatar for sergent

Is homework allowed on daniweb? I understand when people actually try to do the homework but they are stuck somewhere but I really HATE people who ask to write the code for them and when they did not show any effort.

Member Avatar for sergent
0
84
Member Avatar for jordan0420

[QUOTE]Creating and removing forums is not as easy as that, I'm afraid. It takes a huge toll on our SEO and has some other negatives in getting off the ground, and is really bad in many aspects to remove once live (lots of other websites start linking to the forum …

Member Avatar for sergent
0
495
Member Avatar for Gibran

Something like this happened to me before. If it did not build successfully it will run last successful build i.e. you may have completely change the source code but you get errors so the old program is going to run. Another reason for this may be if you have more …

Member Avatar for sergent
0
172
Member Avatar for soma dawoud

Do your own homework. If you tried to do this and got stuck, we will help you but you will have to do the work yourself!

Member Avatar for sergent
-1
203
Member Avatar for newsguy

[QUOTE]I don't even know what He-Man is. Who doesn't love Star Wars? It's an epic American pasttime. Who doesn't love it, deep down? If you say "Use the Force, Luke" everybody around you is going to know what you're talking about. South Park kind of sucks. [/QUOTE] I LOVE south …

Member Avatar for JackRT
2
594
Member Avatar for Demetrius123

[QUOTE]Quote ... [QUOTE]Now I don't miss them at all, and have saved over $65,500 figuring today's prices ($6.00 per pack), or enough to buy me two new cars or a new house.[/QUOTE] Where are you living that a house goes for $65K? There's a two-bedroom condo down the street from …

Member Avatar for sneekula
-4
192
Member Avatar for jingda
Member Avatar for harques
0
221
Member Avatar for jch02140

I think HTML 5 is awesome and we needed a new version of HTML for a LONG time (stable version of HTML 4 was released more then 10 years ago!!). So I think it is great way to move forward, but there is some cons too. I don't think there …

Member Avatar for sergent
1
195
Member Avatar for jingda
Member Avatar for GuyClapperton
Member Avatar for Pendukeni

What do you mean football? Like American Football or "soccer" (in Europe it is called football too.) BTW I don't follow sports.

Member Avatar for jingda
0
163
Member Avatar for mi2010

So did you try anything and got stuck or you just want us to write you all the code?

Member Avatar for jackmaverick1
0
110
Member Avatar for jingda

[QUOTE]and hmmmmm... Pussy Cat Dolls hehe[/QUOTE] Love them too ;) But my favorite female singer is Michael Jackson

Member Avatar for Ene Uran
0
137
Member Avatar for penguino138

[QUOTE]First, is there even a way to do it in c++?[/QUOTE] There should be a logical way to do it, but I don't think C++ provides this functions. Maybe some outside library? [QUOTE]If i absolutely have to use an outside program/language then i will. And what are some examples of …

Member Avatar for Derek Elensar
0
916
Member Avatar for fat0ali0ma

Yes, do not post your homework here. Also all the algorithm stuff goes to [URL="http://www.daniweb.com/software-development/computer-science/14"]Computer Science[/URL] forum. We will help you if you get stuck in your homework or need some help. You have to try yourself first.

Member Avatar for mrnutty
-2
109
Member Avatar for vikrantk

You want to install for compiler MinGW and Code::Blocks are the best IDE. Dev C++ is old. Also you can try Microsoft Visual C++ Express (it is free) or whole Visual Studio ($$$$) but I personally like Code::Blocks much better and you can compile most Windows programs in there.

Member Avatar for Derek Elensar
-2
288
Member Avatar for WolfShield

It depends who the money goes to. If I had a dollar I would probably pay but if I didn't... I love cookies.

Member Avatar for WolfShield
0
182

The End.