293 Posted Topics
| |
Re: [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) | |
Re: [B]Previous number..... My posts.......New Number ..........320...........311 posts .....631 [/B] | |
Re: 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 | |
Re: Thats what JavaScript is for [CODE] <html> <body> . . . <script type = "javascript"> . javascript goes here . </script> </body> </html> [/CODE] | |
Re: Game programming. Software Development --> Game Development. | |
Re: It is possible (a lot of old browsers were written in TC) but Turbo C++ is old and no one uses it anymore. | |
Re: 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; ![]() | |
![]() | Re: I don't see whats wrong with good ol' C++. I think we got enough languages already |
| |
| |
Re: Googles -> Giggles (I think I suck at this game :p) | |
Re: 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 … | |
Re: I am not sure about this but where did you assign a value to server_address? | |
Re: 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 … ![]() | |
Re: 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()) | |
Re: 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: … | |
Re: 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 | |
Re: 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... | |
![]() | Re: 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 << "," … ![]() |
Re: 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 | |
Re: Control Panel\Programs\Programs and Features Just type programs and features in the search bar | |
Re: 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 | |
Re: Good luck with your homework :) | |
Re: [url]http://www.gamedev.net/topic/310462-c-decimal-rounding/[/url] | |
Re: Why does Osama and Obama sound so alike? | |
Re: 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. | |
Re: 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. | |
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 … | |
Re: 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. | |
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. | |
Re: [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 … | |
Re: 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 … | |
Re: 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! | |
Re: [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 … | |
Re: [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 … | |
Re: My whole school went on the field trip to disney. I didn't go lol :) | |
Re: 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 … | |
Re: What do you mean football? Like American Football or "soccer" (in Europe it is called football too.) BTW I don't follow sports. | |
Re: So did you try anything and got stuck or you just want us to write you all the code? | |
Re: [QUOTE]and hmmmmm... Pussy Cat Dolls hehe[/QUOTE] Love them too ;) But my favorite female singer is Michael Jackson | |
Re: [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 … | |
Re: 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. | |
Re: 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. | |
Re: It depends who the money goes to. If I had a dollar I would probably pay but if I didn't... I love cookies. |
The End.